Home
last modified time | relevance | path

Searched refs:totalvfs (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dadf_sriov.c53 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov() local
58 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() local
115 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() local
177 accel_dev->pf.vf_info = kcalloc(totalvfs, in adf_sriov_configure()
/Linux-v6.1/drivers/misc/genwqe/
Dcard_base.c344 int totalvfs; in genwqe_setup_vf_jtimer() local
346 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()
/Linux-v6.1/Documentation/translations/zh_CN/PCI/
Dpci-iov-howto.rst51 复,例如,如果启用VF,检查numvfs == 0,确保numvfs <= totalvfs
/Linux-v6.1/Documentation/PCI/
Dpci-iov-howto.rst50 numvfs <= totalvfs.