Searched refs:dtg (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/imx/dcss/ |
A D | dcss-dtg.c | 100 if (!dtg->in_use) in dcss_dtg_write() 103 dcss_ctxld_write(dtg->ctxld, dtg->ctx_id, in dcss_dtg_write() 155 dtg = kzalloc(sizeof(*dtg), GFP_KERNEL); in dcss_dtg_init() 156 if (!dtg) in dcss_dtg_init() 159 dcss->dtg = dtg; in dcss_dtg_init() 173 dtg->alpha = 255; in dcss_dtg_init() 188 kfree(dtg); in dcss_dtg_init() 195 free_irq(dtg->ctxld_kick_irq, dtg); in dcss_dtg_exit() 197 if (dtg->base_reg) in dcss_dtg_exit() 200 kfree(dtg); in dcss_dtg_exit() [all …]
|
A D | dcss-dev.h | 71 struct dcss_dtg *dtg; member 140 void dcss_dtg_exit(struct dcss_dtg *dtg); 141 bool dcss_dtg_vblank_irq_valid(struct dcss_dtg *dtg); 142 void dcss_dtg_vblank_irq_enable(struct dcss_dtg *dtg, bool en); 143 void dcss_dtg_vblank_irq_clear(struct dcss_dtg *dtg); 145 void dcss_dtg_css_set(struct dcss_dtg *dtg); 146 void dcss_dtg_enable(struct dcss_dtg *dtg); 147 void dcss_dtg_shutoff(struct dcss_dtg *dtg); 148 bool dcss_dtg_is_enabled(struct dcss_dtg *dtg); 151 void dcss_dtg_plane_alpha_set(struct dcss_dtg *dtg, int ch_num, [all …]
|
A 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()
|
A D | dcss-plane.c | 333 dcss_dtg_plane_pos_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update() 335 dcss_dtg_plane_alpha_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update() 345 dcss_dtg_plane_pos_set(dcss->dtg, dcss_plane->ch_num, in dcss_plane_atomic_update() 348 dcss_dtg_ch_enable(dcss->dtg, dcss_plane->ch_num, enable); in dcss_plane_atomic_update() 359 dcss_dtg_plane_pos_set(dcss->dtg, dcss_plane->ch_num, 0, 0, 0, 0); in dcss_plane_atomic_disable() 360 dcss_dtg_ch_enable(dcss->dtg, dcss_plane->ch_num, false); in dcss_plane_atomic_disable()
|
A D | dcss-dev.c | 43 dcss_dtg_shutoff(dcss->dtg); in dcss_disable_dtg_and_ss_cb() 58 dcss_dtg_enable(dcss->dtg); in dcss_enable_dtg_and_ss() 105 dcss_dtg_exit(dcss->dtg); in dcss_submodules_init() 124 dcss_dtg_exit(dcss->dtg); in dcss_submodules_stop()
|
A D | Makefile | 1 imx-dcss-objs := dcss-drv.o dcss-dev.o dcss-blkctl.o dcss-ctxld.o dcss-dtg.o \
|
Completed in 10 milliseconds