/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_sriov.c | 55 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov() 151 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_do_enable_sriov() 241 int totalvfs = pci_sriov_get_totalvfs(accel_to_pci_dev(accel_dev)); in adf_disable_sriov()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | sriov.c | 292 return pci_sriov_get_totalvfs(dev->pdev); in mlx5_get_max_vfs() 304 total_vfs = pci_sriov_get_totalvfs(pdev); in mlx5_sriov_init() 307 sriov->max_ec_vfs = mlx5_core_ec_sriov_enabled(dev) ? pci_sriov_get_totalvfs(dev->pdev) : 0; in mlx5_sriov_init()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_sriov.c | 68 } else if (pci_sriov_get_totalvfs(pdev)) { in xe_sriov_probe_early()
|
H A D | xe_sriov_pf.c | 58 int totalvfs = pci_sriov_get_totalvfs(pdev); in xe_sriov_pf_readiness()
|
H A D | xe_guc_relay.c | 69 return IS_SRIOV_VF(xe) ? 0 : pci_sriov_get_totalvfs(pdev); in relay_get_totalvfs()
|
/linux/arch/powerpc/kernel/ |
H A D | pci_dn.c | 192 for (i = 0; i < pci_sriov_get_totalvfs(pdev); i++) { in add_sriov_vf_pdns() 242 for (i = 0; i < pci_sriov_get_totalvfs(pdev); i++) { in remove_sriov_vf_pdns()
|
/linux/drivers/pci/ |
H A D | iov.c | 438 return sysfs_emit(buf, "%u\n", pci_sriov_get_totalvfs(pdev)); in sriov_totalvfs_show() 474 if (num_vfs > pci_sriov_get_totalvfs(pdev)) in sriov_numvfs_store() 1269 * pci_sriov_get_totalvfs -- get total VFs supported on this device 1276 int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function 1283 EXPORT_SYMBOL_GPL(pci_sriov_get_totalvfs);
|
H A D | setup-res.c | 448 resource_set_size(res, res_size * pci_sriov_get_totalvfs(dev)); in pci_resize_resource_set_size()
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptpf_main.c | 104 cpt->max_vfs = pci_sriov_get_totalvfs(cpt->pdev); in otx_cpt_device_init()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nic_main.c | 101 int vf_cnt = pci_sriov_get_totalvfs(nic->pdev); in nic_enable_mbx_intr() 350 if (nic->num_vf_en >= pci_sriov_get_totalvfs(nic->pdev)) { in nic_set_lmac_vf_mapping() 351 nic->num_vf_en = pci_sriov_get_totalvfs(nic->pdev); in nic_set_lmac_vf_mapping() 405 hw->tl4_cnt = MAX_QUEUES_PER_QSET * pci_sriov_get_totalvfs(nic->pdev); in nic_get_hw_info()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 267 if (pci_sriov_get_totalvfs(efx->pci_dev) <= 0) { in efx_ef10_vswitching_probe_pf()
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_main.c | 792 cptpf->max_vfs = pci_sriov_get_totalvfs(pdev); in otx2_cptpf_probe()
|
/linux/drivers/vdpa/octeon_ep/ |
H A D | octep_vdpa_main.c | 802 totalvfs = pci_sriov_get_totalvfs(pdev); in octep_vdpa_pf_setup()
|
/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 4148 pci_sriov_get_totalvfs(pdev), in be_clear() 4151 pci_sriov_get_totalvfs(pdev), in be_clear() 4449 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config() 4465 pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config() 5023 if (!pci_sriov_get_totalvfs(adapter->pdev)) in be_ndo_bridge_getlink()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc4_pf.c | 276 pf->total_vfs = pci_sriov_get_totalvfs(si->pdev); in enetc4_pf_struct_init()
|
H A D | enetc_pf.c | 959 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in enetc_pf_probe()
|
/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 3641 total_vfs = pci_sriov_get_totalvfs(qm->pdev); in qm_func_shaper_enable() 3938 total_vfs = pci_sriov_get_totalvfs(pdev); in hisi_qm_sriov_enable() 5530 total_func = pci_sriov_get_totalvfs(qm->pdev) + 1; in hisi_qm_memory_init()
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.c | 3242 num_devs = rvu->hw->total_pfs + pci_sriov_get_totalvfs(rvu->pdev); in rvu_flr_init() 3357 vfs = pci_sriov_get_totalvfs(pdev); in rvu_enable_sriov()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | main.c | 302 rdev->num_vfs = pci_sriov_get_totalvfs(rdev->en_dev->pdev); in bnxt_re_vf_res_config()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 3217 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr() 6353 adap->vfinfo = kcalloc(pci_sriov_get_totalvfs(pdev), in cxgb4_iov_configure()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 3174 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in otx2_probe()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | main.c | 3276 int fw_enabled_sriov_vfs = min(pci_sriov_get_totalvfs(pdev), in mlx4_enable_sriov()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 11457 hdev->num_req_vfs = pci_sriov_get_totalvfs(pdev); in hclge_pci_init()
|