/drivers/gpu/drm/ |
D | drm_crtc_helper.c | 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() [all …]
|
D | drm_sysfs.c | 214 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);
|
D | drm_encoder_slave.c | 130 get_slave_funcs(encoder)->dpms(encoder, mode); in drm_i2c_encoder_dpms()
|
/drivers/staging/sm750fb/ |
D | sm750_hw.c | 388 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 …]
|
D | ddk750_power.h | 5 enum dpms { enum 17 void ddk750_set_dpms(enum dpms state);
|
D | ddk750_power.c | 6 void ddk750_set_dpms(enum dpms state) in ddk750_set_dpms()
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 280 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,
|
D | shmob_drm_crtc.h | 26 int dpms; member 36 int dpms; member
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv04.c | 102 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,
|
D | dac.c | 370 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,
|
D | dfp.c | 255 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,
|
D | tvnv17.c | 409 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/ |
D | radeon_audio.c | 99 .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/ |
D | cdv_intel_crt.c | 219 .dpms = cdv_intel_crt_dpms, 226 .dpms = drm_helper_connector_dpms,
|
D | gma_display.c | 475 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()
|
D | cdv_intel_lvds.c | 386 helpers->dpms(encoder, value); in cdv_intel_lvds_set_property() 393 .dpms = cdv_intel_lvds_encoder_dpms, 408 .dpms = drm_helper_connector_dpms,
|
D | cdv_intel_hdmi.c | 252 .dpms = cdv_hdmi_dpms, 266 .dpms = drm_helper_connector_dpms,
|
D | psb_intel_lvds.c | 581 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/ |
D | acornfb.c | 729 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()
|
D | acornfb.h | 50 unsigned int dpms : 1; member
|
/drivers/gpu/drm/aspeed/ |
D | aspeed_gfx_out.c | 35 priv->connector.dpms = DRM_MODE_DPMS_OFF; in aspeed_gfx_create_output()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dvo_dev.h | 67 void (*dpms)(struct intel_dvo_device *dvo, bool enable); member
|
/drivers/gpu/drm/i2c/ |
D | ch7006_drv.c | 319 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/ |
D | hibmc_drm_de.c | 160 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/ |
D | sti_tvout.c | 650 .dpms = sti_tvout_encoder_dpms, 703 .dpms = sti_tvout_encoder_dpms, 751 .dpms = sti_tvout_encoder_dpms,
|