Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/pseries/
Dpci.c108 pdn->pe_num_map[vf_index] = be16_to_cpu(pe_num); in pseries_set_pe_num()
114 pdn->pe_num_map[vf_index]); in pseries_set_pe_num()
132 pdn->pe_num_map[vf_index] = IODA_INVALID_PE; in pseries_associate_pes()
185 pdn->pe_num_map = kmalloc_array(num_vfs, in pseries_pci_sriov_enable()
186 sizeof(*pdn->pe_num_map), in pseries_pci_sriov_enable()
188 if (!pdn->pe_num_map) in pseries_pci_sriov_enable()
196 kfree(pdn->pe_num_map); in pseries_pci_sriov_enable()
217 kfree(pdn->pe_num_map); in pseries_pcibios_sriov_disable()
Deeh_pseries.c78 pdn->pe_number = physfn_pdn->pe_num_map[pdn->vf_index]; in pseries_pcibios_bus_add_device()
794 cpu_to_be16(pdn->pe_num_map[vf_index]); in pseries_call_allow_unfreeze()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda.c1397 pe_num = pdn->pe_num_map[j]; in pnv_pci_vf_assign_m64()
1512 pnv_pci_vf_resource_shift(pdev, -*pdn->pe_num_map); in pnv_pci_sriov_disable()
1520 if (pdn->pe_num_map[i] == IODA_INVALID_PE) in pnv_pci_sriov_disable()
1523 pe = &phb->ioda.pe_array[pdn->pe_num_map[i]]; in pnv_pci_sriov_disable()
1527 bitmap_clear(phb->ioda.pe_alloc, *pdn->pe_num_map, num_vfs); in pnv_pci_sriov_disable()
1529 kfree(pdn->pe_num_map); in pnv_pci_sriov_disable()
1556 pe_num = pdn->pe_num_map[vf_index]; in pnv_ioda_setup_vf_PE()
1558 pe_num = *pdn->pe_num_map + vf_index; in pnv_ioda_setup_vf_PE()
1624 pdn->pe_num_map = kmalloc_array(num_vfs, in pnv_pci_sriov_enable()
1625 sizeof(*pdn->pe_num_map), in pnv_pci_sriov_enable()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dpci-bridge.h209 unsigned int *pe_num_map; /* PE# for the first VF PE or array */ member