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 …]
733 struct sun4i_crtc *scrtc) in sun4i_tcon_finish_page_flip() argument738 if (scrtc->event) { in sun4i_tcon_finish_page_flip()739 drm_crtc_send_vblank_event(&scrtc->crtc, scrtc->event); in sun4i_tcon_finish_page_flip()740 drm_crtc_vblank_put(&scrtc->crtc); in sun4i_tcon_finish_page_flip()741 scrtc->event = NULL; in sun4i_tcon_finish_page_flip()750 struct sun4i_crtc *scrtc = tcon->crtc; in sun4i_tcon_handler() local751 struct sunxi_engine *engine = scrtc->engine; in sun4i_tcon_handler()761 drm_crtc_handle_vblank(&scrtc->crtc); in sun4i_tcon_handler()762 sun4i_tcon_finish_page_flip(drm, scrtc); in sun4i_tcon_handler()
61 static void shmob_drm_crtc_setup_geometry(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_setup_geometry() argument63 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry()119 static void shmob_drm_crtc_start_stop(struct shmob_drm_crtc *scrtc, bool start) in shmob_drm_crtc_start_stop() argument121 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop()152 static void shmob_drm_crtc_start(struct shmob_drm_crtc *scrtc) in shmob_drm_crtc_start() argument154 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_start()163 if (scrtc->started) in shmob_drm_crtc_start()181 shmob_drm_crtc_start_stop(scrtc, false); in shmob_drm_crtc_start()208 shmob_drm_crtc_setup_geometry(scrtc); in shmob_drm_crtc_start()212 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);