Lines Matching refs:crtc_funcs
200 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in __drm_helper_disable_unused_functions() local
204 if (crtc_funcs->disable) in __drm_helper_disable_unused_functions()
205 (*crtc_funcs->disable)(crtc); in __drm_helper_disable_unused_functions()
207 (*crtc_funcs->dpms)(crtc, DRM_MODE_DPMS_OFF); in __drm_helper_disable_unused_functions()
291 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_crtc_helper_set_mode() local
348 if (crtc_funcs->mode_fixup) { in drm_crtc_helper_set_mode()
349 if (!(ret = crtc_funcs->mode_fixup(crtc, mode, in drm_crtc_helper_set_mode()
376 crtc_funcs->prepare(crtc); in drm_crtc_helper_set_mode()
381 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode()
401 crtc_funcs->commit(crtc); in drm_crtc_helper_set_mode()
540 const struct drm_crtc_helper_funcs *crtc_funcs; in drm_crtc_helper_set_config() local
555 crtc_funcs = set->crtc->helper_private; in drm_crtc_helper_set_config()
734 if (fb_changed && !crtc_funcs->mode_set_base) in drm_crtc_helper_set_config()
764 ret = crtc_funcs->mode_set_base(set->crtc, in drm_crtc_helper_set_config()
900 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_helper_connector_dpms() local
902 if (crtc_funcs->dpms) in drm_helper_connector_dpms()
903 (*crtc_funcs->dpms) (crtc, in drm_helper_connector_dpms()
915 const struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private; in drm_helper_connector_dpms() local
917 if (crtc_funcs->dpms) in drm_helper_connector_dpms()
918 (*crtc_funcs->dpms) (crtc, in drm_helper_connector_dpms()
957 const struct drm_crtc_helper_funcs *crtc_funcs; in drm_helper_resume_force_mode() local
989 crtc_funcs = crtc->helper_private; in drm_helper_resume_force_mode()
990 if (crtc_funcs->dpms) in drm_helper_resume_force_mode()
991 (*crtc_funcs->dpms) (crtc, in drm_helper_resume_force_mode()