/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/ |
D | mock_context.c | 30 INIT_LIST_HEAD(&ctx->stale.engines); in mock_context() 51 RCU_INIT_POINTER(ctx->engines, e); in mock_context() 112 struct i915_gem_engines *engines; in live_context_for_engine() local 117 engines = alloc_engines(1); in live_context_for_engine() 118 if (!engines) in live_context_for_engine() 123 __free_engines(engines, 0); in live_context_for_engine() 129 __free_engines(engines, 0); in live_context_for_engine() 134 engines->engines[0] = ce; in live_context_for_engine() 135 engines->num_engines = 1; in live_context_for_engine() 139 engines = rcu_replace_pointer(ctx->engines, engines, 1); in live_context_for_engine() [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | selftest_rc6.c | 163 struct intel_engine_cs *engine, **engines; in randomised_engines() local 173 engines = kmalloc_array(n, sizeof(*engines), GFP_KERNEL); in randomised_engines() 174 if (!engines) in randomised_engines() 179 engines[n++] = engine; in randomised_engines() 181 i915_prandom_shuffle(engines, sizeof(*engines), n, prng); in randomised_engines() 184 return engines; in randomised_engines() 190 struct intel_engine_cs **engines; in live_rc6_ctx_wa() local 199 engines = randomised_engines(gt, &prng, &count); in live_rc6_ctx_wa() 200 if (!engines) in live_rc6_ctx_wa() 204 struct intel_engine_cs *engine = engines[n]; in live_rc6_ctx_wa() [all …]
|
D | intel_engine_user.c | 79 struct list_head *engines) in sort_engines() argument 87 list_add((struct list_head *)&engine->uabi_node, engines); in sort_engines() 89 list_sort(NULL, engines, engine_cmp); in sort_engines() 196 LIST_HEAD(engines); in intel_engines_driver_register() 198 sort_engines(i915, &engines); in intel_engines_driver_register() 202 list_for_each_safe(it, next, &engines) { in intel_engines_driver_register()
|
D | debugfs_engines.c | 27 DEFINE_GT_DEBUGFS_ATTRIBUTE(engines);
|
/Linux-v5.15/drivers/gpu/drm/i915/gem/ |
D | i915_gem_context.c | 342 struct i915_gem_proto_engine *engines; member 371 if (set->engines[idx].type != I915_GEM_ENGINE_TYPE_INVALID) { in set_proto_ctx_engines_balance() 398 if (copy_from_user(&ci, &ext->engines[n], sizeof(ci))) { in set_proto_ctx_engines_balance() 416 set->engines[idx].type = I915_GEM_ENGINE_TYPE_PHYSICAL; in set_proto_ctx_engines_balance() 417 set->engines[idx].engine = siblings[0]; in set_proto_ctx_engines_balance() 420 set->engines[idx].type = I915_GEM_ENGINE_TYPE_BALANCED; in set_proto_ctx_engines_balance() 421 set->engines[idx].num_siblings = num_siblings; in set_proto_ctx_engines_balance() 422 set->engines[idx].siblings = siblings; in set_proto_ctx_engines_balance() 456 if (set->engines[idx].type == I915_GEM_ENGINE_TYPE_INVALID) { in set_proto_ctx_engines_bond() 461 if (set->engines[idx].type != I915_GEM_ENGINE_TYPE_PHYSICAL) { in set_proto_ctx_engines_bond() [all …]
|
D | i915_gem_context.h | 175 return rcu_dereference_protected(ctx->engines, in i915_gem_context_engines() 200 struct i915_gem_engines *e = rcu_dereference(ctx->engines); in i915_gem_context_get_engine() 203 else if (likely(idx < e->num_engines && e->engines[idx])) in i915_gem_context_get_engine() 204 ce = intel_context_get(e->engines[idx]); in i915_gem_context_get_engine() 214 struct i915_gem_engines *engines) in i915_gem_engines_iter_init() argument 216 it->engines = engines; in i915_gem_engines_iter_init() 223 #define for_each_gem_engine(ce, engines, it) \ argument 224 for (i915_gem_engines_iter_init(&(it), (engines)); \
|
D | i915_gem_context_types.h | 55 struct intel_context *engines[]; member 66 const struct i915_gem_engines *engines; member 237 struct i915_gem_engines __rcu *engines; member 359 struct list_head engines; member
|
/Linux-v5.15/drivers/crypto/marvell/cesa/ |
D | cesa.c | 377 struct mv_cesa_engine *engine = &cesa->engines[idx]; in mv_cesa_get_sram() 422 struct mv_cesa_engine *engine = &cesa->engines[idx]; in mv_cesa_put_sram() 439 struct mv_cesa_engine *engines; in mv_cesa_probe() local 470 cesa->engines = devm_kcalloc(dev, caps->nengines, sizeof(*engines), in mv_cesa_probe() 472 if (!cesa->engines) in mv_cesa_probe() 490 struct mv_cesa_engine *engine = &cesa->engines[i]; in mv_cesa_probe() 574 clk_disable_unprepare(cesa->engines[i].zclk); in mv_cesa_probe() 575 clk_disable_unprepare(cesa->engines[i].clk); in mv_cesa_probe() 577 if (cesa->engines[i].irq > 0) in mv_cesa_probe() 578 irq_set_affinity_hint(cesa->engines[i].irq, NULL); in mv_cesa_probe() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/fsi/ |
D | fsi.txt | 5 engines within those slaves. However, we have a facility to match devicetree 6 nodes to probed engines. This allows for fsi engines to expose non-probeable 16 represent the FSI slaves and their slave engines. As a basic outline: 41 adding subordinate device tree nodes as children of FSI engines. 79 Each slave provides an address-space, under which the engines are accessible. 91 FSI engines (devices) 116 additional engines, but they don't necessarily need to be describe in the
|
/Linux-v5.15/Documentation/netlabel/ |
D | introduction.rst | 15 is composed of three main components, the protocol engines, the communication 21 The protocol engines are responsible for both applying and retrieving the 25 refrain from calling the protocol engines directly, instead they should use 45 independent interface to the underlying NetLabel protocol engines. In addition
|
/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-bus-hsi | 8 engines (APE) with cellular modem engines (CMT) in cellular
|
D | debugfs-driver-habanalabs | 18 registers of the TPC and MME engines. This is sometimes needed 26 8 - 11 MME engines 27 12 - 19 TPC engines 129 What: /sys/kernel/debug/habanalabs/hl<n>/engines 133 Description: Displays the status registers values of the device engines and 233 Description: Sets the stop-on_error option for the device engines. Value of
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 297 if (dmm->engines[i].async) in omap_dmm_irq_handler() 298 release_engine(&dmm->engines[i]); in omap_dmm_irq_handler() 300 complete(&dmm->engines[i].compl); in omap_dmm_irq_handler() 758 kfree(omap_dmm->engines); in omap_dmm_remove() 897 omap_dmm->engines = kcalloc(omap_dmm->num_engines, in omap_dmm_probe() 898 sizeof(*omap_dmm->engines), GFP_KERNEL); in omap_dmm_probe() 899 if (!omap_dmm->engines) { in omap_dmm_probe() 905 omap_dmm->engines[i].id = i; in omap_dmm_probe() 906 omap_dmm->engines[i].dmm = omap_dmm; in omap_dmm_probe() 907 omap_dmm->engines[i].refill_va = omap_dmm->refill_va + in omap_dmm_probe() [all …]
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvif/ |
D | fifo.c | 64 device->runlist[i].engines = a->v.runlist[i].data; in nvif_fifo_runlists() 82 if (device->runlist[i].engines & engine) in nvif_fifo_runlist()
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | ralink,rt2880-net.txt | 17 - interrupts: Should contain the frame engines interrupt 18 - resets: Should contain the frame engines resets
|
/Linux-v5.15/drivers/dma/idxd/ |
D | device.c | 679 engine = idxd->engines[i]; in idxd_engines_clear_state() 775 iowrite64(group->grpcfg.engines, idxd->reg_base + grpcfg_offset); in idxd_group_config_write() 950 int i, engines = 0; in idxd_engines_setup() local 956 group->grpcfg.engines = 0; in idxd_engines_setup() 960 eng = idxd->engines[i]; in idxd_engines_setup() 966 group->grpcfg.engines |= BIT(eng->id); in idxd_engines_setup() 967 engines++; in idxd_engines_setup() 970 if (!engines) in idxd_engines_setup() 1111 group->grpcfg.engines = ioread64(idxd->reg_base + grpcfg_offset); in idxd_group_load_config() 1113 grpcfg_offset, group->grpcfg.engines); in idxd_group_load_config() [all …]
|
D | init.c | 269 idxd->engines = kcalloc_node(idxd->max_engines, sizeof(struct idxd_engine *), in idxd_setup_engines() 271 if (!idxd->engines) in idxd_setup_engines() 295 idxd->engines[i] = engine; in idxd_setup_engines() 302 engine = idxd->engines[i]; in idxd_setup_engines() 369 put_device(engine_confdev(idxd->engines[i])); in idxd_cleanup_internals() 414 put_device(engine_confdev(idxd->engines[i])); in idxd_setup_internals()
|
/Linux-v5.15/include/uapi/drm/ |
D | i915_drm.h | 2001 struct i915_engine_class_instance engines[0]; member 2010 struct i915_engine_class_instance engines[N__]; \ 2039 struct i915_engine_class_instance engines[0]; member 2049 struct i915_engine_class_instance engines[N__]; \ 2111 struct i915_engine_class_instance engines[0]; member 2116 struct i915_engine_class_instance engines[N__]; \ 2753 struct drm_i915_engine_info engines[]; member
|
/Linux-v5.15/tools/include/uapi/drm/ |
D | i915_drm.h | 2001 struct i915_engine_class_instance engines[0]; member 2010 struct i915_engine_class_instance engines[N__]; \ 2039 struct i915_engine_class_instance engines[0]; member 2049 struct i915_engine_class_instance engines[N__]; \ 2111 struct i915_engine_class_instance engines[0]; member 2116 struct i915_engine_class_instance engines[N__]; \ 2753 struct drm_i915_engine_info engines[]; member
|
/Linux-v5.15/Documentation/gpu/rfc/ |
D | i915_parallel_execbuf.h | 119 struct i915_engine_class_instance engines[0]; member
|
/Linux-v5.15/Documentation/devicetree/bindings/powerpc/4xx/ |
D | ppc440spe-adma.txt | 5 for DMA engines and Memory Queue Module node. The latter is used 40 for both DMA engines>.
|
/Linux-v5.15/drivers/hsi/ |
D | Kconfig | 10 application engines and cellular modems.
|
/Linux-v5.15/drivers/gpu/drm/i915/selftests/ |
D | i915_request.c | 2986 } *engines; in perf_parallel_engines() local 2989 engines = kcalloc(nengines, sizeof(*engines), GFP_KERNEL); in perf_parallel_engines() 2990 if (!engines) in perf_parallel_engines() 3011 memset(&engines[idx].p, 0, sizeof(engines[idx].p)); in perf_parallel_engines() 3012 engines[idx].p.engine = engine; in perf_parallel_engines() 3014 engines[idx].tsk = kthread_run(*fn, &engines[idx].p, in perf_parallel_engines() 3016 if (IS_ERR(engines[idx].tsk)) { in perf_parallel_engines() 3017 err = PTR_ERR(engines[idx].tsk); in perf_parallel_engines() 3021 get_task_struct(engines[idx++].tsk); in perf_parallel_engines() 3030 if (IS_ERR(engines[idx].tsk)) in perf_parallel_engines() [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_resource.c | 822 if (pool->base.engines[i] != NULL) in dce60_resource_destruct() 823 dce110_engine_destroy(&pool->base.engines[i]); in dce60_resource_destruct() 1073 pool->base.engines[i] = dce60_aux_engine_create(ctx, i); in dce60_construct() 1074 if (pool->base.engines[i] == NULL) { in dce60_construct() 1270 pool->base.engines[i] = dce60_aux_engine_create(ctx, i); in dce61_construct() 1271 if (pool->base.engines[i] == NULL) { in dce61_construct() 1463 pool->base.engines[i] = dce60_aux_engine_create(ctx, i); in dce64_construct() 1464 if (pool->base.engines[i] == NULL) { in dce64_construct()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_resource.c | 827 if (pool->base.engines[i] != NULL) in dce80_resource_destruct() 828 dce110_engine_destroy(&pool->base.engines[i]); in dce80_resource_destruct() 1084 pool->base.engines[i] = dce80_aux_engine_create(ctx, i); in dce80_construct() 1085 if (pool->base.engines[i] == NULL) { in dce80_construct() 1283 pool->base.engines[i] = dce80_aux_engine_create(ctx, i); in dce81_construct() 1284 if (pool->base.engines[i] == NULL) { in dce81_construct() 1478 pool->base.engines[i] = dce80_aux_engine_create(ctx, i); in dce83_construct() 1479 if (pool->base.engines[i] == NULL) { in dce83_construct()
|