Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H A Dpci-hotplug.c41 struct pci_dn *pdn = PCI_DN(dn); in pci_find_bus_by_node()
106 slotno = PCI_SLOT(PCI_DN(start->child)->devfn); in traverse_siblings_and_scan_slot()
119 slotno = PCI_SLOT(PCI_DN(dn)->devfn); in traverse_siblings_and_scan_slot()
154 dn->child && PCI_DN(dn->child)) { in pci_hp_add_devices()
H A Dpci_64.c262 hose = PCI_DN(hose_node)->phb; in SYSCALL_DEFINE3()
292 if (!PCI_DN(np)) in pci_device_from_OF_node()
294 *bus = PCI_DN(np)->busno; in pci_device_from_OF_node()
295 *devfn = PCI_DN(np)->devfn; in pci_device_from_OF_node()
H A Dpci_dn.c53 pdn = dn ? PCI_DN(dn) : NULL; in pci_bus_to_pdn()
77 pdn = dn ? PCI_DN(dn) : NULL; in pci_get_pdn_by_devfn()
106 pdn = dn ? PCI_DN(dn) : NULL; in pci_get_pdn()
332 pdn->parent = parent ? PCI_DN(parent) : NULL; in pci_add_device_node_info()
343 struct pci_dn *pdn = dn ? PCI_DN(dn) : NULL; in pci_remove_device_node_info()
H A Dpci_of_scan.c355 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev()
/linux/arch/powerpc/platforms/pseries/
H A Diommu.c640 pci = PCI_DN(dn); in pci_dma_bus_setup_pSeries()
756 for (; dn && PCI_DN(dn); dn = dn->parent) { in pci_dma_find_parent_node()
757 rpdn = PCI_DN(dn); in pci_dma_find_parent_node()
779 for ( ; dn && PCI_DN(dn); dn = dn->parent) { in pci_dma_find()
867 ppci = PCI_DN(pdn); in pci_dma_bus_setup_pSeriesLP()
907 struct pci_controller *phb = PCI_DN(dn)->phb; in pci_dma_dev_setup_pSeries()
910 PCI_DN(dn)->table_group = iommu_pseries_alloc_group(phb->node); in pci_dma_dev_setup_pSeries()
911 tbl = PCI_DN(dn)->table_group->tables[0]; in pci_dma_dev_setup_pSeries()
925 while (dn && PCI_DN(dn) && PCI_DN(dn)->table_group == NULL) in pci_dma_dev_setup_pSeries()
928 if (dn && PCI_DN(dn)) in pci_dma_dev_setup_pSeries()
[all …]
H A Dpci_dlpar.c58 pseries_eeh_init_edev_recursive(PCI_DN(dn)); in init_phb_dynamic()
H A Deeh_pseries.c900 if (list_empty(&PCI_DN(phb->dn)->child_list)) in eeh_pseries_init()
903 pdn = list_first_entry(&PCI_DN(phb->dn)->child_list, struct pci_dn, list); in eeh_pseries_init()
H A Dsetup.c290 pdn = parent ? PCI_DN(parent) : NULL; in pci_dn_reconfig_notifier()
297 pdn = PCI_DN(np); in pci_dn_reconfig_notifier()
H A Dmsi.c193 edev = pdn_to_eeh_dev(PCI_DN(dn)); in find_pe_dn()
/linux/drivers/pci/hotplug/
H A Drpaphp_pci.c78 struct pci_controller *phb = PCI_DN(slot->dn)->phb; in __rpaphp_get_sensor_state()
87 pdn = list_first_entry_or_null(&PCI_DN(phb->dn)->child_list, in __rpaphp_get_sensor_state()
179 pseries_eeh_init_edev_recursive(PCI_DN(slot->dn)); in rpaphp_enable_slot()
H A Drpadlpar_core.c140 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus()
181 phb = PCI_DN(dn)->phb; in dlpar_add_pci_slot()
237 if (PCI_DN(dn) && PCI_DN(dn)->phb) { in dlpar_add_phb()
H A Drpaphp_slot.c103 slotno = PCI_SLOT(PCI_DN(child)->devfn); in rpaphp_register_slot()
H A Dpnv_php.c650 if (dn->child && PCI_DN(dn->child)) in pnv_php_alloc_slot()
651 php_slot->slot_no = PCI_SLOT(PCI_DN(dn->child)->devfn); in pnv_php_alloc_slot()
694 if (!PCI_DN(dn)) { in pnv_php_register_slot()
H A Drpaphp_core.c498 pseries_eeh_init_edev_recursive(PCI_DN(slot->dn)); in enable_slot()
/linux/arch/powerpc/platforms/powermac/
H A Dpci.c247 if (PCI_DN(dn) && PCI_DN(dn)->devfn == devfn) in u3_ht_skip_device()
895 PCI_DN(np)->busno = 0xf0; in pmac_pci_root_bridge_prepare()
897 PCI_DN(child)->busno = 0xf0; in pmac_pci_root_bridge_prepare()
/linux/arch/powerpc/platforms/maple/
H A Dpci.c584 PCI_DN(np)->busno = 0xf0; in maple_pci_root_bridge_prepare()
586 PCI_DN(child)->busno = 0xf0; in maple_pci_root_bridge_prepare()
/linux/arch/powerpc/include/asm/
H A Dpci-bridge.h237 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) macro
/linux/arch/powerpc/platforms/powernv/
H A Dpci.c51 if (!PCI_DN(node)) { in pnv_pci_get_slot_id()