Home
last modified time | relevance | path

Searched refs:dpms (Results 1 – 25 of 77) sorted by relevance

1234

/drivers/gpu/drm/
Ddrm_crtc_helper.c180 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()
[all …]
Ddrm_sysfs.c214 int dpms; in dpms_show() local
216 dpms = READ_ONCE(connector->dpms); in dpms_show()
218 return sysfs_emit(buf, "%s\n", drm_get_dpms_name(dpms)); in dpms_show()
286 static DEVICE_ATTR_RO(dpms);
Ddrm_encoder_slave.c130 get_slave_funcs(encoder)->dpms(encoder, mode); in drm_i2c_encoder_dpms()
/drivers/staging/sm750fb/
Dsm750_hw.c388 int dpms, crtdb; in hw_sm750le_setBLANK() local
392 dpms = CRT_DISPLAY_CTRL_DPMS_0; in hw_sm750le_setBLANK()
396 dpms = CRT_DISPLAY_CTRL_DPMS_0; in hw_sm750le_setBLANK()
400 dpms = CRT_DISPLAY_CTRL_DPMS_2; in hw_sm750le_setBLANK()
404 dpms = CRT_DISPLAY_CTRL_DPMS_1; in hw_sm750le_setBLANK()
408 dpms = CRT_DISPLAY_CTRL_DPMS_3; in hw_sm750le_setBLANK()
419 poke32(CRT_DISPLAY_CTRL, val | dpms); in hw_sm750le_setBLANK()
429 unsigned int dpms, pps, crtdb; in hw_sm750_setBLANK() local
431 dpms = 0; in hw_sm750_setBLANK()
438 dpms = SYSTEM_CTRL_DPMS_VPHP; in hw_sm750_setBLANK()
[all …]
Dddk750_power.h5 enum dpms { enum
17 void ddk750_set_dpms(enum dpms state);
Dddk750_power.c6 void ddk750_set_dpms(enum dpms state) in ddk750_set_dpms()
/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c280 if (scrtc->dpms != DRM_MODE_DPMS_ON) in shmob_drm_crtc_resume()
328 if (scrtc->dpms == mode) in shmob_drm_crtc_dpms()
336 scrtc->dpms = mode; in shmob_drm_crtc_dpms()
383 .dpms = shmob_drm_crtc_dpms,
483 sdev->crtc.dpms = DRM_MODE_DPMS_OFF; in shmob_drm_crtc_create()
507 if (senc->dpms == mode) in shmob_drm_encoder_dpms()
512 senc->dpms = mode; in shmob_drm_encoder_dpms()
555 .dpms = shmob_drm_encoder_dpms,
567 sdev->encoder.dpms = DRM_MODE_DPMS_OFF; in shmob_drm_encoder_create()
641 .dpms = drm_helper_connector_dpms,
Dshmob_drm_crtc.h26 int dpms; member
36 int dpms; member
/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv04.c102 get_slave_funcs(encoder)->dpms(encoder, mode); in nv04_tv_dpms()
130 helper->dpms(encoder, DRM_MODE_DPMS_OFF); in nv04_tv_prepare()
172 helper->dpms(encoder, DRM_MODE_DPMS_ON); in nv04_tv_commit()
193 .dpms = nv04_tv_dpms,
Ddac.c370 helper->dpms(encoder, DRM_MODE_DPMS_OFF); in nv04_dac_prepare()
419 helper->dpms(encoder, DRM_MODE_DPMS_ON); in nv04_dac_commit()
506 .dpms = nv04_dac_dpms,
515 .dpms = nv04_dac_dpms,
Ddfp.c255 helper->dpms(encoder, DRM_MODE_DPMS_OFF); in nv04_dfp_prepare()
479 helper->dpms(encoder, DRM_MODE_DPMS_ON); in nv04_dfp_commit()
657 .dpms = nv04_lvds_dpms,
666 .dpms = nv04_tmds_dpms,
Dtvnv17.c409 helper->dpms(encoder, DRM_MODE_DPMS_OFF); in nv17_tv_prepare()
599 helper->dpms(encoder, DRM_MODE_DPMS_ON); in nv17_tv_commit()
726 if (connector->dpms != DRM_MODE_DPMS_OFF) in nv17_tv_set_property()
767 .dpms = nv17_tv_dpms,
/drivers/gpu/drm/radeon/
Dradeon_audio.c99 .dpms = r600_hdmi_enable,
113 .dpms = r600_hdmi_enable,
138 .dpms = evergreen_hdmi_enable,
150 .dpms = evergreen_dp_enable,
167 .dpms = evergreen_hdmi_enable,
180 .dpms = evergreen_dp_enable,
709 if (radeon_encoder->audio && radeon_encoder->audio->dpms) in radeon_audio_dpms()
710 radeon_encoder->audio->dpms(encoder, mode == DRM_MODE_DPMS_ON); in radeon_audio_dpms()
/drivers/gpu/drm/gma500/
Dcdv_intel_crt.c219 .dpms = cdv_intel_crt_dpms,
226 .dpms = drm_helper_connector_dpms,
Dgma_display.c475 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_prepare()
481 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_ON); in gma_crtc_commit()
489 crtc_funcs->dpms(crtc, DRM_MODE_DPMS_OFF); in gma_crtc_disable()
680 encoder_funcs->dpms(encoder, DRM_MODE_DPMS_OFF); in gma_encoder_prepare()
688 encoder_funcs->dpms(encoder, DRM_MODE_DPMS_ON); in gma_encoder_commit()
Dcdv_intel_lvds.c386 helpers->dpms(encoder, value); in cdv_intel_lvds_set_property()
393 .dpms = cdv_intel_lvds_encoder_dpms,
408 .dpms = drm_helper_connector_dpms,
Dcdv_intel_hdmi.c252 .dpms = cdv_hdmi_dpms,
266 .dpms = drm_helper_connector_dpms,
Dpsb_intel_lvds.c581 hfuncs->dpms(encoder, value); in psb_intel_lvds_set_property()
591 .dpms = psb_intel_lvds_encoder_dpms,
606 .dpms = drm_helper_connector_dpms,
/drivers/video/fbdev/
Dacornfb.c729 current_par.dpms = 0; in acornfb_init_fbinfo()
785 fb_info.monspecs.dpms = simple_strtoul(p + 1, &p, 0); in acornfb_parse_mon()
841 current_par.dpms = 1; in acornfb_parse_montype()
947 fb_info.monspecs.dpms = current_par.dpms; in acornfb_probe()
1078 fb_info.monspecs.dpms ? ", DPMS" : ""); in acornfb_probe()
Dacornfb.h50 unsigned int dpms : 1; member
/drivers/gpu/drm/aspeed/
Daspeed_gfx_out.c35 priv->connector.dpms = DRM_MODE_DPMS_OFF; in aspeed_gfx_create_output()
/drivers/gpu/drm/i915/display/
Dintel_dvo_dev.h67 void (*dpms)(struct intel_dvo_device *dvo, bool enable); member
/drivers/gpu/drm/i2c/
Dch7006_drv.c319 if (connector->dpms != DRM_MODE_DPMS_OFF) in ch7006_encoder_set_property()
348 if (connector->dpms != DRM_MODE_DPMS_OFF) in ch7006_encoder_set_property()
374 .dpms = ch7006_encoder_dpms,
/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_de.c160 static void hibmc_crtc_dpms(struct drm_crtc *crtc, u32 dpms) in hibmc_crtc_dpms() argument
167 reg |= HIBMC_FIELD(HIBMC_CRT_DISP_CTL_DPMS, dpms); in hibmc_crtc_dpms()
169 if (dpms == HIBMC_CRT_DPMS_ON) in hibmc_crtc_dpms()
/drivers/gpu/drm/sti/
Dsti_tvout.c650 .dpms = sti_tvout_encoder_dpms,
703 .dpms = sti_tvout_encoder_dpms,
751 .dpms = sti_tvout_encoder_dpms,

1234