Searched refs:dtg (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/imx/dcss/ |
D | dcss-dtg.c | 98 static void dcss_dtg_write(struct dcss_dtg *dtg, u32 val, u32 ofs) in dcss_dtg_write() argument 100 if (!dtg->in_use) in dcss_dtg_write() 101 dcss_writel(val, dtg->base_reg + ofs); in dcss_dtg_write() 103 dcss_ctxld_write(dtg->ctxld, dtg->ctx_id, in dcss_dtg_write() 104 val, dtg->base_ofs + ofs); in dcss_dtg_write() 109 struct dcss_dtg *dtg = data; in dcss_dtg_irq_handler() local 112 status = dcss_readl(dtg->base_reg + DCSS_DTG_INT_STATUS); in dcss_dtg_irq_handler() 117 dcss_ctxld_kick(dtg->ctxld); in dcss_dtg_irq_handler() 119 dcss_writel(status & LINE0_IRQ, dtg->base_reg + DCSS_DTG_INT_CONTROL); in dcss_dtg_irq_handler() 124 static int dcss_dtg_irq_config(struct dcss_dtg *dtg, in dcss_dtg_irq_config() argument [all …]
|
D | dcss-dev.h | 72 struct dcss_dtg *dtg; member 139 void dcss_dtg_exit(struct dcss_dtg *dtg); 140 bool dcss_dtg_vblank_irq_valid(struct dcss_dtg *dtg); 141 void dcss_dtg_vblank_irq_enable(struct dcss_dtg *dtg, bool en); 142 void dcss_dtg_vblank_irq_clear(struct dcss_dtg *dtg); 143 void dcss_dtg_sync_set(struct dcss_dtg *dtg, struct videomode *vm); 144 void dcss_dtg_css_set(struct dcss_dtg *dtg); 145 void dcss_dtg_enable(struct dcss_dtg *dtg); 146 void dcss_dtg_shutoff(struct dcss_dtg *dtg); 147 bool dcss_dtg_is_enabled(struct dcss_dtg *dtg); [all …]
|
D | dcss-crtc.c | 21 dcss_dtg_vblank_irq_enable(dcss->dtg, true); in dcss_enable_vblank() 23 dcss_dtg_ctxld_kick_irq_enable(dcss->dtg, true); in dcss_enable_vblank() 38 dcss_dtg_vblank_irq_enable(dcss->dtg, false); in dcss_disable_vblank() 41 dcss_dtg_ctxld_kick_irq_enable(dcss->dtg, false); in dcss_disable_vblank() 76 if (dcss_dtg_is_enabled(dcss->dtg)) in dcss_crtc_atomic_flush() 99 dcss_dtg_css_set(dcss->dtg); in dcss_crtc_atomic_enable() 102 dcss_dtg_sync_set(dcss->dtg, &vm); in dcss_crtc_atomic_enable() 136 dcss_dtg_ctxld_kick_irq_enable(dcss->dtg, true); in dcss_crtc_atomic_disable() 173 if (!dcss_dtg_vblank_irq_valid(dcss->dtg)) in dcss_crtc_irq_handler() 179 dcss_dtg_vblank_irq_clear(dcss->dtg); in dcss_crtc_irq_handler()
|
D | dcss-plane.c | 335 dcss_dtg_plane_pos_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update() 337 dcss_dtg_plane_alpha_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update() 347 dcss_dtg_plane_pos_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update() 350 dcss_dtg_ch_enable(dcss->dtg, dcss_plane->ch_num, enable); in dcss_plane_atomic_update() 361 dcss_dtg_plane_pos_set(dcss->dtg, dcss_plane->ch_num, 0, 0, 0, 0); in dcss_plane_atomic_disable() 362 dcss_dtg_ch_enable(dcss->dtg, dcss_plane->ch_num, false); in dcss_plane_atomic_disable()
|
D | dcss-dev.c | 44 dcss_dtg_shutoff(dcss->dtg); in dcss_disable_dtg_and_ss_cb() 59 dcss_dtg_enable(dcss->dtg); in dcss_enable_dtg_and_ss() 106 dcss_dtg_exit(dcss->dtg); in dcss_submodules_init() 125 dcss_dtg_exit(dcss->dtg); in dcss_submodules_stop()
|
D | Makefile | 1 imx-dcss-objs := dcss-drv.o dcss-dev.o dcss-blkctl.o dcss-ctxld.o dcss-dtg.o \
|