Lines Matching full:pdn
33 struct pci_dn *pdn; in pseries_send_map_pe() local
41 pdn = pci_get_pdn(pdev); in pseries_send_map_pe()
42 addr = rtas_config_addr(pdn->busno, pdn->devfn, 0); in pseries_send_map_pe()
43 buid = pdn->phb->buid; in pseries_send_map_pe()
64 struct pci_dn *pdn; in pseries_set_pe_num() local
66 pdn = pci_get_pdn(pdev); in pseries_set_pe_num()
67 pdn->pe_num_map[vf_index] = be16_to_cpu(pe_num); in pseries_set_pe_num()
73 pdn->pe_num_map[vf_index]); in pseries_set_pe_num()
78 struct pci_dn *pdn; in pseries_associate_pes() local
88 pdn = pci_get_pdn(pdev); in pseries_associate_pes()
91 pdn->pe_num_map[vf_index] = IODA_INVALID_PE; in pseries_associate_pes()
122 struct pci_dn *pdn; in pseries_pci_sriov_enable() local
143 pdn = pci_get_pdn(pdev); in pseries_pci_sriov_enable()
144 pdn->pe_num_map = kmalloc_array(num_vfs, in pseries_pci_sriov_enable()
145 sizeof(*pdn->pe_num_map), in pseries_pci_sriov_enable()
147 if (!pdn->pe_num_map) in pseries_pci_sriov_enable()
155 kfree(pdn->pe_num_map); in pseries_pci_sriov_enable()
172 struct pci_dn *pdn; in pseries_pcibios_sriov_disable() local
174 pdn = pci_get_pdn(pdev); in pseries_pcibios_sriov_disable()
176 kfree(pdn->pe_num_map); in pseries_pcibios_sriov_disable()
262 struct device_node *dn, *pdn; in pseries_root_bridge_prepare() local
277 for (pdn = dn; pdn != NULL; pdn = of_get_next_parent(pdn)) { in pseries_root_bridge_prepare()
278 rc = of_property_read_u32_array(pdn, in pseries_root_bridge_prepare()
285 of_node_put(pdn); in pseries_root_bridge_prepare()