Home
last modified time | relevance | path

Searched refs:PCI_DN (Results 1 – 15 of 15) sorted by relevance

/linux-3.4.99/arch/powerpc/include/asm/
Dpci-bridge.h167 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) macro
174 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()
/linux-3.4.99/arch/powerpc/platforms/pseries/
Diommu.c559 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 …]
Deeh_dev.c65 PCI_DN(dn)->edev = edev; in eeh_dev_init()
Deeh_pseries.c518 pdn = PCI_DN(dn); in pseries_eeh_read_config()
536 pdn = PCI_DN(dn); in pseries_eeh_write_config()
Dpci_dlpar.c119 slotno = PCI_SLOT(PCI_DN(dn->child)->devfn); in pcibios_add_pci_devices()
Deeh_driver.c102 print_device_node_tree(PCI_DN(pc), dent);
Dmsi.c39 pdn = PCI_DN(dn); in get_pdn()
/linux-3.4.99/drivers/pci/hotplug/
Drpadlpar_core.c145 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()
Drpaphp_slot.c134 slotno = PCI_SLOT(PCI_DN(slot->dn->child)->devfn); in rpaphp_register_slot()
/linux-3.4.99/arch/powerpc/kernel/
Drtas_pci.c100 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()
Dpci_64.c247 hose = PCI_DN(hose_node)->phb; in sys_pciconfig_iobase()
/linux-3.4.99/arch/powerpc/platforms/powermac/
Dpci.c326 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()
/linux-3.4.99/arch/powerpc/platforms/maple/
Dpci.c617 PCI_DN(np)->busno = 0xf0; in maple_pci_init()
619 PCI_DN(np)->busno = 0xf0; in maple_pci_init()
/linux-3.4.99/arch/powerpc/platforms/powernv/
Dpci.c503 pdn = PCI_DN(np); in pnv_pci_dma_fallback_setup()
Dpci-ioda.c355 return PCI_DN(np); in pnv_ioda_get_pdn()