Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/arch/powerpc/kernel/
Dpci_dn.c189 for (i = 0; i < pci_sriov_get_totalvfs(pdev); i++) { in add_dev_pci_data()
250 for (i = 0; i < pci_sriov_get_totalvfs(pdev); i++) { in remove_dev_pci_data()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c265 total_vfs = pci_sriov_get_totalvfs(pdev); in mlx5_sriov_init()
/Linux-v4.19/drivers/pci/
Diov.c842 int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function
849 EXPORT_SYMBOL_GPL(pci_sriov_get_totalvfs);
Dpci-sysfs.c559 return sprintf(buf, "%u\n", pci_sriov_get_totalvfs(pdev)); in sriov_totalvfs_show()
591 if (num_vfs > pci_sriov_get_totalvfs(pdev)) in sriov_numvfs_store()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnic_main.c110 int vf_cnt = pci_sriov_get_totalvfs(nic->pdev); in nic_enable_mbx_intr()
359 if (nic->num_vf_en >= pci_sriov_get_totalvfs(nic->pdev)) { in nic_set_lmac_vf_mapping()
360 nic->num_vf_en = pci_sriov_get_totalvfs(nic->pdev); in nic_set_lmac_vf_mapping()
414 hw->tl4_cnt = MAX_QUEUES_PER_QSET * pci_sriov_get_totalvfs(nic->pdev); in nic_get_hw_info()
/Linux-v4.19/drivers/misc/genwqe/
Dcard_base.c350 totalvfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_setup_vf_jtimer()
1130 cd->num_vfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_pci_setup()
/Linux-v4.19/drivers/net/ethernet/sfc/
Def10_sriov.c274 if (pci_sriov_get_totalvfs(efx->pci_dev) <= 0) { in efx_ef10_vswitching_probe_pf()
/Linux-v4.19/include/linux/mlx5/
Ddriver.h1271 #define MLX5_TOTAL_VPORTS(mdev) (1 + pci_sriov_get_totalvfs((mdev)->pdev))
/Linux-v4.19/include/linux/
Dpci.h1987 int pci_sriov_get_totalvfs(struct pci_dev *dev);
2019 static inline int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_main.c4136 pci_sriov_get_totalvfs(pdev), in be_clear()
4139 pci_sriov_get_totalvfs(pdev), in be_clear()
4437 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()
4453 pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()
5015 if (!pci_sriov_get_totalvfs(adapter->pdev)) in be_ndo_bridge_getlink()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda.c1352 total_vfs = pci_sriov_get_totalvfs(pdev); in pnv_pci_vf_assign_m64()
3009 total_vfs = pci_sriov_get_totalvfs(pdev); in pnv_pci_ioda_fixup_iov_resources()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2671 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr()
5374 adap->vfinfo = kcalloc(pci_sriov_get_totalvfs(pdev), in cxgb4_iov_configure()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmain.c3201 int fw_enabled_sriov_vfs = min(pci_sriov_get_totalvfs(pdev), in mlx4_enable_sriov()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5564 hdev->num_req_vfs = pci_sriov_get_totalvfs(pdev); in hclge_pci_init()