Home
last modified time | relevance | path

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

/linux-5.19.10/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.h69 struct dcss_ctxld *ctxld; member
112 void dcss_ctxld_exit(struct dcss_ctxld *ctxld);
113 void dcss_ctxld_write(struct dcss_ctxld *ctxld, u32 ctx_id,
119 void dcss_ctxld_kick(struct dcss_ctxld *ctxld);
120 bool dcss_ctxld_is_flushed(struct dcss_ctxld *ctxld);
121 int dcss_ctxld_enable(struct dcss_ctxld *ctxld);
122 void dcss_ctxld_register_completion(struct dcss_ctxld *ctxld,
124 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.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()
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.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()
842 dcss_ctxld_assert_locked(scl->ctxld); in dcss_scaler_write_sclctrl()
848 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 \
/linux-5.19.10/Documentation/devicetree/bindings/display/imx/
Dnxp,imx8mq-dcss.yaml38 - const: ctxld
90 interrupt-names = "ctxld", "ctxld_kick", "vblank";