Searched refs:totalvfs (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_sriov.c | 55 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()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_sriov_pf_migration.c | 99 unsigned int n, totalvfs; in xe_sriov_pf_migration_init() local 109 totalvfs = xe_sriov_pf_get_totalvfs(xe); in xe_sriov_pf_migration_init() 110 for (n = 1; n <= totalvfs; n++) { in xe_sriov_pf_migration_init()
|
| H A D | xe_gt_sriov_pf_migration.c | 1044 unsigned int n, totalvfs; in xe_gt_sriov_pf_migration_init() local 1054 totalvfs = xe_sriov_pf_get_totalvfs(xe); in xe_gt_sriov_pf_migration_init() 1055 for (n = 1; n <= totalvfs; n++) { in xe_gt_sriov_pf_migration_init()
|
| H A D | xe_gt_sriov_pf_config.c | 1963 unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt); in xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked() local 1969 for (n = 0; n <= totalvfs; n++) { in xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked() 1975 return pf_config_bulk_set_u32_done(gt, 0, 1 + totalvfs, exec_quantum, in xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked() 2093 unsigned int totalvfs = xe_gt_sriov_pf_get_totalvfs(gt); in xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked() local 2099 for (n = 0; n <= totalvfs; n++) { in xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked() 2105 return pf_config_bulk_set_u32_done(gt, 0, 1 + totalvfs, preempt_timeout, in xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked()
|
| /linux/drivers/vdpa/octeon_ep/ |
| H A D | octep_vdpa_main.c | 799 int totalvfs; in octep_vdpa_pf_setup() local 803 totalvfs = pci_sriov_get_totalvfs(pdev); in octep_vdpa_pf_setup() 804 if (unlikely(!totalvfs)) { in octep_vdpa_pf_setup() 805 dev_info(&pdev->dev, "Total VFs are %d in PF sriov configuration\n", totalvfs); in octep_vdpa_pf_setup() 818 octpf->vf_stride = len / totalvfs; in octep_vdpa_pf_setup()
|
| /linux/drivers/misc/genwqe/ |
| H A D | card_base.c | 363 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()
|
| /linux/Documentation/translations/zh_CN/PCI/ |
| H A D | pci-iov-howto.rst | 51 复,例如,如果启用VF,检查numvfs == 0,确保numvfs <= totalvfs。
|
| /linux/Documentation/PCI/ |
| H A D | pci-iov-howto.rst | 50 numvfs <= totalvfs.
|