Home
last modified time | relevance | path

Searched refs:ctxld (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/imx/dcss/
Ddcss-ctxld.c90 struct dcss_ctxld *ctxld = data; in dcss_ctxld_irq_handler() local
91 struct dcss_dev *dcss = dcss_drv_dev_to_dcss(ctxld->dev); in dcss_ctxld_irq_handler()
94 irq_status = dcss_readl(ctxld->ctxld_reg + DCSS_CTXLD_CONTROL_STATUS); in dcss_ctxld_irq_handler()
97 !(irq_status & CTXLD_ENABLE) && ctxld->in_use) { in dcss_ctxld_irq_handler()
98 ctxld->in_use = false; in dcss_ctxld_irq_handler()
107 dev_err(ctxld->dev, "ctxld: error encountered: %08x\n", in dcss_ctxld_irq_handler()
109 dev_err(ctxld->dev, "ctxld: db=%d, sb_hp=%d, sb_lp=%d\n", in dcss_ctxld_irq_handler()
110 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_DB], in dcss_ctxld_irq_handler()
111 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_SB_HP], in dcss_ctxld_irq_handler()
112 ctxld->ctx_size[ctxld->current_ctx ^ 1][CTX_SB_LP]); in dcss_ctxld_irq_handler()
[all …]
Ddcss-dev.h70 struct dcss_ctxld *ctxld; member
110 void dcss_ctxld_exit(struct dcss_ctxld *ctxld);
111 void dcss_ctxld_write(struct dcss_ctxld *ctxld, u32 ctx_id,
117 void dcss_ctxld_kick(struct dcss_ctxld *ctxld);
118 bool dcss_ctxld_is_flushed(struct dcss_ctxld *ctxld);
119 int dcss_ctxld_enable(struct dcss_ctxld *ctxld);
120 void dcss_ctxld_register_completion(struct dcss_ctxld *ctxld,
122 void dcss_ctxld_assert_locked(struct dcss_ctxld *ctxld);
Ddcss-dev.c109 dcss_ctxld_exit(dcss->ctxld); in dcss_submodules_init()
124 dcss_ctxld_exit(dcss->ctxld); in dcss_submodules_stop()
237 dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_destroy()
261 ret = dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_suspend()
284 dcss_ctxld_resume(dcss->ctxld); in dcss_dev_resume()
296 ret = dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_runtime_suspend()
313 dcss_ctxld_resume(dcss->ctxld); in dcss_dev_runtime_resume()
Ddcss-ss.c67 struct dcss_ctxld *ctxld; member
78 dcss_ctxld_write(ss->ctxld, ss->ctx_id, val, in dcss_ss_write()
92 ss->ctxld = dcss->ctxld; in dcss_ss_init()
Ddcss-crtc.c77 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_flush()
110 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_enable()
142 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_disable()
176 if (dcss_ctxld_is_flushed(dcss->ctxld)) in dcss_crtc_irq_handler()
Ddcss-dtg.c79 struct dcss_ctxld *ctxld; member
103 dcss_ctxld_write(dtg->ctxld, dtg->ctx_id, in dcss_dtg_write()
117 dcss_ctxld_kick(dtg->ctxld); in dcss_dtg_irq_handler()
161 dtg->ctxld = dcss->ctxld; in dcss_dtg_init()
Ddcss-dpr.c115 struct dcss_ctxld *ctxld; member
125 dcss_ctxld_write(dpr->ctxld, dpr->ctx_id, val, ch->base_ofs + ofs); in dcss_dpr_write()
164 dpr->ctxld = dcss->ctxld; in dcss_dpr_init()
517 dcss_ctxld_assert_locked(dpr->ctxld); in dcss_dpr_write_sysctrl()
523 dcss_ctxld_write_irqsafe(dpr->ctxld, dpr->ctx_id, in dcss_dpr_write_sysctrl()
Ddcss-scaler.c87 struct dcss_ctxld *ctxld; member
291 dcss_ctxld_write(scl->ctxld, scl->ctx_id, val, ch->base_ofs + ofs); in dcss_scaler_write()
327 scaler->ctxld = dcss->ctxld; in dcss_scaler_init()
827 dcss_ctxld_assert_locked(scl->ctxld); in dcss_scaler_write_sclctrl()
833 dcss_ctxld_write_irqsafe(scl->ctxld, scl->ctx_id, in dcss_scaler_write_sclctrl()
DMakefile1 imx-dcss-objs := dcss-drv.o dcss-dev.o dcss-blkctl.o dcss-ctxld.o dcss-dtg.o \