Searched refs:PCI_DN (Results 1 – 17 of 17) sorted by relevance
597 pci = PCI_DN(dn); in pci_dma_bus_setup_pSeries()718 ppci = PCI_DN(pdn); in pci_dma_bus_setup_pSeriesLP()751 struct pci_controller *phb = PCI_DN(dn)->phb; in pci_dma_dev_setup_pSeries()754 PCI_DN(dn)->table_group = iommu_pseries_alloc_group(phb->node); in pci_dma_dev_setup_pSeries()755 tbl = PCI_DN(dn)->table_group->tables[0]; in pci_dma_dev_setup_pSeries()759 iommu_register_group(PCI_DN(dn)->table_group, in pci_dma_dev_setup_pSeries()770 while (dn && PCI_DN(dn) && PCI_DN(dn)->table_group == NULL) in pci_dma_dev_setup_pSeries()773 if (dn && PCI_DN(dn)) { in pci_dma_dev_setup_pSeries()775 PCI_DN(dn)->table_group->tables[0]); in pci_dma_dev_setup_pSeries()912 pdn = PCI_DN(dn); in query_ddw()[all …]
56 eeh_add_device_tree_early(PCI_DN(dn)); in init_phb_dynamic()
225 pdn = parent ? PCI_DN(parent) : NULL; in pci_dn_reconfig_notifier()232 pdn = PCI_DN(np); in pci_dn_reconfig_notifier()
204 edev = pdn_to_eeh_dev(PCI_DN(dn)); in find_pe_dn()
44 struct pci_dn *pdn = PCI_DN(dn); in pci_find_bus_by_node()112 eeh_add_device_tree_early(PCI_DN(dn)); in pci_hp_add_devices()124 dn->child && PCI_DN(dn->child)) { in pci_hp_add_devices()132 slotno = PCI_SLOT(PCI_DN(dn->child)->devfn); in pci_hp_add_devices()
66 pdn = dn ? PCI_DN(dn) : NULL; in pci_bus_to_pdn()90 pdn = dn ? PCI_DN(dn) : NULL; in pci_get_pdn_by_devfn()119 pdn = dn ? PCI_DN(dn) : NULL; in pci_get_pdn()327 pdn->parent = parent ? PCI_DN(parent) : NULL; in pci_add_device_node_info()337 struct pci_dn *pdn = dn ? PCI_DN(dn) : NULL; in pci_remove_device_node_info()
75 eeh_add_device_tree_early(PCI_DN(dev->dev.of_node)); in of_pci_phb_probe()
242 hose = PCI_DN(hose_node)->phb; in SYSCALL_DEFINE3()
307 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev()
222 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) macro236 if (!PCI_DN(np)) in pci_device_from_OF_node()238 *bus = PCI_DN(np)->busno; in pci_device_from_OF_node()239 *devfn = PCI_DN(np)->devfn; in pci_device_from_OF_node()
137 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus()178 phb = PCI_DN(dn)->phb; in dlpar_add_pci_slot()234 if (PCI_DN(dn) && PCI_DN(dn)->phb) { in dlpar_add_phb()
115 slotno = PCI_SLOT(PCI_DN(child)->devfn); in rpaphp_register_slot()
584 if (dn->child && PCI_DN(dn->child)) in pnv_php_alloc_slot()585 php_slot->slot_no = PCI_SLOT(PCI_DN(dn->child)->devfn); in pnv_php_alloc_slot()630 if (!PCI_DN(dn)) { in pnv_php_register_slot()
250 if (PCI_DN(dn) && PCI_DN(dn)->devfn == devfn) in u3_ht_skip_device()896 PCI_DN(np)->busno = 0xf0; in pmac_pci_root_bridge_prepare()898 PCI_DN(child)->busno = 0xf0; in pmac_pci_root_bridge_prepare()
585 PCI_DN(np)->busno = 0xf0; in maple_pci_root_bridge_prepare()587 PCI_DN(child)->busno = 0xf0; in maple_pci_root_bridge_prepare()
58 struct pci_dn *pdn = PCI_DN(dn); in get_pci_dev()
57 if (!PCI_DN(parent)) { in pnv_pci_get_slot_id()