Home
last modified time | relevance | path

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

/drivers/crypto/intel/qat/qat_common/
A Dadf_sriov.c55 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov() local
60 for (i = 0, vf_info = accel_dev->pf.vf_info; i < totalvfs; in adf_enable_sriov()
78 adf_enable_vf2pf_interrupts(accel_dev, BIT_ULL(totalvfs) - 1); in adf_enable_sriov()
86 return pci_enable_sriov(pdev, totalvfs); in adf_enable_sriov()
151 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_do_enable_sriov() local
176 accel_dev->pf.vf_info = kcalloc(totalvfs, sizeof(struct adf_accel_vf_info), in adf_do_enable_sriov()
199 return totalvfs; in adf_do_enable_sriov()
241 int totalvfs = pci_sriov_get_totalvfs(accel_to_pci_dev(accel_dev)); in adf_disable_sriov() local
259 for (i = 0, vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++) { in adf_disable_sriov()
/drivers/gpu/drm/xe/
A Dxe_sriov_pf.c58 int totalvfs = pci_sriov_get_totalvfs(pdev); in xe_sriov_pf_readiness() local
59 int newlimit = min_t(u16, wanted_max_vfs(xe), totalvfs); in xe_sriov_pf_readiness()
61 xe_assert(xe, totalvfs <= U16_MAX); in xe_sriov_pf_readiness()
74 xe->sriov.pf.device_total_vfs = totalvfs; in xe_sriov_pf_readiness()
A Dxe_gt_sriov_pf_control.c1457 unsigned int n, totalvfs; in xe_gt_sriov_pf_control_init() local
1461 totalvfs = xe_sriov_pf_get_totalvfs(xe); in xe_gt_sriov_pf_control_init()
1462 for (n = 0; n <= totalvfs; n++) { in xe_gt_sriov_pf_control_init()
1488 unsigned int n, totalvfs; in xe_gt_sriov_pf_control_restart() local
1494 totalvfs = xe_sriov_pf_get_totalvfs(xe); in xe_gt_sriov_pf_control_restart()
1495 for (n = 1; n <= totalvfs; n++) in xe_gt_sriov_pf_control_restart()
A Dxe_gt_sriov_pf_debugfs.c535 int n, totalvfs = xe_sriov_pf_get_totalvfs(xe); in xe_gt_sriov_pf_debugfs_register() local
567 for (n = 1; n <= totalvfs; n++) { in xe_gt_sriov_pf_debugfs_register()
/drivers/vdpa/octeon_ep/
A Doctep_vdpa_main.c798 int totalvfs; in octep_vdpa_pf_setup() local
802 totalvfs = pci_sriov_get_totalvfs(pdev); in octep_vdpa_pf_setup()
803 if (unlikely(!totalvfs)) { in octep_vdpa_pf_setup()
804 dev_info(&pdev->dev, "Total VFs are %d in PF sriov configuration\n", totalvfs); in octep_vdpa_pf_setup()
817 octpf->vf_stride = len / totalvfs; in octep_vdpa_pf_setup()
/drivers/misc/genwqe/
A Dcard_base.c363 int totalvfs; in genwqe_setup_vf_jtimer() local
365 totalvfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_setup_vf_jtimer()
366 if (totalvfs <= 0) in genwqe_setup_vf_jtimer()
369 for (vf = 0; vf < totalvfs; vf++) { in genwqe_setup_vf_jtimer()

Completed in 18 milliseconds