Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_sriov.c113 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov()
177 int totalvfs = pci_sriov_get_totalvfs(accel_to_pci_dev(accel_dev)); in adf_disable_sriov()
228 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_sriov_configure()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c219 return pci_sriov_get_totalvfs(dev->pdev); in mlx5_get_max_vfs()
231 total_vfs = pci_sriov_get_totalvfs(pdev); in mlx5_sriov_init()
/Linux-v5.4/arch/powerpc/kernel/
Dpci_dn.c176 for (i = 0; i < pci_sriov_get_totalvfs(pdev); i++) { in add_dev_pci_data()
237 for (i = 0; i < pci_sriov_get_totalvfs(pdev); i++) { in remove_dev_pci_data()
/Linux-v5.4/drivers/pci/
Diov.c249 return sprintf(buf, "%u\n", pci_sriov_get_totalvfs(pdev)); in sriov_totalvfs_show()
280 if (num_vfs > pci_sriov_get_totalvfs(pdev)) in sriov_numvfs_store()
1032 int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function
1039 EXPORT_SYMBOL_GPL(pci_sriov_get_totalvfs);
/Linux-v5.4/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-v5.4/drivers/misc/genwqe/
Dcard_base.c341 totalvfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_setup_vf_jtimer()
1121 cd->num_vfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_pci_setup()
/Linux-v5.4/drivers/net/ethernet/sfc/
Def10_sriov.c271 if (pci_sriov_get_totalvfs(efx->pci_dev) <= 0) { in efx_ef10_vswitching_probe_pf()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c841 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in enetc_pf_probe()
/Linux-v5.4/include/linux/
Dpci.h2053 int pci_sriov_get_totalvfs(struct pci_dev *dev);
2085 static inline int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_main.c4132 pci_sriov_get_totalvfs(pdev), in be_clear()
4135 pci_sriov_get_totalvfs(pdev), in be_clear()
4433 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()
4449 pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()
5020 if (!pci_sriov_get_totalvfs(adapter->pdev)) in be_ndo_bridge_getlink()
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c2209 num_devs = rvu->hw->total_pfs + pci_sriov_get_totalvfs(rvu->pdev); in rvu_flr_init()
2313 vfs = pci_sriov_get_totalvfs(pdev); in rvu_enable_sriov()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda.c1353 total_vfs = pci_sriov_get_totalvfs(pdev); in pnv_pci_vf_assign_m64()
2899 total_vfs = pci_sriov_get_totalvfs(pdev); in pnv_pci_ioda_fixup_iov_resources()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2790 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr()
5623 adap->vfinfo = kcalloc(pci_sriov_get_totalvfs(pdev), in cxgb4_iov_configure()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dmain.c3211 int fw_enabled_sriov_vfs = min(pci_sriov_get_totalvfs(pdev), in mlx4_enable_sriov()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c9061 hdev->num_req_vfs = pci_sriov_get_totalvfs(pdev); in hclge_pci_init()