Lines Matching refs:encoder_funcs
257 struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private; in drm_encoder_disable() local
259 if (encoder_funcs->disable) in drm_encoder_disable()
260 (*encoder_funcs->disable)(encoder); in drm_encoder_disable()
262 (*encoder_funcs->dpms)(encoder, DRM_MODE_DPMS_OFF); in drm_encoder_disable()
347 struct drm_encoder_helper_funcs *encoder_funcs; in drm_crtc_prepare_encoders() local
351 encoder_funcs = encoder->helper_private; in drm_crtc_prepare_encoders()
356 if (encoder_funcs->get_crtc && in drm_crtc_prepare_encoders()
357 encoder->crtc != (*encoder_funcs->get_crtc)(encoder)) in drm_crtc_prepare_encoders()
393 struct drm_encoder_helper_funcs *encoder_funcs; in drm_crtc_helper_set_mode() local
426 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
427 if (!(ret = encoder_funcs->mode_fixup(encoder, mode, in drm_crtc_helper_set_mode()
445 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
447 encoder_funcs->prepare(encoder); in drm_crtc_helper_set_mode()
469 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
470 encoder_funcs->mode_set(encoder, mode, adjusted_mode); in drm_crtc_helper_set_mode()
481 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
482 encoder_funcs->commit(encoder); in drm_crtc_helper_set_mode()
877 struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private; in drm_helper_connector_dpms() local
878 if (encoder_funcs->dpms) in drm_helper_connector_dpms()
879 (*encoder_funcs->dpms) (encoder, in drm_helper_connector_dpms()
887 struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private; in drm_helper_connector_dpms() local
888 if (encoder_funcs->dpms) in drm_helper_connector_dpms()
889 (*encoder_funcs->dpms) (encoder, in drm_helper_connector_dpms()
927 struct drm_encoder_helper_funcs *encoder_funcs; in drm_helper_resume_force_mode() local
949 encoder_funcs = encoder->helper_private; in drm_helper_resume_force_mode()
950 if (encoder_funcs->dpms) in drm_helper_resume_force_mode()
951 (*encoder_funcs->dpms) (encoder, in drm_helper_resume_force_mode()