Home
last modified time | relevance | path

Searched refs:pci_sriov_get_totalvfs (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
Dadf_sriov.c53 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov()
98 int totalvfs = pci_sriov_get_totalvfs(accel_to_pci_dev(accel_dev)); in adf_disable_sriov()
138 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_sriov_configure()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c292 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-v6.6/arch/powerpc/kernel/
Dpci_dn.c192 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-v6.6/drivers/pci/
Diov.c390 return sysfs_emit(buf, "%u\n", pci_sriov_get_totalvfs(pdev)); in sriov_totalvfs_show()
426 if (num_vfs > pci_sriov_get_totalvfs(pdev)) in sriov_numvfs_store()
1185 int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function
1192 EXPORT_SYMBOL_GPL(pci_sriov_get_totalvfs);
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptpf_main.c104 cpt->max_vfs = pci_sriov_get_totalvfs(cpt->pdev); in otx_cpt_device_init()
/Linux-v6.6/drivers/net/ethernet/cavium/thunder/
Dnic_main.c101 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-v6.6/drivers/misc/genwqe/
Dcard_base.c365 totalvfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_setup_vf_jtimer()
1135 cd->num_vfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_pci_setup()
/Linux-v6.6/drivers/net/ethernet/amd/pds_core/
Dcore.c419 numdescs += 2 * pci_sriov_get_totalvfs(pdsc->pdev); in pdsc_setup()
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_main.c799 cptpf->max_vfs = pci_sriov_get_totalvfs(pdev); in otx2_cptpf_probe()
/Linux-v6.6/drivers/net/ethernet/sfc/
Def10_sriov.c267 if (pci_sriov_get_totalvfs(efx->pci_dev) <= 0) { in efx_ef10_vswitching_probe_pf()
/Linux-v6.6/drivers/net/ethernet/emulex/benet/
Dbe_main.c4149 pci_sriov_get_totalvfs(pdev), in be_clear()
4152 pci_sriov_get_totalvfs(pdev), in be_clear()
4450 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()
4466 pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()
5027 if (!pci_sriov_get_totalvfs(adapter->pdev)) in be_ndo_bridge_getlink()
/Linux-v6.6/include/linux/
Dpci.h2324 int pci_sriov_get_totalvfs(struct pci_dev *dev);
2374 static inline int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c1285 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in enetc_pf_probe()
/Linux-v6.6/drivers/crypto/hisilicon/
Dqm.c3542 total_vfs = pci_sriov_get_totalvfs(qm->pdev); in qm_func_shaper_enable()
3841 total_vfs = pci_sriov_get_totalvfs(pdev); in hisi_qm_sriov_enable()
5313 total_func = pci_sriov_get_totalvfs(qm->pdev) + 1; in hisi_qm_memory_init()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c3053 num_devs = rvu->hw->total_pfs + pci_sriov_get_totalvfs(rvu->pdev); in rvu_flr_init()
3155 vfs = pci_sriov_get_totalvfs(pdev); in rvu_enable_sriov()
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dmain.c278 rdev->num_vfs = pci_sriov_get_totalvfs(rdev->en_dev->pdev); in bnxt_re_vf_res_config()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c2826 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in otx2_probe()
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c3226 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr()
6362 adap->vfinfo = kcalloc(pci_sriov_get_totalvfs(pdev), in cxgb4_iov_configure()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Dmain.c3286 int fw_enabled_sriov_vfs = min(pci_sriov_get_totalvfs(pdev), in mlx4_enable_sriov()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c11299 hdev->num_req_vfs = pci_sriov_get_totalvfs(pdev); in hclge_pci_init()