Home
last modified time | relevance | path

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

/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.h68 struct dcss_ctxld *ctxld; member
111 void dcss_ctxld_exit(struct dcss_ctxld *ctxld);
112 void dcss_ctxld_write(struct dcss_ctxld *ctxld, u32 ctx_id,
118 void dcss_ctxld_kick(struct dcss_ctxld *ctxld);
119 bool dcss_ctxld_is_flushed(struct dcss_ctxld *ctxld);
120 int dcss_ctxld_enable(struct dcss_ctxld *ctxld);
121 void dcss_ctxld_register_completion(struct dcss_ctxld *ctxld,
123 void dcss_ctxld_assert_locked(struct dcss_ctxld *ctxld);
Ddcss-dev.c108 dcss_ctxld_exit(dcss->ctxld); in dcss_submodules_init()
125 dcss_ctxld_exit(dcss->ctxld); in dcss_submodules_stop()
237 dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_destroy()
267 ret = dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_suspend()
291 dcss_ctxld_resume(dcss->ctxld); in dcss_dev_resume()
307 ret = dcss_ctxld_suspend(dcss->ctxld); in dcss_dev_runtime_suspend()
324 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.c76 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_flush()
107 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_enable()
137 dcss_ctxld_enable(dcss->ctxld); in dcss_crtc_atomic_disable()
171 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()
532 dcss_ctxld_assert_locked(dpr->ctxld); in dcss_dpr_write_sysctrl()
538 dcss_ctxld_write_irqsafe(dpr->ctxld, dpr->ctx_id, in dcss_dpr_write_sysctrl()
Ddcss-scaler.c85 struct dcss_ctxld *ctxld; member
274 dcss_ctxld_write(scl->ctxld, scl->ctx_id, val, ch->base_ofs + ofs); in dcss_scaler_write()
310 scaler->ctxld = dcss->ctxld; in dcss_scaler_init()
813 dcss_ctxld_assert_locked(scl->ctxld); in dcss_scaler_write_sclctrl()
819 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 \