Searched refs:dtg (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/gpu/drm/imx/dcss/ |
H 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 …]
|
H A 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); 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); 150 void dcss_dtg_plane_alpha_set(struct dcss_dtg *dtg, int ch_num, [all …]
|
H 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()
|
H A 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()
|
H A 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()
|
H A D | Makefile | 1 imx-dcss-objs := dcss-drv.o dcss-dev.o dcss-blkctl.o dcss-ctxld.o dcss-dtg.o \
|