Home
last modified time | relevance | path

Searched refs:scon (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/shmobile/
Dshmob_drm_backlight.c22 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_update() local
23 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_update()
36 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_get_brightness() local
37 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_get_brightness()
49 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode) in shmob_drm_backlight_dpms() argument
51 if (scon->backlight == NULL) in shmob_drm_backlight_dpms()
54 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON in shmob_drm_backlight_dpms()
56 backlight_update_status(scon->backlight); in shmob_drm_backlight_dpms()
59 int shmob_drm_backlight_init(struct shmob_drm_connector *scon) in shmob_drm_backlight_init() argument
61 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_init()
[all …]
Dshmob_drm_backlight.h19 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode);
20 int shmob_drm_backlight_init(struct shmob_drm_connector *scon);
21 void shmob_drm_backlight_exit(struct shmob_drm_connector *scon);
Dshmob_drm_crtc.c539 struct shmob_drm_connector *scon = &sdev->connector; in shmob_drm_encoder_dpms() local
544 shmob_drm_backlight_dpms(scon, mode); in shmob_drm_encoder_dpms()
680 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_best_encoder() local
682 return scon->encoder; in shmob_drm_connector_best_encoder()
692 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_destroy() local
694 shmob_drm_backlight_exit(scon); in shmob_drm_connector_destroy()