Searched refs:scrtc (Results 1 – 4 of 4) sorted by relevance
50 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_check() local51 struct sunxi_engine *engine = scrtc->engine; in sun4i_crtc_atomic_check()63 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_begin() local65 struct sunxi_engine *engine = scrtc->engine; in sun4i_crtc_atomic_begin()72 scrtc->event = crtc->state->event; in sun4i_crtc_atomic_begin()84 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_flush() local89 sunxi_engine_commit(scrtc->engine); in sun4i_crtc_atomic_flush()107 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_disable() local113 sun4i_tcon_set_status(scrtc->tcon, encoder, false); in sun4i_crtc_atomic_disable()128 struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc); in sun4i_crtc_atomic_enable() local[all …]
702 struct sun4i_crtc *scrtc) in sun4i_tcon_finish_page_flip() argument707 if (scrtc->event) { in sun4i_tcon_finish_page_flip()708 drm_crtc_send_vblank_event(&scrtc->crtc, scrtc->event); in sun4i_tcon_finish_page_flip()709 drm_crtc_vblank_put(&scrtc->crtc); in sun4i_tcon_finish_page_flip()710 scrtc->event = NULL; in sun4i_tcon_finish_page_flip()719 struct sun4i_crtc *scrtc = tcon->crtc; in sun4i_tcon_handler() local720 struct sunxi_engine *engine = scrtc->engine; in sun4i_tcon_handler()730 drm_crtc_handle_vblank(&scrtc->crtc); in sun4i_tcon_handler()731 sun4i_tcon_finish_page_flip(drm, scrtc); in sun4i_tcon_handler()
60 static void shmob_drm_crtc_setup_geometry(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_setup_geometry() argument62 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry()118 static void shmob_drm_crtc_start_stop(struct shmob_drm_crtc *scrtc, bool start) in shmob_drm_crtc_start_stop() argument120 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop()151 static void shmob_drm_crtc_start(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_start() argument153 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_start()162 if (scrtc->started) in shmob_drm_crtc_start()180 shmob_drm_crtc_start_stop(scrtc, false); in shmob_drm_crtc_start()207 shmob_drm_crtc_setup_geometry(scrtc); in shmob_drm_crtc_start()211 lcdc_write(sdev, LDMLSR, scrtc->line_size); in shmob_drm_crtc_start()[all …]
47 void shmob_drm_crtc_finish_page_flip(struct shmob_drm_crtc *scrtc);48 void shmob_drm_crtc_suspend(struct shmob_drm_crtc *scrtc);49 void shmob_drm_crtc_resume(struct shmob_drm_crtc *scrtc);