Lines Matching refs:bars
50 struct ionic_dev_bar *bars; in ionic_map_bars() local
53 bars = ionic->bars; in ionic_map_bars()
59 bars[j].len = pci_resource_len(pdev, i); in ionic_map_bars()
63 bars[j].vaddr = NULL; in ionic_map_bars()
65 bars[j].vaddr = pci_iomap(pdev, i, bars[j].len); in ionic_map_bars()
66 if (!bars[j].vaddr) { in ionic_map_bars()
74 bars[j].bus_addr = pci_resource_start(pdev, i); in ionic_map_bars()
75 bars[j].res_index = i; in ionic_map_bars()
85 struct ionic_dev_bar *bars = ionic->bars; in ionic_unmap_bars() local
89 if (bars[i].vaddr) { in ionic_unmap_bars()
90 iounmap(bars[i].vaddr); in ionic_unmap_bars()
91 bars[i].bus_addr = 0; in ionic_unmap_bars()
92 bars[i].vaddr = NULL; in ionic_unmap_bars()
93 bars[i].len = 0; in ionic_unmap_bars()
101 ionic->bars[IONIC_PCI_BAR_DBELL].res_index, in ionic_bus_map_dbpage()