Home
last modified time | relevance | path

Searched refs:num_engines (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.10/drivers/crypto/qat/qat_common/
Dadf_hw_arbiter.c49 for (i = 0; i < hw_data->num_engines; i++) in adf_init_arb()
58 for (i = 0; i < hw_data->num_engines; i++) in adf_init_arb()
88 for (i = 0; i < hw_data->num_engines; i++) in adf_exit_arb()
92 for (i = 0; i < hw_data->num_engines; i++) in adf_exit_arb()
Dadf_accel_devices.h143 u8 num_engines; member
158 #define GET_MAX_ACCELENGINES(accel_dev) (GET_HW_DATA(accel_dev)->num_engines)
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_context.c248 __free_engines(e, e->num_engines); in free_engines()
322 __free_engines(e, e->num_engines + 1); in default_engines()
329 e->num_engines = max(e->num_engines, engine->legacy_idx); in default_engines()
331 e->num_engines++; in default_engines()
1606 if (idx >= set->engines->num_engines) { in set_engines__load_balance()
1608 idx, set->engines->num_engines); in set_engines__load_balance()
1612 idx = array_index_nospec(idx, set->engines->num_engines); in set_engines__load_balance()
1696 if (idx >= set->engines->num_engines) { in set_engines__bond()
1699 idx, set->engines->num_engines); in set_engines__bond()
1703 idx = array_index_nospec(idx, set->engines->num_engines); in set_engines__bond()
[all …]
Di915_gem_context_types.h40 unsigned int num_engines; member
Di915_gem_context.h201 else if (likely(idx < e->num_engines && e->engines[idx])) in i915_gem_context_get_engine()
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_ring_submission.c662 const int num_engines = in mi_set_context() local
663 IS_HASWELL(i915) ? engine->gt->info.num_engines - 1 : 0; in mi_set_context()
670 len += 2 + (num_engines ? 4 * num_engines + 6 : 0); in mi_set_context()
687 if (num_engines) { in mi_set_context()
690 *cs++ = MI_LOAD_REGISTER_IMM(num_engines); in mi_set_context()
740 if (num_engines) { in mi_set_context()
744 *cs++ = MI_LOAD_REGISTER_IMM(num_engines); in mi_set_context()
Dintel_gt_types.h115 u8 num_engines; member
/Linux-v5.10/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c290 for (i = 0; i < dmm->num_engines; i++) { in omap_dmm_irq_handler()
761 REFILL_BUFFER_SIZE * omap_dmm->num_engines, in omap_dmm_remove()
847 omap_dmm->num_engines = (hwinfo >> 24) & 0x1F; in omap_dmm_probe()
852 atomic_set(&omap_dmm->engine_counter, omap_dmm->num_engines); in omap_dmm_probe()
888 REFILL_BUFFER_SIZE * omap_dmm->num_engines, in omap_dmm_probe()
896 omap_dmm->engines = kcalloc(omap_dmm->num_engines, in omap_dmm_probe()
903 for (i = 0; i < omap_dmm->num_engines; i++) { in omap_dmm_probe()
Domap_dmm_priv.h176 int num_engines; member
/Linux-v5.10/drivers/crypto/qat/qat_c3xxxvf/
Dadf_c3xxxvf_hw_data.c74 hw_data->num_engines = ADF_C3XXXIOV_MAX_ACCELENGINES; in adf_init_hw_data_c3xxxiov()
/Linux-v5.10/drivers/crypto/qat/qat_c62xvf/
Dadf_c62xvf_hw_data.c74 hw_data->num_engines = ADF_C62XIOV_MAX_ACCELENGINES; in adf_init_hw_data_c62xiov()
/Linux-v5.10/drivers/crypto/qat/qat_dh895xccvf/
Dadf_dh895xccvf_hw_data.c74 hw_data->num_engines = ADF_DH895XCCIOV_MAX_ACCELENGINES; in adf_init_hw_data_dh895xcciov()
/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c308 count = engines->num_engines; in live_parallel_switch()
1353 unsigned long idx, ndwords, dw, num_engines; in igt_ctx_readonly() local
1393 num_engines = 0; in igt_ctx_readonly()
1396 num_engines++; in igt_ctx_readonly()
1445 ndwords, num_engines); in igt_ctx_readonly()
1777 unsigned long num_engines, count; in igt_vm_isolation() local
1831 num_engines = 0; in igt_vm_isolation()
1873 num_engines++; in igt_vm_isolation()
1876 count, num_engines); in igt_vm_isolation()
Dmock_context.c129 engines->num_engines = 1; in live_context_for_engine()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dsdma.c1295 void sdma_clean(struct hfi1_devdata *dd, size_t num_engines) in sdma_clean() argument
1314 for (i = 0; dd->per_sdma && i < num_engines; ++i) { in sdma_clean()
1369 size_t num_engines = chip_sdma_engines(dd); in sdma_init() local
1381 num_engines = mod_num_sdma; in sdma_init()
1389 chip_sdma_mem_size(dd) / (num_engines * SDMA_BLOCK_SIZE); in sdma_init()
1397 num_engines, descq_cnt); in sdma_init()
1400 dd->per_sdma = kcalloc_node(num_engines, sizeof(*dd->per_sdma), in sdma_init()
1417 for (this_idx = 0; this_idx < num_engines; ++this_idx) { in sdma_init()
1483 dd->sdma_heads_size = L1_CACHE_BYTES * num_engines; in sdma_init()
1504 for (this_idx = 0; this_idx < num_engines; ++this_idx) { in sdma_init()
[all …]
Dsdma.h415 void sdma_clean(struct hfi1_devdata *dd, size_t num_engines);
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_query.c118 if (query.num_engines || query.rsvd[0] || query.rsvd[1] || in query_engine_info()
132 query.num_engines++; in query_engine_info()
/Linux-v5.10/drivers/crypto/qat/qat_c3xxx/
Dadf_c3xxx_hw_data.c161 hw_data->num_engines = ADF_C3XXX_MAX_ACCELENGINES; in adf_init_hw_data_c3xxx()
/Linux-v5.10/drivers/crypto/qat/qat_c62x/
Dadf_c62x_hw_data.c171 hw_data->num_engines = ADF_C62X_MAX_ACCELENGINES; in adf_init_hw_data_c62x()
/Linux-v5.10/drivers/crypto/qat/qat_dh895xcc/
Dadf_dh895xcc_hw_data.c184 hw_data->num_engines = ADF_DH895XCC_MAX_ACCELENGINES; in adf_init_hw_data_dh895xcc()
/Linux-v5.10/drivers/dma/idxd/
Dregisters.h75 u64 num_engines:8; member
Didxd.h44 int num_engines; member
Dsysfs.c431 engine->group->num_engines--; in engine_group_id_store()
440 prevg->num_engines--; in engine_group_id_store()
442 engine->group->num_engines++; in engine_group_id_store()
555 if (val < 4 * group->num_engines || in group_tokens_allowed_store()
Dinit.c247 idxd->max_engines = idxd->hw.engine_cap.num_engines; in idxd_read_caps()
/Linux-v5.10/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c430 ce = engines->engines[order[i] % engines->num_engines]; in igt_gpu_write()

12