File tree Expand file tree Collapse file tree 3 files changed +0
-26
lines changed
Documentation/driver-api/driver-model Expand file tree Collapse file tree 3 files changed +0
-26
lines changed Original file line number Diff line number Diff line change 396
396
pcim_iomap_regions() : do request_region() and iomap() on multiple BARs
397
397
pcim_iomap_table() : array of mapped addresses indexed by BAR
398
398
pcim_iounmap() : do iounmap() on a single BAR
399
- pcim_iounmap_regions() : do iounmap() and release_region() on multiple BARs
400
399
pcim_pin_device() : keep PCI device enabled after release
401
400
pcim_set_mwi() : enable Memory-Write-Invalidate PCI transaction
402
401
Original file line number Diff line number Diff line change @@ -955,30 +955,6 @@ int pcim_request_all_regions(struct pci_dev *pdev, const char *name)
955
955
}
956
956
EXPORT_SYMBOL (pcim_request_all_regions );
957
957
958
- /**
959
- * pcim_iounmap_regions - Unmap and release PCI BARs (DEPRECATED)
960
- * @pdev: PCI device to map IO resources for
961
- * @mask: Mask of BARs to unmap and release
962
- *
963
- * Unmap and release regions specified by @mask.
964
- *
965
- * This function is DEPRECATED. Do not use it in new code.
966
- * Use pcim_iounmap_region() instead.
967
- */
968
- void pcim_iounmap_regions (struct pci_dev * pdev , int mask )
969
- {
970
- int i ;
971
-
972
- for (i = 0 ; i < PCI_STD_NUM_BARS ; i ++ ) {
973
- if (!mask_contains_bar (mask , i ))
974
- continue ;
975
-
976
- pcim_iounmap_region (pdev , i );
977
- pcim_remove_bar_from_legacy_table (pdev , i );
978
- }
979
- }
980
- EXPORT_SYMBOL (pcim_iounmap_regions );
981
-
982
958
/**
983
959
* pcim_iomap_range - Create a ranged __iomap mapping within a PCI BAR
984
960
* @pdev: PCI device to map IO resources for
Original file line number Diff line number Diff line change @@ -2322,7 +2322,6 @@ void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr);
2322
2322
void __iomem * const * pcim_iomap_table (struct pci_dev * pdev );
2323
2323
int pcim_request_region (struct pci_dev * pdev , int bar , const char * name );
2324
2324
int pcim_iomap_regions (struct pci_dev * pdev , int mask , const char * name );
2325
- void pcim_iounmap_regions (struct pci_dev * pdev , int mask );
2326
2325
void __iomem * pcim_iomap_range (struct pci_dev * pdev , int bar ,
2327
2326
unsigned long offset , unsigned long len );
2328
2327
You can’t perform that action at this time.
0 commit comments