Home
last modified time | relevance | path

Searched refs:ctx0 (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dexeclist.c187 struct execlist_ctx_descriptor_format *ctx0 = &running->ctx[0]; in emulate_execlist_ctx_schedule_out() local
203 /* ctx1 is valid, ctx0/ctx is scheduled-out -> element switch */ in emulate_execlist_ctx_schedule_out()
204 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out()
216 * ctx1 is not valid, ctx == ctx0 in emulate_execlist_ctx_schedule_out()
223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out()
280 struct execlist_ctx_descriptor_format *ctx0, *ctx1; in emulate_execlist_schedule_in() local
325 ctx0 = &running->ctx[0]; in emulate_execlist_schedule_in()
329 running->index, ctx0->context_id, ctx1->context_id); in emulate_execlist_schedule_in()
334 * ctx0 is finished, and running ctx1 == new execlist ctx[0] in emulate_execlist_schedule_in()
336 * ctx0 in emulate_execlist_schedule_in()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
H A Dexeclist.c187 struct execlist_ctx_descriptor_format *ctx0 = &running->ctx[0]; in emulate_execlist_ctx_schedule_out() local
203 /* ctx1 is valid, ctx0/ctx is scheduled-out -> element switch */ in emulate_execlist_ctx_schedule_out()
204 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out()
216 * ctx1 is not valid, ctx == ctx0 in emulate_execlist_ctx_schedule_out()
223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out()
280 struct execlist_ctx_descriptor_format *ctx0, *ctx1; in emulate_execlist_schedule_in() local
325 ctx0 = &running->ctx[0]; in emulate_execlist_schedule_in()
329 running->index, ctx0->context_id, ctx1->context_id); in emulate_execlist_schedule_in()
334 * ctx0 is finished, and running ctx1 == new execlist ctx[0] in emulate_execlist_schedule_in()
336 * ctx0 in emulate_execlist_schedule_in()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_int_process_v9.c118 #define KFD_CONTEXT_ID_GET_SQ_INT_DATA(ctx0, ctx1) \
119 ((ctx0 & 0xfff) | ((ctx0 >> 16) & 0xf000) | ((ctx1 << 16) & 0xff0000))
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_os.c698 struct crc_context *ctx0 = sp->u.scmd.crc_ctx; in qla2x00_sp_free_dma() local
700 dma_pool_free(ha->dl_dma_pool, ctx0, ctx0->crc_ctx_dma); in qla2x00_sp_free_dma()
800 struct crc_context *ctx0 = sp->u.scmd.crc_ctx; in qla2xxx_qpair_sp_free_dma() local
802 dma_pool_free(ha->dl_dma_pool, ctx0, ctx0->crc_ctx_dma); in qla2xxx_qpair_sp_free_dma()
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_os.c744 struct crc_context *ctx0 = sp->u.scmd.crc_ctx; in qla2x00_sp_free_dma() local
746 dma_pool_free(ha->dl_dma_pool, ctx0, ctx0->crc_ctx_dma); in qla2x00_sp_free_dma()
848 struct crc_context *ctx0 = sp->u.scmd.crc_ctx; in qla2xxx_qpair_sp_free_dma() local
850 dma_pool_free(ha->dl_dma_pool, ctx0, ctx0->crc_ctx_dma); in qla2xxx_qpair_sp_free_dma()

Completed in 25 milliseconds