Searched refs:PCI_BAR_2 (Results 1 – 2 of 2) sorted by relevance
76 #define PCI_BAR_2 2 macro972 ret = pcim_iomap_regions(pdev, 1 << PCI_BAR_2, pci_name(pdev)); in hisi_dma_probe()988 hdma_dev->base = pcim_iomap_table(pdev)[PCI_BAR_2]; in hisi_dma_probe()
197 #define PCI_BAR_2 2 macro5225 qm->phys_base = pci_resource_start(pdev, PCI_BAR_2); in qm_get_pci_res()5226 qm->io_base = ioremap(qm->phys_base, pci_resource_len(pdev, PCI_BAR_2)); in qm_get_pci_res()