Searched refs:PCI_DN (Results 1 – 19 of 19) sorted by relevance
591 pci = PCI_DN(dn); in pci_dma_bus_setup_pSeries()712 ppci = PCI_DN(pdn); in pci_dma_bus_setup_pSeriesLP()745 struct pci_controller *phb = PCI_DN(dn)->phb; in pci_dma_dev_setup_pSeries()748 PCI_DN(dn)->table_group = iommu_pseries_alloc_group(phb->node); in pci_dma_dev_setup_pSeries()749 tbl = PCI_DN(dn)->table_group->tables[0]; in pci_dma_dev_setup_pSeries()761 while (dn && PCI_DN(dn) && PCI_DN(dn)->table_group == NULL) in pci_dma_dev_setup_pSeries()764 if (dn && PCI_DN(dn)) in pci_dma_dev_setup_pSeries()766 PCI_DN(dn)->table_group->tables[0]); in pci_dma_dev_setup_pSeries()959 pdn = PCI_DN(dn); in query_ddw()1005 pdn = PCI_DN(dn); in create_ddw()[all …]
40 pseries_eeh_init_edev_recursive(PCI_DN(dn)); in init_phb_dynamic()
259 pdn = parent ? PCI_DN(parent) : NULL; in pci_dn_reconfig_notifier()266 pdn = PCI_DN(np); in pci_dn_reconfig_notifier()
199 edev = pdn_to_eeh_dev(PCI_DN(dn)); in find_pe_dn()
871 pdn = list_first_entry(&PCI_DN(phb->dn)->child_list, struct pci_dn, list); in eeh_pseries_init()
40 struct pci_dn *pdn = PCI_DN(dn); in pci_find_bus_by_node()123 dn->child && PCI_DN(dn->child)) { in pci_hp_add_devices()131 slotno = PCI_SLOT(PCI_DN(dn->child)->devfn); in pci_hp_add_devices()
53 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()342 struct pci_dn *pdn = dn ? PCI_DN(dn) : NULL; in pci_remove_device_node_info()
262 hose = PCI_DN(hose_node)->phb; in SYSCALL_DEFINE3()
355 struct eeh_dev *edev = pdn_to_eeh_dev(PCI_DN(dn)); in of_scan_pci_dev()
220 #define PCI_DN(dn) ((struct pci_dn *) (dn)->data) macro237 if (!PCI_DN(np)) in pci_device_from_OF_node()239 *bus = PCI_DN(np)->busno; in pci_device_from_OF_node()240 *devfn = PCI_DN(np)->devfn; in pci_device_from_OF_node()
139 struct pci_dn *pdn = PCI_DN(dn); in dlpar_pci_add_bus()180 phb = PCI_DN(dn)->phb; in dlpar_add_pci_slot()236 if (PCI_DN(dn) && PCI_DN(dn)->phb) { in dlpar_add_phb()
99 pseries_eeh_init_edev_recursive(PCI_DN(slot->dn)); in rpaphp_enable_slot()
102 slotno = PCI_SLOT(PCI_DN(child)->devfn); in rpaphp_register_slot()
649 if (dn->child && PCI_DN(dn->child)) in pnv_php_alloc_slot()650 php_slot->slot_no = PCI_SLOT(PCI_DN(dn->child)->devfn); in pnv_php_alloc_slot()693 if (!PCI_DN(dn)) { in pnv_php_register_slot()
496 pseries_eeh_init_edev_recursive(PCI_DN(slot->dn)); in enable_slot()
246 if (PCI_DN(dn) && PCI_DN(dn)->devfn == devfn) in u3_ht_skip_device()890 PCI_DN(np)->busno = 0xf0; in pmac_pci_root_bridge_prepare()892 PCI_DN(child)->busno = 0xf0; in pmac_pci_root_bridge_prepare()
581 PCI_DN(np)->busno = 0xf0; in maple_pci_root_bridge_prepare()583 PCI_DN(child)->busno = 0xf0; in maple_pci_root_bridge_prepare()
25 struct pci_dn *pdn = PCI_DN(dn); in get_pci_dev()
52 if (!PCI_DN(node)) { in pnv_pci_get_slot_id()