Home
last modified time | relevance | path

Searched refs:vf_index (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dpci.c100 pdn->pe_num_map[vf_index]); in pseries_set_pe_num()
106 int i, rc, vf_index; in pseries_associate_pes() local
117 for (vf_index = 0; vf_index < num_vfs; vf_index++) { in pseries_associate_pes()
118 pdn->pe_num_map[vf_index] = IODA_INVALID_PE; in pseries_associate_pes()
125 vf_pe_array[vf_index].bar = in pseries_associate_pes()
127 vf_pe_array[vf_index].rid = in pseries_associate_pes()
130 vf_index)); in pseries_associate_pes()
131 vf_pe_array[vf_index].pe_num = in pseries_associate_pes()
139 for (vf_index = 0; vf_index < num_vfs; vf_index++) in pseries_associate_pes()
140 pseries_set_pe_num(pdev, vf_index, in pseries_associate_pes()
[all …]
A Deeh_pseries.c724 int cur_vfs = 0, rc = 0, vf_index, bus, devfn, vf_pe_num; in pseries_call_allow_unfreeze() local
736 for (vf_index = 0; vf_index < cur_vfs; vf_index++) in pseries_call_allow_unfreeze()
737 vf_pe_array[vf_index] = in pseries_call_allow_unfreeze()
738 cpu_to_be16(pdn->pe_num_map[vf_index]); in pseries_call_allow_unfreeze()
742 for (vf_index = 0; vf_index < cur_vfs; vf_index++) { in pseries_call_allow_unfreeze()
747 vf_index); in pseries_call_allow_unfreeze()
749 vf_index); in pseries_call_allow_unfreeze()
760 vf_pe_num = physfn_pdn->pe_num_map[edev->vf_index]; in pseries_call_allow_unfreeze()
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dpci-sriov.c619 u16 vf_index; in pnv_ioda_setup_vf_PE() local
631 for (vf_index = 0; vf_index < num_vfs; vf_index++) { in pnv_ioda_setup_vf_PE()
632 int vf_devfn = pci_iov_virtfn_devfn(pdev, vf_index); in pnv_ioda_setup_vf_PE()
633 int vf_bus = pci_iov_virtfn_bus(pdev, vf_index); in pnv_ioda_setup_vf_PE()
636 pe = &iov->vf_pe_arr[vf_index]; in pnv_ioda_setup_vf_PE()
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
A Dionic_if.h2007 __le16 vf_index; member
2023 __le16 vf_index; member
2038 __le16 vf_index; member
2045 __le16 vf_index; member
2073 __le16 vf_index; member
A Dionic_dev.c458 .vf_setattr.vf_index = cpu_to_le16(vf), in ionic_set_vf_config()
478 .vf_getattr.vf_index = cpu_to_le16(vf), in ionic_dev_cmd_vf_getattr()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dnic.h288 unsigned int vf_index; member
A Def10.c102 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index()
935 vf = nic_data_pf->vf + nic_data->vf_index; in efx_ef10_remove()
1103 nic_data_p->vf[nic_data->vf_index].efx = efx; in efx_ef10_probe_vf()
1104 nic_data_p->vf[nic_data->vf_index].pci_dev = in efx_ef10_probe_vf()
3294 rc = efx_ef10_sriov_set_vf_mac(efx_pf, nic_data->vf_index, mac); in efx_ef10_set_mac_address()
/linux-6.3-rc2/arch/powerpc/kernel/
A Deeh_driver.c479 pci_iov_add_virtfn(edev->physfn, edev->vf_index); in eeh_add_virt_device()
523 pci_iov_remove_virtfn(edev->physfn, edev->vf_index); in eeh_rmv_device()
A Dpci_dn.c211 edev->vf_index = i; in add_sriov_vf_pdns()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Deeh.h151 int vf_index; /* Index of this VF */ member

Completed in 41 milliseconds