Searched refs:vf_index (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/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 | 67 pdn->pe_number = physfn_pdn->pe_num_map[pdn->vf_index]; in pseries_pcibios_bus_add_device() 713 int cur_vfs = 0, rc = 0, vf_index, bus, devfn; in pseries_call_allow_unfreeze() local 724 for (vf_index = 0; vf_index < cur_vfs; vf_index++) in pseries_call_allow_unfreeze() 725 vf_pe_array[vf_index] = in pseries_call_allow_unfreeze() 726 cpu_to_be16(pdn->pe_num_map[vf_index]); in pseries_call_allow_unfreeze() 730 for (vf_index = 0; vf_index < cur_vfs; vf_index++) { in pseries_call_allow_unfreeze() 735 vf_index); in pseries_call_allow_unfreeze() 737 vf_index); in pseries_call_allow_unfreeze()
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | pci_dn.c | 129 int vf_index, in add_one_dev_pci_data() argument 146 pdn->vf_index = vf_index; in add_one_dev_pci_data()
|
| D | eeh_driver.c | 496 pci_iov_add_virtfn(edev->physfn, eeh_dev_to_pdn(edev)->vf_index); in eeh_add_virt_device() 542 pci_iov_remove_virtfn(edev->physfn, pdn->vf_index); in eeh_rmv_device()
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | pci-bridge.h | 205 int vf_index; /* VF index in the PF */ member
|
| /Linux-v5.4/arch/powerpc/platforms/powernv/ |
| D | pci-ioda.c | 1548 u16 vf_index; in pnv_ioda_setup_vf_PE() local 1560 for (vf_index = 0; vf_index < num_vfs; vf_index++) { in pnv_ioda_setup_vf_PE() 1562 pe_num = pdn->pe_num_map[vf_index]; in pnv_ioda_setup_vf_PE() 1564 pe_num = *pdn->pe_num_map + vf_index; in pnv_ioda_setup_vf_PE() 1573 pe->rid = (pci_iov_virtfn_bus(pdev, vf_index) << 8) | in pnv_ioda_setup_vf_PE() 1574 pci_iov_virtfn_devfn(pdev, vf_index); in pnv_ioda_setup_vf_PE() 1578 PCI_SLOT(pci_iov_virtfn_devfn(pdev, vf_index)), in pnv_ioda_setup_vf_PE() 1579 PCI_FUNC(pci_iov_virtfn_devfn(pdev, vf_index)), pe_num); in pnv_ioda_setup_vf_PE()
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | nic.h | 431 unsigned int vf_index; member
|
| D | ef10.c | 221 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index() 1070 vf = nic_data_pf->vf + nic_data->vf_index; in efx_ef10_remove() 1237 nic_data_p->vf[nic_data->vf_index].efx = efx; in efx_ef10_probe_vf() 1238 nic_data_p->vf[nic_data->vf_index].pci_dev = in efx_ef10_probe_vf() 5883 nic_data->vf_index, in efx_ef10_set_mac_address()
|
| /Linux-v5.4/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()
|