Searched refs:last_ctx (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-debugfs.c305 struct hva_ctx *last_ctx = &hva->dbg.last_ctx; local
307 if (last_ctx->flags & HVA_FLAG_STREAMINFO) {
310 hva_dbg_perf_compute(last_ctx);
311 format_ctx(s, last_ctx);
393 memcpy(&hva->dbg.last_ctx, ctx, sizeof(*ctx));
H A Dhva.h288 * @last_ctx: debug information about last running instance context
292 struct hva_ctx last_ctx; member in struct:hva_dev_dbg
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dscheduler.c201 if (s->last_ctx[ring_id].valid &&
202 (s->last_ctx[ring_id].lrca ==
204 (s->last_ctx[ring_id].ring_context_gpa ==
208 s->last_ctx[ring_id].lrca = workload->ctx_desc.lrca;
209 s->last_ctx[ring_id].ring_context_gpa = workload->ring_context_gpa;
214 s->last_ctx[ring_id].valid = false;
258 s->last_ctx[ring_id].valid = true;
1437 memset(s->last_ctx, 0, sizeof(s->last_ctx));
H A Dgvt.h171 } last_ctx[I915_NUM_ENGINES]; member in struct:intel_vgpu_submission
H A Dgtt.c2343 if (!s->last_ctx[i].valid)
2346 if (s->last_ctx[i].lrca == (off >> info->gtt_entry_size_shift))
2347 s->last_ctx[i].valid = false;
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-m2m.c133 if (m2m->last_ctx != ctx) {
158 m2m->last_ctx = ctx;
582 if (m2m->last_ctx == ctx)
583 m2m->last_ctx = NULL;
H A Dimx8-isi-core.h270 /* Protects last_ctx, usage_count and chained_count */
273 struct mxc_isi_m2m_ctx *last_ctx; member in struct:mxc_isi_m2m
/linux-master/io_uring/
H A Dio_uring.c1231 struct io_ring_ctx *last_ctx = NULL; local
1237 if (sync && last_ctx != req->ctx) {
1238 if (last_ctx) {
1239 flush_delayed_work(&last_ctx->fallback_work);
1240 percpu_ref_put(&last_ctx->refs);
1242 last_ctx = req->ctx;
1243 percpu_ref_get(&last_ctx->refs);
1250 if (last_ctx) {
1251 flush_delayed_work(&last_ctx->fallback_work);
1252 percpu_ref_put(&last_ctx
[all...]

Completed in 141 milliseconds