/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sunxi_engine.h | 26 * This callback allows to prepare our engine for an atomic 33 void (*atomic_begin)(struct sunxi_engine *engine, 50 int (*atomic_check)(struct sunxi_engine *engine, 62 void (*commit)(struct sunxi_engine *engine); 68 * the layers supported by that engine. 78 struct sunxi_engine *engine); 84 * engine. This is useful only for the composite output. 88 void (*apply_color_correction)(struct sunxi_engine *engine); 94 * engine. This is useful only for the composite output. 98 void (*disable_color_correction)(struct sunxi_engine *engine); 149 sunxi_engine_commit(struct sunxi_engine *engine) argument 161 sunxi_engine_layers_init(struct drm_device *drm, struct sunxi_engine *engine) argument 178 sunxi_engine_apply_color_correction(struct sunxi_engine *engine) argument 191 sunxi_engine_disable_color_correction(struct sunxi_engine *engine) argument 205 sunxi_engine_mode_set(struct sunxi_engine *engine, const struct drm_display_mode *mode) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_pm.h | 17 intel_engine_pm_is_awake(const struct intel_engine_cs *engine) argument 19 return intel_wakeref_is_active(&engine->wakeref); 22 static inline void __intel_engine_pm_get(struct intel_engine_cs *engine) argument 24 __intel_wakeref_get(&engine->wakeref); 27 static inline void intel_engine_pm_get(struct intel_engine_cs *engine) argument 29 intel_wakeref_get(&engine->wakeref); 32 static inline bool intel_engine_pm_get_if_awake(struct intel_engine_cs *engine) argument 34 return intel_wakeref_get_if_active(&engine->wakeref); 37 static inline void intel_engine_pm_might_get(struct intel_engine_cs *engine) argument 39 if (!intel_engine_is_virtual(engine)) { 52 intel_engine_pm_put(struct intel_engine_cs *engine) argument 57 intel_engine_pm_put_async(struct intel_engine_cs *engine) argument 62 intel_engine_pm_put_delay(struct intel_engine_cs *engine, unsigned long delay) argument 68 intel_engine_pm_flush(struct intel_engine_cs *engine) argument 73 intel_engine_pm_might_put(struct intel_engine_cs *engine) argument 89 intel_engine_create_kernel_request(struct intel_engine_cs *engine) argument [all...] |
H A D | selftest_engine_heartbeat.h | 11 void st_engine_heartbeat_disable(struct intel_engine_cs *engine); 12 void st_engine_heartbeat_disable_no_pm(struct intel_engine_cs *engine); 13 void st_engine_heartbeat_enable(struct intel_engine_cs *engine); 14 void st_engine_heartbeat_enable_no_pm(struct intel_engine_cs *engine);
|
H A D | intel_engine_heartbeat.h | 12 void intel_engine_init_heartbeat(struct intel_engine_cs *engine); 14 int intel_engine_set_heartbeat(struct intel_engine_cs *engine, 17 void intel_engine_park_heartbeat(struct intel_engine_cs *engine); 18 void intel_engine_unpark_heartbeat(struct intel_engine_cs *engine); 23 int intel_engine_pulse(struct intel_engine_cs *engine); 24 int intel_engine_flush_barriers(struct intel_engine_cs *engine);
|
H A D | intel_engine_heartbeat.c | 17 * While the engine is active, we send a periodic pulse along the engine 19 * is stuck, and we fail to preempt it, we declare the engine hung and 23 static bool next_heartbeat(struct intel_engine_cs *engine) argument 28 delay = READ_ONCE(engine->props.heartbeat_interval_ms); 30 rq = engine->heartbeat.systole; 42 delay == engine->defaults.heartbeat_interval_ms) { 50 longer = READ_ONCE(engine->props.preempt_timeout_ms) * 2; 51 longer = intel_clamp_heartbeat_interval_ms(engine, longer); 62 mod_delayed_work(system_highpri_wq, &engine 79 idle_pulse(struct intel_engine_cs *engine, struct i915_request *rq) argument 96 show_heartbeat(const struct i915_request *rq, struct intel_engine_cs *engine) argument 117 reset_engine(struct intel_engine_cs *engine, struct i915_request *rq) argument 139 struct intel_engine_cs *engine = local 237 intel_engine_unpark_heartbeat(struct intel_engine_cs *engine) argument 245 intel_engine_park_heartbeat(struct intel_engine_cs *engine) argument 253 struct intel_engine_cs *engine; local 263 struct intel_engine_cs *engine; local 270 intel_engine_init_heartbeat(struct intel_engine_cs *engine) argument 275 __intel_engine_pulse(struct intel_engine_cs *engine) argument 300 set_heartbeat(struct intel_engine_cs *engine, unsigned long delay) argument 314 intel_engine_set_heartbeat(struct intel_engine_cs *engine, unsigned long delay) argument 358 intel_engine_pulse(struct intel_engine_cs *engine) argument 380 intel_engine_flush_barriers(struct intel_engine_cs *engine) argument [all...] |
H A D | intel_ring_submission.c | 35 static void set_hwstam(struct intel_engine_cs *engine, u32 mask) argument 41 if (engine->class == RENDER_CLASS) { 42 if (GRAPHICS_VER(engine->i915) >= 6) 48 intel_engine_set_hwsp_writemask(engine, mask); 51 static void set_hws_pga(struct intel_engine_cs *engine, phys_addr_t phys) argument 56 if (GRAPHICS_VER(engine->i915) >= 4) 59 intel_uncore_write(engine->uncore, HWS_PGA, addr); 62 static struct page *status_page(struct intel_engine_cs *engine) argument 64 struct drm_i915_gem_object *obj = engine->status_page.vma->obj; 70 static void ring_setup_phys_status_page(struct intel_engine_cs *engine) argument 76 set_hwsp(struct intel_engine_cs *engine, u32 offset) argument 116 flush_cs_tlb(struct intel_engine_cs *engine) argument 137 ring_setup_status_page(struct intel_engine_cs *engine) argument 158 set_pp_dir(struct intel_engine_cs *engine) argument 175 stop_ring(struct intel_engine_cs *engine) argument 192 xcs_resume(struct intel_engine_cs *engine) argument 275 sanitize_hwsp(struct intel_engine_cs *engine) argument 283 xcs_sanitize(struct intel_engine_cs *engine) argument 310 reset_prepare(struct intel_engine_cs *engine) argument 352 reset_rewind(struct intel_engine_cs *engine, bool stalled) argument 419 reset_finish(struct intel_engine_cs *engine) argument 423 reset_cancel(struct intel_engine_cs *engine) argument 527 alloc_context_vma(struct intel_engine_cs *engine) argument 571 struct intel_engine_cs *engine = ce->engine; local 607 struct intel_engine_cs *engine; local 625 struct intel_engine_cs *engine = NULL; local 658 const struct intel_engine_cs * const engine = rq->engine; local 692 struct intel_engine_cs *engine = rq->engine; local 884 struct intel_engine_cs *engine = rq->engine; local 915 struct intel_engine_cs *engine = rq->engine; local 1043 i9xx_set_default_submission(struct intel_engine_cs *engine) argument 1048 gen6_bsd_set_default_submission(struct intel_engine_cs *engine) argument 1053 ring_release(struct intel_engine_cs *engine) argument 1074 irq_handler(struct intel_engine_cs *engine, u16 iir) argument 1079 setup_irq(struct intel_engine_cs *engine) argument 1119 setup_common(struct intel_engine_cs *engine) argument 1163 setup_rcs(struct intel_engine_cs *engine) argument 1192 setup_vcs(struct intel_engine_cs *engine) argument 1216 setup_bcs(struct intel_engine_cs *engine) argument 1229 setup_vecs(struct intel_engine_cs *engine) argument 1243 gen7_ctx_switch_bb_setup(struct intel_engine_cs * const engine, struct i915_vma * const vma) argument 1249 gen7_ctx_switch_bb_init(struct intel_engine_cs *engine, struct i915_gem_ww_ctx *ww, struct i915_vma *vma) argument 1275 gen7_ctx_vma(struct intel_engine_cs *engine) argument 1313 intel_ring_submission_setup(struct intel_engine_cs *engine) argument [all...] |
H A D | selftest_engine_heartbeat.c | 14 static void reset_heartbeat(struct intel_engine_cs *engine) argument 16 intel_engine_set_heartbeat(engine, 17 engine->defaults.heartbeat_interval_ms); 37 static int engine_sync_barrier(struct intel_engine_cs *engine) argument 39 return timeline_sync(engine->kernel_context->timeline); 90 static int __live_idle_pulse(struct intel_engine_cs *engine, argument 96 GEM_BUG_ON(!intel_engine_pm_is_awake(engine)); 106 err = i915_active_acquire_preallocate_barrier(&p->active, engine); 116 GEM_BUG_ON(llist_empty(&engine->barrier_tasks)); 118 err = fn(engine); 157 struct intel_engine_cs *engine; local 177 struct intel_engine_cs *engine; local 203 __live_heartbeat_fast(struct intel_engine_cs *engine) argument 288 struct intel_engine_cs *engine; local 305 __live_heartbeat_off(struct intel_engine_cs *engine) argument 350 struct intel_engine_cs *engine; local 393 st_engine_heartbeat_disable(struct intel_engine_cs *engine) argument 401 st_engine_heartbeat_enable(struct intel_engine_cs *engine) argument 409 st_engine_heartbeat_disable_no_pm(struct intel_engine_cs *engine) argument 425 st_engine_heartbeat_enable_no_pm(struct intel_engine_cs *engine) argument [all...] |
H A D | intel_engine_pm.c | 20 static void intel_gsc_idle_msg_enable(struct intel_engine_cs *engine) argument 22 struct drm_i915_private *i915 = engine->i915; 24 if (MEDIA_VER(i915) >= 13 && engine->id == GSC0) { 25 intel_uncore_write(engine->gt->uncore, 29 intel_uncore_write(engine->gt->uncore, 42 int type = intel_gt_coherent_map_type(ce->engine->gt, obj, true); 60 struct intel_engine_cs *engine = local 61 container_of(wf, typeof(*engine), wakeref); 64 ENGINE_TRACE(engine, "\n"); 66 engine 109 __queue_and_release_pm(struct i915_request *rq, struct intel_timeline *tl, struct intel_engine_cs *engine) argument 151 switch_to_kernel_context(struct intel_engine_cs *engine) argument 245 call_idle_barriers(struct intel_engine_cs *engine) argument 260 struct intel_engine_cs *engine = local 295 intel_engine_init__pm(struct intel_engine_cs *engine) argument 311 intel_engine_reset_pinned_contexts(struct intel_engine_cs *engine) argument [all...] |
H A D | mock_engine.c | 60 static struct intel_ring *mock_ring(struct intel_engine_cs *engine) argument 75 ring->vma = create_ring_vma(engine->gt->ggtt, PAGE_SIZE); 93 static struct i915_request *first_request(struct mock_engine *engine) argument 95 return list_first_entry_or_null(&engine->hw_queue, 106 intel_engine_signal_breadcrumbs(request->engine); 111 struct mock_engine *engine = from_timer(engine, t, hw_delay); local 115 spin_lock_irqsave(&engine->hw_lock, flags); 118 request = first_request(engine); 126 while ((request = first_request(engine))) { 238 struct mock_engine *engine = local 264 struct intel_engine_cs *engine, *locked; local 284 mock_reset_prepare(struct intel_engine_cs *engine) argument 288 mock_reset_rewind(struct intel_engine_cs *engine, bool stalled) argument 293 mock_reset_cancel(struct intel_engine_cs *engine) argument 321 mock_reset_finish(struct intel_engine_cs *engine) argument 325 mock_engine_release(struct intel_engine_cs *engine) argument 345 struct mock_engine *engine; local 393 mock_engine_init(struct intel_engine_cs *engine) argument 429 mock_engine_flush(struct intel_engine_cs *engine) argument 443 mock_engine_reset(struct intel_engine_cs *engine) argument [all...] |
H A D | intel_workarounds.h | 24 void intel_engine_init_ctx_wa(struct intel_engine_cs *engine); 31 void intel_engine_init_whitelist(struct intel_engine_cs *engine); 32 void intel_engine_apply_whitelist(struct intel_engine_cs *engine); 34 void intel_engine_init_workarounds(struct intel_engine_cs *engine); 35 void intel_engine_apply_workarounds(struct intel_engine_cs *engine); 36 int intel_engine_verify_workarounds(struct intel_engine_cs *engine,
|
H A D | intel_engine_user.c | 39 void intel_engine_add_user(struct intel_engine_cs *engine) argument 41 llist_add(&engine->uabi_llist, &engine->i915->uabi_engines_llist); 87 struct intel_engine_cs *engine = local 88 container_of(pos, typeof(*engine), uabi_llist); 89 list_add(&engine->uabi_list, engines); 97 u8 engine; member in struct:__anon63 106 struct intel_engine_cs *engine; local 111 for_each_uabi_engine(engine, i915) { /* all engines must agree! */ 114 if (engine 181 add_legacy_ring(struct legacy_ring *ring, struct intel_engine_cs *engine) argument 195 engine_rename(struct intel_engine_cs *engine, const char *name, u16 instance) argument 217 struct intel_engine_cs *engine = local 262 struct intel_engine_cs *engine; local 317 struct intel_engine_cs *engine; local [all...] |
H A D | gen7_renderclear.h | 12 int gen7_setup_clear_gpr_bb(struct intel_engine_cs * const engine,
|
H A D | mock_engine.h | 26 int mock_engine_init(struct intel_engine_cs *engine); 28 void mock_engine_flush(struct intel_engine_cs *engine); 29 void mock_engine_reset(struct intel_engine_cs *engine); 30 void mock_engine_free(struct intel_engine_cs *engine);
|
H A D | intel_engine.h | 47 * ENGINE_READ(engine, REG_FOO); 52 * ENGINE_READ_IDX(engine, REG_BAR, i) 133 intel_read_status_page(const struct intel_engine_cs *engine, int reg) argument 136 return READ_ONCE(engine->status_page.addr[reg]); 140 intel_write_status_page(struct intel_engine_cs *engine, int reg, u32 value) argument 147 drm_clflush_virt_range(&engine->status_page.addr[reg], sizeof(value)); 148 WRITE_ONCE(engine->status_page.addr[reg], value); 149 drm_clflush_virt_range(&engine->status_page.addr[reg], sizeof(value)); 187 void intel_engine_stop(struct intel_engine_cs *engine); 188 void intel_engine_cleanup(struct intel_engine_cs *engine); 223 __intel_engine_reset(struct intel_engine_cs *engine, bool stalled) argument 235 intel_engine_flush_submission(struct intel_engine_cs *engine) argument 275 intel_engine_uses_guc(const struct intel_engine_cs *engine) argument 281 intel_engine_has_preempt_reset(const struct intel_engine_cs *engine) argument 304 intel_virtual_engine_has_heartbeat(const struct intel_engine_cs *engine) argument 318 intel_engine_has_heartbeat(const struct intel_engine_cs *engine) argument 330 intel_engine_get_sibling(struct intel_engine_cs *engine, unsigned int sibling) argument 337 intel_engine_set_hung_context(struct intel_engine_cs *engine, struct intel_context *ce) argument 344 intel_engine_clear_hung_context(struct intel_engine_cs *engine) argument 350 intel_engine_get_hung_context(struct intel_engine_cs *engine) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
H A D | vic.h | 4 #include <core/engine.h>
|
H A D | msenc.h | 4 #include <core/engine.h>
|
H A D | cipher.h | 4 #include <core/engine.h>
|
H A D | bsp.h | 4 #include <engine/xtensa.h>
|
H A D | vp.h | 4 #include <engine/xtensa.h>
|
H A D | sec.h | 4 #include <engine/falcon.h>
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | engine.c | 24 #include <core/engine.h> 31 nvkm_engine_chsw_load(struct nvkm_engine *engine) argument 33 if (engine->func->chsw_load) 34 return engine->func->chsw_load(engine); 39 nvkm_engine_reset(struct nvkm_engine *engine) argument 41 if (engine->func->reset) 42 return engine->func->reset(engine); 44 nvkm_subdev_fini(&engine 51 struct nvkm_engine *engine = *pengine; local 60 nvkm_engine_ref(struct nvkm_engine *engine) argument 74 nvkm_engine_tile(struct nvkm_engine *engine, int region) argument 84 struct nvkm_engine *engine = nvkm_engine(subdev); local 92 struct nvkm_engine *engine = nvkm_engine(subdev); local 103 struct nvkm_engine *engine = nvkm_engine(subdev); local 112 struct nvkm_engine *engine = nvkm_engine(subdev); local 127 struct nvkm_engine *engine = nvkm_engine(subdev); local 138 struct nvkm_engine *engine = nvkm_engine(subdev); local 147 struct nvkm_engine *engine = nvkm_engine(subdev); local 165 nvkm_engine_ctor(const struct nvkm_engine_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, bool enable, struct nvkm_engine *engine) argument [all...] |
/linux-master/crypto/ |
H A D | crypto_engine.c | 3 * Handle async block request by crypto hardware engine. 12 #include <crypto/internal/engine.h> 36 * @engine: the hardware engine 40 static void crypto_finalize_request(struct crypto_engine *engine, argument 50 if (!engine->retry_support) { 51 spin_lock_irqsave(&engine->queue_lock, flags); 52 if (engine->cur_req == req) { 53 engine->cur_req = NULL; 55 spin_unlock_irqrestore(&engine 73 crypto_pump_requests(struct crypto_engine *engine, bool in_kthread) argument 224 struct crypto_engine *engine = local 236 crypto_transfer_request(struct crypto_engine *engine, struct crypto_async_request *req, bool need_pump) argument 265 crypto_transfer_request_to_engine(struct crypto_engine *engine, struct crypto_async_request *req) argument 277 crypto_transfer_aead_request_to_engine(struct crypto_engine *engine, struct aead_request *req) argument 290 crypto_transfer_akcipher_request_to_engine(struct crypto_engine *engine, struct akcipher_request *req) argument 303 crypto_transfer_hash_request_to_engine(struct crypto_engine *engine, struct ahash_request *req) argument 316 crypto_transfer_kpp_request_to_engine(struct crypto_engine *engine, struct kpp_request *req) argument 329 crypto_transfer_skcipher_request_to_engine(struct crypto_engine *engine, struct skcipher_request *req) argument 343 crypto_finalize_aead_request(struct crypto_engine *engine, struct aead_request *req, int err) argument 357 crypto_finalize_akcipher_request(struct crypto_engine *engine, struct akcipher_request *req, int err) argument 371 crypto_finalize_hash_request(struct crypto_engine *engine, struct ahash_request *req, int err) argument 384 crypto_finalize_kpp_request(struct crypto_engine *engine, struct kpp_request *req, int err) argument 398 crypto_finalize_skcipher_request(struct crypto_engine *engine, struct skcipher_request *req, int err) argument 411 crypto_engine_start(struct crypto_engine *engine) argument 437 crypto_engine_stop(struct crypto_engine *engine) argument 487 crypto_engine_alloc_init_and_set(struct device *dev, bool retry_support, int (*cbk_do_batch)(struct crypto_engine *engine), bool rt, int qlen) argument 492 struct crypto_engine *engine; local 556 crypto_engine_exit(struct crypto_engine *engine) argument [all...] |
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | intel_scheduler_helpers.c | 21 struct intel_engine_cs *engine; local 24 for_each_engine(engine, gt, id) 25 return engine; 27 pr_err("No valid engine found!\n"); 31 int intel_selftest_modify_policy(struct intel_engine_cs *engine, argument 37 saved->reset = engine->i915->params.reset; 38 saved->flags = engine->flags; 39 saved->timeslice = engine->props.timeslice_duration_ms; 40 saved->preempt_timeout = engine->props.preempt_timeout_ms; 46 * together with engine rese 77 intel_selftest_restore_policy(struct intel_engine_cs *engine, struct intel_selftest_saved_policy *saved) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | priv.h | 33 #include <engine/bsp.h> 34 #include <engine/ce.h> 35 #include <engine/cipher.h> 36 #include <engine/disp.h> 37 #include <engine/dma.h> 38 #include <engine/fifo.h> 39 #include <engine/gr.h> 40 #include <engine/mpeg.h> 41 #include <engine/mspdec.h> 42 #include <engine/mspp [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/nvjpg/ |
H A D | priv.h | 4 #include <engine/nvjpg.h>
|