Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_crtc_helper.c167 else if (encoder_funcs->dpms) in drm_encoder_disable()
168 (*encoder_funcs->dpms)(encoder, DRM_MODE_DPMS_OFF); in drm_encoder_disable()
194 (*crtc_funcs->dpms)(crtc, DRM_MODE_DPMS_OFF); in __drm_helper_disable_unused_functions()
451 connector->dpms = DRM_MODE_DPMS_OFF; in drm_crtc_helper_disable()
654 if (connector->dpms != DRM_MODE_DPMS_ON) { in drm_crtc_helper_set_config()
743 set->connectors[i]->funcs->dpms(set->connectors[i], DRM_MODE_DPMS_ON); in drm_crtc_helper_set_config()
801 int dpms = DRM_MODE_DPMS_OFF; in drm_helper_choose_encoder_dpms() local
809 if (connector->dpms < dpms) in drm_helper_choose_encoder_dpms()
810 dpms = connector->dpms; in drm_helper_choose_encoder_dpms()
813 return dpms; in drm_helper_choose_encoder_dpms()
[all …]
Ddrm_sysfs.c168 int dpms; in dpms_show() local
170 dpms = READ_ONCE(connector->dpms); in dpms_show()
173 drm_get_dpms_name(dpms)); in dpms_show()
241 static DEVICE_ATTR_RO(dpms);
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dsm750_hw.c387 int dpms, crtdb; in hw_sm750le_setBLANK() local
391 dpms = CRT_DISPLAY_CTRL_DPMS_0; in hw_sm750le_setBLANK()
395 dpms = CRT_DISPLAY_CTRL_DPMS_0; in hw_sm750le_setBLANK()
399 dpms = CRT_DISPLAY_CTRL_DPMS_2; in hw_sm750le_setBLANK()
403 dpms = CRT_DISPLAY_CTRL_DPMS_1; in hw_sm750le_setBLANK()
407 dpms = CRT_DISPLAY_CTRL_DPMS_3; in hw_sm750le_setBLANK()
418 poke32(CRT_DISPLAY_CTRL, val | dpms); in hw_sm750le_setBLANK()
428 unsigned int dpms, pps, crtdb; in hw_sm750_setBLANK() local
430 dpms = 0; in hw_sm750_setBLANK()
437 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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
656 .dpms = nv04_lvds_dpms,
665 .dpms = nv04_tmds_dpms,
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_audio.c161 .dpms = r600_hdmi_enable,
175 .dpms = r600_hdmi_enable,
200 .dpms = evergreen_hdmi_enable,
212 .dpms = evergreen_dp_enable,
229 .dpms = evergreen_hdmi_enable,
242 .dpms = evergreen_dp_enable,
771 if (radeon_encoder->audio && radeon_encoder->audio->dpms) in radeon_audio_dpms()
772 radeon_encoder->audio->dpms(encoder, mode == DRM_MODE_DPMS_ON); in radeon_audio_dpms()
Dradeon_audio.h66 void (*dpms)(struct drm_encoder *encoder, bool mode); member
/kernel/linux/linux-5.10/include/drm/
Ddrm_modeset_helper_vtables.h78 void (*dpms)(struct drm_crtc *crtc, int mode); member
536 void (*dpms)(struct drm_encoder *encoder, int mode); member
Ddrm_encoder_slave.h53 void (*dpms)(struct drm_encoder *encoder, int mode); member
/kernel/linux/linux-5.10/drivers/gpu/drm/aspeed/
Daspeed_gfx_out.c34 priv->connector.dpms = DRM_MODE_DPMS_OFF; in aspeed_gfx_create_output()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dcdv_intel_crt.c221 .dpms = cdv_intel_crt_dpms,
228 .dpms = drm_helper_connector_dpms,
Dmdfld_tpo_vid.c72 .dpms = mdfld_dsi_dpi_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()
682 encoder_funcs->dpms(encoder, DRM_MODE_DPMS_OFF); in gma_encoder_prepare()
690 encoder_funcs->dpms(encoder, DRM_MODE_DPMS_ON); in gma_encoder_commit()
Dcdv_intel_lvds.c393 helpers->dpms(encoder, value); in cdv_intel_lvds_set_property()
400 .dpms = cdv_intel_lvds_encoder_dpms,
415 .dpms = drm_helper_connector_dpms,
Dcdv_intel_hdmi.c258 .dpms = cdv_hdmi_dpms,
272 .dpms = drm_helper_connector_dpms,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dvo_dev.h67 void (*dpms)(struct intel_dvo_device *dvo, bool enable); member
/kernel/linux/linux-5.10/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()
981 fb_info.monspecs.dpms = current_par.dpms; in acornfb_probe()
1112 fb_info.monspecs.dpms ? ", DPMS" : ""); in acornfb_probe()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Ddce_virtual.c223 .dpms = dce_virtual_crtc_dpms,
371 .dpms = dce_virtual_dpms,
586 .dpms = dce_virtual_encoder_dpms,
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_de.c160 static void hibmc_crtc_dpms(struct drm_crtc *crtc, int 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()

1234