Searched refs:PCI_DN (Results 1 – 15 of 15) sorted by relevance
167 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) macro174 if (!PCI_DN(np)) in pci_device_from_OF_node()176 *bus = PCI_DN(np)->busno; in pci_device_from_OF_node()177 *devfn = PCI_DN(np)->devfn; in pci_device_from_OF_node()189 if (!dn || !PCI_DN(dn)) in of_node_to_eeh_dev()192 return PCI_DN(dn)->edev; in of_node_to_eeh_dev()
559 pci = PCI_DN(dn); in pci_dma_bus_setup_pSeries()644 ppci = PCI_DN(pdn); in pci_dma_bus_setup_pSeriesLP()673 struct pci_controller *phb = PCI_DN(dn)->phb; in pci_dma_dev_setup_pSeries()679 PCI_DN(dn)->iommu_table = iommu_init_table(tbl, phb->node); in pci_dma_dev_setup_pSeries()680 set_iommu_table_base(&dev->dev, PCI_DN(dn)->iommu_table); in pci_dma_dev_setup_pSeries()688 while (dn && PCI_DN(dn) && PCI_DN(dn)->iommu_table == NULL) in pci_dma_dev_setup_pSeries()691 if (dn && PCI_DN(dn)) in pci_dma_dev_setup_pSeries()692 set_iommu_table_base(&dev->dev, PCI_DN(dn)->iommu_table); in pci_dma_dev_setup_pSeries()1044 for (pdn = dn; pdn && PCI_DN(pdn) && !PCI_DN(pdn)->iommu_table; in pci_dma_dev_setup_pSeriesLP()1051 if (!pdn || !PCI_DN(pdn)) { in pci_dma_dev_setup_pSeriesLP()[all …]
65 PCI_DN(dn)->edev = edev; in eeh_dev_init()
518 pdn = PCI_DN(dn); in pseries_eeh_read_config()536 pdn = PCI_DN(dn); in pseries_eeh_write_config()
119 slotno = PCI_SLOT(PCI_DN(dn->child)->devfn); in pcibios_add_pci_devices()
102 print_device_node_tree(PCI_DN(pc), dent);
39 pdn = PCI_DN(dn); in get_pdn()
145 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus()187 phb = PCI_DN(dn)->phb; in dlpar_add_pci_slot()243 if (PCI_DN(dn) && PCI_DN(dn)->phb) { in dlpar_add_phb()
134 slotno = PCI_SLOT(PCI_DN(slot->dn->child)->devfn); in rpaphp_register_slot()
100 struct pci_dn *pdn = PCI_DN(dn); in rtas_pci_read_config()144 struct pci_dn *pdn = PCI_DN(dn); in rtas_pci_write_config()
247 hose = PCI_DN(hose_node)->phb; in sys_pciconfig_iobase()
326 if (PCI_DN(dn) && PCI_DN(dn)->devfn == devfn) in u3_ht_skip_device()1056 PCI_DN(np)->busno = 0xf0; in pmac_pci_init()1058 PCI_DN(np)->busno = 0xf0; in pmac_pci_init()
617 PCI_DN(np)->busno = 0xf0; in maple_pci_init()619 PCI_DN(np)->busno = 0xf0; in maple_pci_init()
503 pdn = PCI_DN(np); in pnv_pci_dma_fallback_setup()
355 return PCI_DN(np); in pnv_ioda_get_pdn()