Home
last modified time | relevance | path

Searched refs:pe_num_map (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/platforms/pseries/
Dpci.c96 pdn->pe_num_map[vf_index] = be16_to_cpu(pe_num); in pseries_set_pe_num()
102 pdn->pe_num_map[vf_index]); in pseries_set_pe_num()
120 pdn->pe_num_map[vf_index] = IODA_INVALID_PE; in pseries_associate_pes()
173 pdn->pe_num_map = kmalloc_array(num_vfs, in pseries_pci_sriov_enable()
174 sizeof(*pdn->pe_num_map), in pseries_pci_sriov_enable()
176 if (!pdn->pe_num_map) in pseries_pci_sriov_enable()
184 kfree(pdn->pe_num_map); in pseries_pci_sriov_enable()
205 kfree(pdn->pe_num_map); in pseries_pcibios_sriov_disable()
Deeh_pseries.c67 pdn->pe_number = physfn_pdn->pe_num_map[pdn->vf_index]; in pseries_pcibios_bus_add_device()
726 cpu_to_be16(pdn->pe_num_map[vf_index]); in pseries_call_allow_unfreeze()
/arch/powerpc/platforms/powernv/
Dpci-ioda.c1398 pe_num = pdn->pe_num_map[j]; in pnv_pci_vf_assign_m64()
1513 pnv_pci_vf_resource_shift(pdev, -*pdn->pe_num_map); in pnv_pci_sriov_disable()
1521 if (pdn->pe_num_map[i] == IODA_INVALID_PE) in pnv_pci_sriov_disable()
1524 pe = &phb->ioda.pe_array[pdn->pe_num_map[i]]; in pnv_pci_sriov_disable()
1528 bitmap_clear(phb->ioda.pe_alloc, *pdn->pe_num_map, num_vfs); in pnv_pci_sriov_disable()
1530 kfree(pdn->pe_num_map); in pnv_pci_sriov_disable()
1566 pe_num = pdn->pe_num_map[vf_index]; in pnv_ioda_setup_vf_PE()
1568 pe_num = *pdn->pe_num_map + vf_index; in pnv_ioda_setup_vf_PE()
1646 pdn->pe_num_map = kmalloc_array(num_vfs, in pnv_pci_sriov_enable()
1647 sizeof(*pdn->pe_num_map), in pnv_pci_sriov_enable()
[all …]
/arch/powerpc/include/asm/
Dpci-bridge.h208 unsigned int *pe_num_map; /* PE# for the first VF PE or array */ member