Searched refs:totalvfs (Results 1 – 3 of 3) sorted by relevance
69 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov() local78 for (i = 0, vf_info = accel_dev->pf.vf_info; i < totalvfs; in adf_enable_sriov()108 adf_enable_vf2pf_interrupts(accel_dev, GENMASK_ULL(totalvfs - 1, 0)); in adf_enable_sriov()116 return pci_enable_sriov(pdev, totalvfs); in adf_enable_sriov()133 int totalvfs = pci_sriov_get_totalvfs(accel_to_pci_dev(accel_dev)); in adf_disable_sriov() local162 for (i = 0, vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++) { in adf_disable_sriov()188 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_sriov_configure() local226 accel_dev->pf.vf_info = kcalloc(totalvfs, in adf_sriov_configure()
344 int totalvfs; in genwqe_setup_vf_jtimer() local346 totalvfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_setup_vf_jtimer()347 if (totalvfs <= 0) in genwqe_setup_vf_jtimer()350 for (vf = 0; vf < totalvfs; vf++) { in genwqe_setup_vf_jtimer()
50 numvfs <= totalvfs.