Lines Matching refs:pdn

60 	struct pci_dn *pdn;  in pseries_send_map_pe()  local
68 pdn = pci_get_pdn(pdev); in pseries_send_map_pe()
69 addr = rtas_config_addr(pdn->busno, pdn->devfn, 0); in pseries_send_map_pe()
70 buid = pdn->phb->buid; in pseries_send_map_pe()
91 struct pci_dn *pdn; in pseries_set_pe_num() local
93 pdn = pci_get_pdn(pdev); in pseries_set_pe_num()
94 pdn->pe_num_map[vf_index] = be16_to_cpu(pe_num); in pseries_set_pe_num()
100 pdn->pe_num_map[vf_index]); in pseries_set_pe_num()
105 struct pci_dn *pdn; in pseries_associate_pes() local
115 pdn = pci_get_pdn(pdev); in pseries_associate_pes()
118 pdn->pe_num_map[vf_index] = IODA_INVALID_PE; in pseries_associate_pes()
149 struct pci_dn *pdn; in pseries_pci_sriov_enable() local
170 pdn = pci_get_pdn(pdev); in pseries_pci_sriov_enable()
171 pdn->pe_num_map = kmalloc_array(num_vfs, in pseries_pci_sriov_enable()
172 sizeof(*pdn->pe_num_map), in pseries_pci_sriov_enable()
174 if (!pdn->pe_num_map) in pseries_pci_sriov_enable()
182 kfree(pdn->pe_num_map); in pseries_pci_sriov_enable()
199 struct pci_dn *pdn; in pseries_pcibios_sriov_disable() local
201 pdn = pci_get_pdn(pdev); in pseries_pcibios_sriov_disable()
203 kfree(pdn->pe_num_map); in pseries_pcibios_sriov_disable()
289 struct device_node *dn, *pdn; in pseries_root_bridge_prepare() local
304 for (pdn = dn; pdn != NULL; pdn = of_get_next_parent(pdn)) { in pseries_root_bridge_prepare()
305 rc = of_property_read_u32_array(pdn, in pseries_root_bridge_prepare()
312 of_node_put(pdn); in pseries_root_bridge_prepare()