Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/qat/qat_common/
Dadf_sriov.c69 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov() local
78 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() local
162 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() local
226 accel_dev->pf.vf_info = kcalloc(totalvfs, in adf_sriov_configure()
/Linux-v5.10/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-v5.10/Documentation/PCI/
Dpci-iov-howto.rst50 numvfs <= totalvfs.