Lines Matching refs:encoder_funcs
173 const struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private; in drm_encoder_disable() local
175 if (!encoder_funcs) in drm_encoder_disable()
178 if (encoder_funcs->disable) in drm_encoder_disable()
179 (*encoder_funcs->disable)(encoder); in drm_encoder_disable()
180 else if (encoder_funcs->dpms) in drm_encoder_disable()
181 (*encoder_funcs->dpms)(encoder, DRM_MODE_DPMS_OFF); in drm_encoder_disable()
250 const struct drm_encoder_helper_funcs *encoder_funcs; in drm_crtc_prepare_encoders() local
254 encoder_funcs = encoder->helper_private; in drm_crtc_prepare_encoders()
255 if (!encoder_funcs) in drm_crtc_prepare_encoders()
292 const struct drm_encoder_helper_funcs *encoder_funcs; in drm_crtc_helper_set_mode() local
334 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
335 if (!encoder_funcs) in drm_crtc_helper_set_mode()
338 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
339 if (encoder_funcs->mode_fixup) { in drm_crtc_helper_set_mode()
340 if (!(ret = encoder_funcs->mode_fixup(encoder, mode, in drm_crtc_helper_set_mode()
365 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
366 if (!encoder_funcs) in drm_crtc_helper_set_mode()
370 if (encoder_funcs->prepare) in drm_crtc_helper_set_mode()
371 encoder_funcs->prepare(encoder); in drm_crtc_helper_set_mode()
390 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
391 if (!encoder_funcs) in drm_crtc_helper_set_mode()
396 if (encoder_funcs->mode_set) in drm_crtc_helper_set_mode()
397 encoder_funcs->mode_set(encoder, mode, adjusted_mode); in drm_crtc_helper_set_mode()
408 encoder_funcs = encoder->helper_private; in drm_crtc_helper_set_mode()
409 if (!encoder_funcs) in drm_crtc_helper_set_mode()
412 if (encoder_funcs->commit) in drm_crtc_helper_set_mode()
413 encoder_funcs->commit(encoder); in drm_crtc_helper_set_mode()
832 const struct drm_encoder_helper_funcs *encoder_funcs; in drm_helper_encoder_dpms() local
834 encoder_funcs = encoder->helper_private; in drm_helper_encoder_dpms()
835 if (!encoder_funcs) in drm_helper_encoder_dpms()
838 if (encoder_funcs->dpms) in drm_helper_encoder_dpms()
839 encoder_funcs->dpms(encoder, mode); in drm_helper_encoder_dpms()