Searched refs:vf_index (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | pci.c | 91 void pseries_set_pe_num(struct pci_dev *pdev, u16 vf_index, __be16 pe_num) in pseries_set_pe_num() argument 96 pdn->pe_num_map[vf_index] = be16_to_cpu(pe_num); in pseries_set_pe_num() 100 PCI_SLOT(pci_iov_virtfn_devfn(pdev, vf_index)), in pseries_set_pe_num() 101 PCI_FUNC(pci_iov_virtfn_devfn(pdev, vf_index)), in pseries_set_pe_num() 102 pdn->pe_num_map[vf_index]); in pseries_set_pe_num() 108 int i, rc, vf_index; in pseries_associate_pes() local 119 for (vf_index = 0; vf_index < num_vfs; vf_index++) { in pseries_associate_pes() 120 pdn->pe_num_map[vf_index] = IODA_INVALID_PE; in pseries_associate_pes() 127 vf_pe_array[vf_index].bar = in pseries_associate_pes() 128 cpu_to_be64(res->start + size * vf_index); in pseries_associate_pes() [all …]
|
D | eeh_pseries.c | 723 int cur_vfs = 0, rc = 0, vf_index, bus, devfn, vf_pe_num; in pseries_call_allow_unfreeze() local 735 for (vf_index = 0; vf_index < cur_vfs; vf_index++) in pseries_call_allow_unfreeze() 736 vf_pe_array[vf_index] = in pseries_call_allow_unfreeze() 737 cpu_to_be16(pdn->pe_num_map[vf_index]); in pseries_call_allow_unfreeze() 741 for (vf_index = 0; vf_index < cur_vfs; vf_index++) { in pseries_call_allow_unfreeze() 746 vf_index); in pseries_call_allow_unfreeze() 748 vf_index); in pseries_call_allow_unfreeze() 759 vf_pe_num = physfn_pdn->pe_num_map[edev->vf_index]; in pseries_call_allow_unfreeze()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | pci-sriov.c | 625 u16 vf_index; in pnv_ioda_setup_vf_PE() local 637 for (vf_index = 0; vf_index < num_vfs; vf_index++) { in pnv_ioda_setup_vf_PE() 638 int vf_devfn = pci_iov_virtfn_devfn(pdev, vf_index); in pnv_ioda_setup_vf_PE() 639 int vf_bus = pci_iov_virtfn_bus(pdev, vf_index); in pnv_ioda_setup_vf_PE() 642 pe = &iov->vf_pe_arr[vf_index]; in pnv_ioda_setup_vf_PE()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_if.h | 1818 __le16 vf_index; member 1834 __le16 vf_index; member 1849 __le16 vf_index; member 1856 __le16 vf_index; member
|
D | ionic_dev.c | 336 .vf_setattr.vf_index = cpu_to_le16(vf), in ionic_set_vf_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | nic.h | 288 unsigned int vf_index; member
|
D | ef10.c | 102 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index() 936 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() 3289 nic_data->vf_index, in efx_ef10_set_mac_address()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | eeh_driver.c | 480 pci_iov_add_virtfn(edev->physfn, edev->vf_index); in eeh_add_virt_device() 524 pci_iov_remove_virtfn(edev->physfn, edev->vf_index); in eeh_rmv_device()
|
D | pci_dn.c | 211 edev->vf_index = i; in add_sriov_vf_pdns()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | eeh.h | 151 int vf_index; /* Index of this VF */ member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_ctrl.c | 873 u8 vf_index, in i40iw_sc_manage_hmc_pm_func_table() argument 880 if (vf_index >= I40IW_MAX_VF_PER_PF) in i40iw_sc_manage_hmc_pm_func_table() 886 header = LS_64(vf_index, I40IW_CQPSQ_MHMC_VFIDX) | in i40iw_sc_manage_hmc_pm_func_table()
|