Searched refs:totalvfs (Results 1 – 4 of 4) sorted by relevance
53 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov() local58 for (i = 0, vf_info = accel_dev->pf.vf_info; i < totalvfs; in adf_enable_sriov()76 adf_enable_vf2pf_interrupts(accel_dev, BIT_ULL(totalvfs) - 1); in adf_enable_sriov()84 return pci_enable_sriov(pdev, totalvfs); in adf_enable_sriov()98 int totalvfs = pci_sriov_get_totalvfs(accel_to_pci_dev(accel_dev)); in adf_disable_sriov() local115 for (i = 0, vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++) in adf_disable_sriov()138 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_sriov_configure() local177 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()
51 复,例如,如果启用VF,检查numvfs == 0,确保numvfs <= totalvfs。
50 numvfs <= totalvfs.