Searched refs:scon (Results 1 – 3 of 3) sorted by relevance
22 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_update() local23 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() local37 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() argument51 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() argument61 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_init()[all …]
19 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);
539 struct shmob_drm_connector *scon = &sdev->connector; in shmob_drm_encoder_dpms() local544 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() local682 return scon->encoder; in shmob_drm_connector_best_encoder()692 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_destroy() local694 shmob_drm_backlight_exit(scon); in shmob_drm_connector_destroy()