Searched refs:pci_sriov_get_totalvfs (Results 1 – 15 of 15) sorted by relevance
113 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()
219 return pci_sriov_get_totalvfs(dev->pdev); in mlx5_get_max_vfs()231 total_vfs = pci_sriov_get_totalvfs(pdev); in mlx5_sriov_init()
176 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()
249 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() function1039 EXPORT_SYMBOL_GPL(pci_sriov_get_totalvfs);
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()
341 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()
271 if (pci_sriov_get_totalvfs(efx->pci_dev) <= 0) { in efx_ef10_vswitching_probe_pf()
841 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in enetc_pf_probe()
2053 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
4132 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()
2209 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()
1353 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()
2790 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()
3211 int fw_enabled_sriov_vfs = min(pci_sriov_get_totalvfs(pdev), in mlx4_enable_sriov()
9061 hdev->num_req_vfs = pci_sriov_get_totalvfs(pdev); in hclge_pci_init()