Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/platforms/pseries/
Deeh.c249 pdn = PCI_DN(dn); in gather_pci_data()
368 while ((dn->parent) && PCI_DN(dn->parent) && in find_device_pe()
369 (PCI_DN(dn->parent)->eeh_mode & EEH_MODE_SUPPORTED)) { in find_device_pe()
388 if (PCI_DN(dn)) { in __eeh_mark_slot()
390 struct pci_dev *dev = PCI_DN(dn)->pcidev; in __eeh_mark_slot()
392 PCI_DN(dn)->eeh_mode |= mode_flag; in __eeh_mark_slot()
408 if (!pcibios_find_pci_bus(dn) && PCI_DN(dn->parent)) in eeh_mark_slot()
411 PCI_DN(dn)->eeh_mode |= mode_flag; in eeh_mark_slot()
414 dev = PCI_DN(dn)->pcidev; in eeh_mark_slot()
426 if (PCI_DN(dn)) { in __eeh_clear_slot()
[all …]
Diommu.c507 pci = PCI_DN(dn); in pci_dma_bus_setup_pSeries()
592 ppci = PCI_DN(pdn); in pci_dma_bus_setup_pSeriesLP()
621 struct pci_controller *phb = PCI_DN(dn)->phb; in pci_dma_dev_setup_pSeries()
627 PCI_DN(dn)->iommu_table = iommu_init_table(tbl, phb->node); in pci_dma_dev_setup_pSeries()
628 set_iommu_table_base(&dev->dev, PCI_DN(dn)->iommu_table); in pci_dma_dev_setup_pSeries()
636 while (dn && PCI_DN(dn) && PCI_DN(dn)->iommu_table == NULL) in pci_dma_dev_setup_pSeries()
639 if (dn && PCI_DN(dn)) in pci_dma_dev_setup_pSeries()
640 set_iommu_table_base(&dev->dev, PCI_DN(dn)->iommu_table); in pci_dma_dev_setup_pSeries()
705 pcidn = PCI_DN(dn); in dupe_ddw_if_already_created()
730 pcidn = PCI_DN(dn); in dupe_ddw_if_kexec()
[all …]
Deeh_driver.c60 print_device_node_tree(PCI_DN(pc), dent);
83 PCI_DN(dn)->eeh_mode |= EEH_MODE_IRQ_DISABLED; in eeh_disable_irq()
94 if ((PCI_DN(dn)->eeh_mode) & EEH_MODE_IRQ_DISABLED) { in eeh_enable_irq()
95 PCI_DN(dn)->eeh_mode &= ~EEH_MODE_IRQ_DISABLED; in eeh_enable_irq()
291 if (!pcibios_find_pci_bus(dn) && PCI_DN(dn->parent)) in eeh_reset_device()
295 struct pci_dn *ppe = PCI_DN(dn); in eeh_reset_device()
364 frozen_pdn = PCI_DN(frozen_dn); in handle_eeh_events()
Deeh_sysfs.c46 if (!dn || PCI_DN(dn) == NULL) \
49 pdn = PCI_DN(dn); \
Deeh_cache.c191 pdn = PCI_DN(dn); in __pci_addr_cache_insert_device()
298 PCI_DN(dn)->pcidev = dev; in pci_addr_cache_build()
Dpci_dlpar.c118 slotno = PCI_SLOT(PCI_DN(dn->child)->devfn); in pcibios_add_pci_devices()
Dmsi.c39 pdn = PCI_DN(dn); in get_pdn()
/linux-2.6.39/arch/powerpc/include/asm/
Dpci-bridge.h224 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) macro
240 if (!PCI_DN(np)) in pci_device_from_OF_node()
242 *bus = PCI_DN(np)->busno; in pci_device_from_OF_node()
243 *devfn = PCI_DN(np)->devfn; in pci_device_from_OF_node()
/linux-2.6.39/drivers/pci/hotplug/
Drpadlpar_core.c144 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus()
186 phb = PCI_DN(dn)->phb; in dlpar_add_pci_slot()
242 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-2.6.39/arch/powerpc/platforms/iseries/
Diommu.c159 struct pci_dn *pdn = PCI_DN(node); in iommu_table_find()
182 struct pci_dn *pdn = PCI_DN(dn); in pci_dma_dev_setup_iseries()
Dpci.c86 struct pci_dn *pdn = PCI_DN(node); in iseries_ds_addr()
395 struct pci_dn *pdn = PCI_DN(node); in find_device_node()
554 struct pci_dn *pdn = PCI_DN(dn); in check_return_code()
/linux-2.6.39/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.c249 hose = PCI_DN(hose_node)->phb; in sys_pciconfig_iobase()
/linux-2.6.39/arch/powerpc/platforms/maple/
Dpci.c562 PCI_DN(np)->busno = 0xf0; in maple_pci_init()
564 PCI_DN(np)->busno = 0xf0; in maple_pci_init()
/linux-2.6.39/arch/powerpc/platforms/powermac/
Dpci.c325 if (PCI_DN(dn) && PCI_DN(dn)->devfn == devfn) in u3_ht_skip_device()
1042 PCI_DN(np)->busno = 0xf0; in pmac_pci_init()
1044 PCI_DN(np)->busno = 0xf0; in pmac_pci_init()