Searched refs:num_vfs (Results 1 – 5 of 5) sorted by relevance
/arch/powerpc/platforms/pseries/ |
D | pci.c | 59 u16 num_vfs, in pseries_send_map_pe() argument 79 num_vfs * sizeof(struct pe_map_bar_entry)); in pseries_send_map_pe() 105 int pseries_associate_pes(struct pci_dev *pdev, u16 num_vfs) in pseries_associate_pes() argument 119 for (vf_index = 0; vf_index < num_vfs; vf_index++) { in pseries_associate_pes() 138 rc = pseries_send_map_pe(pdev, num_vfs, vf_pe_array); in pseries_associate_pes() 141 for (vf_index = 0; vf_index < num_vfs; vf_index++) in pseries_associate_pes() 149 int pseries_pci_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pseries_pci_sriov_enable() argument 164 if (max_config_vfs < num_vfs && num_vfs > MAX_VFS_FOR_MAP_PE) { in pseries_pci_sriov_enable() 167 num_vfs, (num_vfs > MAX_VFS_FOR_MAP_PE) ? in pseries_pci_sriov_enable() 173 pdn->pe_num_map = kmalloc_array(num_vfs, in pseries_pci_sriov_enable() [all …]
|
/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 965 u16 num_vfs; in pnv_pci_vf_resource_shift() local 978 num_vfs = pdn->num_vfs; in pnv_pci_vf_resource_shift() 993 res2.end = res2.start + (size * num_vfs) - 1; in pnv_pci_vf_resource_shift() 997 i, &res2, res, num_vfs, offset); in pnv_pci_vf_resource_shift() 1021 num_vfs, offset); in pnv_pci_vf_resource_shift() 1301 static int pnv_pci_vf_release_m64(struct pci_dev *pdev, u16 num_vfs) in pnv_pci_vf_release_m64() argument 1316 m64_bars = num_vfs; in pnv_pci_vf_release_m64() 1334 static int pnv_pci_vf_assign_m64(struct pci_dev *pdev, u16 num_vfs) in pnv_pci_vf_assign_m64() argument 1356 m64_bars = num_vfs; in pnv_pci_vf_assign_m64() 1435 pnv_pci_vf_release_m64(pdev, num_vfs); in pnv_pci_vf_assign_m64() [all …]
|
/arch/powerpc/include/asm/ |
D | machdep.h | 179 int (*pcibios_sriov_enable)(struct pci_dev *pdev, u16 num_vfs);
|
D | pci-bridge.h | 207 u16 num_vfs; /* number of VFs enabled*/ member
|
/arch/powerpc/kernel/ |
D | pci-common.c | 263 int pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pcibios_sriov_enable() argument 266 return ppc_md.pcibios_sriov_enable(pdev, num_vfs); in pcibios_sriov_enable()
|