Searched refs:baridx (Results 1 – 1 of 1) sorted by relevance
93 static inline void octeon_unmap_pci_barx(struct octeon_device *oct, int baridx) in octeon_unmap_pci_barx() argument96 baridx); in octeon_unmap_pci_barx()98 if (oct->mmio[baridx].done) in octeon_unmap_pci_barx()99 iounmap(oct->mmio[baridx].hw_addr); in octeon_unmap_pci_barx()101 if (oct->mmio[baridx].start) in octeon_unmap_pci_barx()102 pci_release_region(oct->pci_dev, baridx * 2); in octeon_unmap_pci_barx()112 int baridx, int max_map_len) in octeon_map_pci_barx() argument116 if (pci_request_region(oct->pci_dev, baridx * 2, DRV_NAME)) { in octeon_map_pci_barx()118 baridx); in octeon_map_pci_barx()122 oct->mmio[baridx].start = pci_resource_start(oct->pci_dev, baridx * 2); in octeon_map_pci_barx()[all …]