Home
last modified time | relevance | path

Searched refs:baridx (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/
Docteon_main.h93 static inline void octeon_unmap_pci_barx(struct octeon_device *oct, int baridx) in octeon_unmap_pci_barx() argument
96 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() argument
116 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 …]
/Linux-v5.10/drivers/ide/
Dsetup-pci.c91 u8 baridx = (d->host_flags & IDE_HFLAG_CS5520) ? 2 : 4; in ide_pci_dma_base() local
93 dma_base = pci_resource_start(dev, baridx); in ide_pci_dma_base()