Lines Matching refs:dpms
180 else if (encoder_funcs->dpms) in drm_encoder_disable()
181 (*encoder_funcs->dpms)(encoder, DRM_MODE_DPMS_OFF); in drm_encoder_disable()
207 (*crtc_funcs->dpms)(crtc, DRM_MODE_DPMS_OFF); in __drm_helper_disable_unused_functions()
464 connector->dpms = DRM_MODE_DPMS_OFF; in drm_crtc_helper_disable()
667 if (connector->dpms != DRM_MODE_DPMS_ON) { in drm_crtc_helper_set_config()
756 set->connectors[i]->funcs->dpms(set->connectors[i], DRM_MODE_DPMS_ON); in drm_crtc_helper_set_config()
814 int dpms = DRM_MODE_DPMS_OFF; in drm_helper_choose_encoder_dpms() local
822 if (connector->dpms < dpms) in drm_helper_choose_encoder_dpms()
823 dpms = connector->dpms; in drm_helper_choose_encoder_dpms()
826 return dpms; in drm_helper_choose_encoder_dpms()
838 if (encoder_funcs->dpms) in drm_helper_encoder_dpms()
839 encoder_funcs->dpms(encoder, mode); in drm_helper_encoder_dpms()
844 int dpms = DRM_MODE_DPMS_OFF; in drm_helper_choose_crtc_dpms() local
852 if (connector->dpms < dpms) in drm_helper_choose_crtc_dpms()
853 dpms = connector->dpms; in drm_helper_choose_crtc_dpms()
856 return dpms; in drm_helper_choose_crtc_dpms()
888 if (mode == connector->dpms) in drm_helper_connector_dpms()
891 old_dpms = connector->dpms; in drm_helper_connector_dpms()
892 connector->dpms = mode; in drm_helper_connector_dpms()
902 if (crtc_funcs->dpms) in drm_helper_connector_dpms()
903 (*crtc_funcs->dpms) (crtc, in drm_helper_connector_dpms()
917 if (crtc_funcs->dpms) in drm_helper_connector_dpms()
918 (*crtc_funcs->dpms) (crtc, in drm_helper_connector_dpms()
990 if (crtc_funcs->dpms) in drm_helper_resume_force_mode()
991 (*crtc_funcs->dpms) (crtc, in drm_helper_resume_force_mode()