Searched refs:pci_sriov_get_totalvfs (Results 1 – 18 of 18) sorted by relevance
53 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()
268 return pci_sriov_get_totalvfs(dev->pdev); in mlx5_get_max_vfs()280 total_vfs = pci_sriov_get_totalvfs(pdev); in mlx5_sriov_init()
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()
391 return sysfs_emit(buf, "%u\n", pci_sriov_get_totalvfs(pdev)); in sriov_totalvfs_show()427 if (num_vfs > pci_sriov_get_totalvfs(pdev)) in sriov_numvfs_store()1186 int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function1193 EXPORT_SYMBOL_GPL(pci_sriov_get_totalvfs);
104 cpt->max_vfs = pci_sriov_get_totalvfs(cpt->pdev); in otx_cpt_device_init()
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()
346 totalvfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_setup_vf_jtimer()1117 cd->num_vfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_pci_setup()
267 if (pci_sriov_get_totalvfs(efx->pci_dev) <= 0) { in efx_ef10_vswitching_probe_pf()
758 cptpf->max_vfs = pci_sriov_get_totalvfs(pdev); in otx2_cptpf_probe()
4147 pci_sriov_get_totalvfs(pdev), in be_clear()4150 pci_sriov_get_totalvfs(pdev), in be_clear()4448 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()4464 pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()5028 if (!pci_sriov_get_totalvfs(adapter->pdev)) in be_ndo_bridge_getlink()
2182 int pci_sriov_get_totalvfs(struct pci_dev *dev);2232 static inline int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function
1283 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in enetc_pf_probe()
3014 num_devs = rvu->hw->total_pfs + pci_sriov_get_totalvfs(rvu->pdev); in rvu_flr_init()3116 vfs = pci_sriov_get_totalvfs(pdev); in rvu_enable_sriov()
4432 total_vfs = pci_sriov_get_totalvfs(qm->pdev); in qm_func_shaper_enable()4829 total_vfs = pci_sriov_get_totalvfs(pdev); in hisi_qm_sriov_enable()6311 total_func = pci_sriov_get_totalvfs(qm->pdev) + 1; in hisi_qm_memory_init()
2744 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in otx2_probe()
3227 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr()6363 adap->vfinfo = kcalloc(pci_sriov_get_totalvfs(pdev), in cxgb4_iov_configure()
3231 int fw_enabled_sriov_vfs = min(pci_sriov_get_totalvfs(pdev), in mlx4_enable_sriov()
11375 hdev->num_req_vfs = pci_sriov_get_totalvfs(pdev); in hclge_pci_init()