Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/gem/
Di915_gem_context.c392 unsigned num_engines; member
415 if (idx >= set->num_engines) { in set_proto_ctx_engines_balance()
417 idx, set->num_engines); in set_proto_ctx_engines_balance()
421 idx = array_index_nospec(idx, set->num_engines); in set_proto_ctx_engines_balance()
506 if (idx >= set->num_engines) { in set_proto_ctx_engines_bond()
509 idx, set->num_engines); in set_proto_ctx_engines_bond()
513 idx = array_index_nospec(idx, set->num_engines); in set_proto_ctx_engines_bond()
607 if (slot >= set->num_engines) { in set_proto_ctx_engines_parallel_submit()
609 slot, set->num_engines); in set_proto_ctx_engines_parallel_submit()
756 set.num_engines = (args->size - sizeof(*user)) / sizeof(*user->engines); in set_proto_ctx_engines()
[all …]
Di915_gem_context_types.h52 unsigned int num_engines; member
Di915_gem_context.h214 else if (likely(idx < e->num_engines && e->engines[idx])) in i915_gem_context_get_engine()
/drivers/gpu/drm/i915/gt/uc/
Dselftest_guc_multi_lrc.c13 static void logical_sort(struct intel_engine_cs **engines, int num_engines) in logical_sort() argument
18 for (i = 0; i < num_engines; ++i) in logical_sort()
27 sizeof(struct intel_engine_cs *) * num_engines); in logical_sort()
/drivers/crypto/intel/qat/qat_common/
Dadf_hw_arbiter.c41 for_each_set_bit(i, &ae_mask, hw_data->num_engines) in adf_init_arb()
98 for (i = 0; i < hw_data->num_engines; i++) in adf_exit_arb()
Dadf_heartbeat.c59 const size_t max_aes = accel_dev->hw_device->num_engines; in validate_hb_ctrs_cnt()
87 const size_t max_aes = accel_dev->hw_device->num_engines; in adf_heartbeat_check_ctrs()
170 const size_t max_aes = hw_device->num_engines; in adf_hb_get_status()
Dadf_accel_devices.h237 u8 num_engines; member
266 #define GET_MAX_ACCELENGINES(accel_dev) (GET_HW_DATA(accel_dev)->num_engines)
Dadf_gen2_hw_data.c35 for_each_set_bit(i, &ae_mask, hw_data->num_engines) { in adf_gen2_enable_error_correction()
/drivers/gpu/drm/i915/gt/
Dintel_ring_submission.c695 const int num_engines = in mi_set_context() local
696 IS_HASWELL(i915) ? engine->gt->info.num_engines - 1 : 0; in mi_set_context()
703 len += 2 + (num_engines ? 4 * num_engines + 6 : 0); in mi_set_context()
720 if (num_engines) { in mi_set_context()
723 *cs++ = MI_LOAD_REGISTER_IMM(num_engines); in mi_set_context()
773 if (num_engines) { in mi_set_context()
777 *cs++ = MI_LOAD_REGISTER_IMM(num_engines); in mi_set_context()
Dintel_engine.h294 unsigned int num_engines, in intel_engine_create_parallel() argument
298 return engines[0]->cops->create_parallel(engines, num_engines, width); in intel_engine_create_parallel()
Dintel_gt_types.h266 u8 num_engines; member
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c283 for (i = 0; i < dmm->num_engines; i++) { in omap_dmm_irq_handler()
754 REFILL_BUFFER_SIZE * omap_dmm->num_engines, in omap_dmm_remove()
836 omap_dmm->num_engines = (hwinfo >> 24) & 0x1F; in omap_dmm_probe()
841 atomic_set(&omap_dmm->engine_counter, omap_dmm->num_engines); in omap_dmm_probe()
877 REFILL_BUFFER_SIZE * omap_dmm->num_engines, in omap_dmm_probe()
886 omap_dmm->engines = kcalloc(omap_dmm->num_engines, in omap_dmm_probe()
893 for (i = 0; i < omap_dmm->num_engines; i++) { in omap_dmm_probe()
Domap_dmm_priv.h168 int num_engines; member
/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c318 count = engines->num_engines; in live_parallel_switch()
1369 unsigned long idx, ndwords, dw, num_engines; in igt_ctx_readonly() local
1409 num_engines = 0; in igt_ctx_readonly()
1412 num_engines++; in igt_ctx_readonly()
1461 ndwords, num_engines); in igt_ctx_readonly()
1775 unsigned long num_engines, count; in igt_vm_isolation() local
1841 num_engines = 0; in igt_vm_isolation()
1883 num_engines++; in igt_vm_isolation()
1886 count, num_engines); in igt_vm_isolation()
Dmock_context.c136 engines->num_engines = 1; in live_context_for_engine()
/drivers/infiniband/hw/hfi1/
Dsdma.c1253 void sdma_clean(struct hfi1_devdata *dd, size_t num_engines) in sdma_clean() argument
1272 for (i = 0; dd->per_sdma && i < num_engines; ++i) { in sdma_clean()
1329 size_t num_engines = chip_sdma_engines(dd); in sdma_init() local
1341 num_engines = mod_num_sdma; in sdma_init()
1349 chip_sdma_mem_size(dd) / (num_engines * SDMA_BLOCK_SIZE); in sdma_init()
1357 num_engines, descq_cnt); in sdma_init()
1360 dd->per_sdma = kcalloc_node(num_engines, sizeof(*dd->per_sdma), in sdma_init()
1377 for (this_idx = 0; this_idx < num_engines; ++this_idx) { in sdma_init()
1443 dd->sdma_heads_size = L1_CACHE_BYTES * num_engines; in sdma_init()
1464 for (this_idx = 0; this_idx < num_engines; ++this_idx) { in sdma_init()
[all …]
/drivers/crypto/intel/qat/qat_c62xvf/
Dadf_c62xvf_hw_data.c69 hw_data->num_engines = ADF_C62XIOV_MAX_ACCELENGINES; in adf_init_hw_data_c62xiov()
/drivers/crypto/intel/qat/qat_c3xxxvf/
Dadf_c3xxxvf_hw_data.c69 hw_data->num_engines = ADF_C3XXXIOV_MAX_ACCELENGINES; in adf_init_hw_data_c3xxxiov()
/drivers/crypto/intel/qat/qat_dh895xccvf/
Dadf_dh895xccvf_hw_data.c69 hw_data->num_engines = ADF_DH895XCCIOV_MAX_ACCELENGINES; in adf_init_hw_data_dh895xcciov()
/drivers/gpu/drm/i915/
Di915_perf_types.h426 u32 num_engines; member
Di915_query.c152 if (query.num_engines || query.rsvd[0] || query.rsvd[1] || in query_engine_info()
168 query.num_engines++; in query_engine_info()
/drivers/crypto/intel/qat/qat_c3xxx/
Dadf_c3xxx_hw_data.c122 hw_data->num_engines = ADF_C3XXX_MAX_ACCELENGINES; in adf_init_hw_data_c3xxx()
/drivers/crypto/intel/qat/qat_c62x/
Dadf_c62x_hw_data.c124 hw_data->num_engines = ADF_C62X_MAX_ACCELENGINES; in adf_init_hw_data_c62x()
/drivers/accel/habanalabs/common/
Dcommand_submission.c2486 u32 num_engines, enum hl_engine_command command) in cs_ioctl_engines() argument
2505 if (!num_engines || num_engines > max_num_of_engines) { in cs_ioctl_engines()
2506 dev_err(hdev->dev, "Number of engines %d is invalid\n", num_engines); in cs_ioctl_engines()
2511 engines = kmalloc_array(num_engines, sizeof(u32), GFP_KERNEL); in cs_ioctl_engines()
2515 if (copy_from_user(engines, engines_arr, num_engines * sizeof(u32))) { in cs_ioctl_engines()
2521 rc = hdev->asic_funcs->set_engines(hdev, engines, num_engines, command); in cs_ioctl_engines()
2600 args->in.num_engines, args->in.engine_command); in hl_cs_ioctl()
/drivers/crypto/intel/qat/qat_dh895xcc/
Dadf_dh895xcc_hw_data.c218 hw_data->num_engines = ADF_DH895XCC_MAX_ACCELENGINES; in adf_init_hw_data_dh895xcc()

12