Lines Matching refs:scon
22 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()
63 struct drm_connector *connector = &scon->connector; in shmob_drm_backlight_init()
70 backlight = backlight_device_register(bdata->name, dev->dev, scon, in shmob_drm_backlight_init()
83 scon->backlight = backlight; in shmob_drm_backlight_init()
87 void shmob_drm_backlight_exit(struct shmob_drm_connector *scon) in shmob_drm_backlight_exit() argument
89 backlight_device_unregister(scon->backlight); in shmob_drm_backlight_exit()