Searched refs:scon (Results 1 – 4 of 4) sorted by relevance
18 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_update() local19 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_update()28 struct shmob_drm_connector *scon = bl_get_data(bdev); in shmob_drm_backlight_get_brightness() local29 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_get_brightness()41 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode) in shmob_drm_backlight_dpms() argument43 if (scon->backlight == NULL) in shmob_drm_backlight_dpms()46 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON in shmob_drm_backlight_dpms()48 backlight_update_status(scon->backlight); in shmob_drm_backlight_dpms()51 int shmob_drm_backlight_init(struct shmob_drm_connector *scon) in shmob_drm_backlight_init() argument53 struct shmob_drm_device *sdev = scon->connector.dev->dev_private; in shmob_drm_backlight_init()[all …]
15 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode);16 int shmob_drm_backlight_init(struct shmob_drm_connector *scon);17 void shmob_drm_backlight_exit(struct shmob_drm_connector *scon);
505 struct shmob_drm_connector *scon = &sdev->connector; in shmob_drm_encoder_dpms() local510 shmob_drm_backlight_dpms(scon, mode); in shmob_drm_encoder_dpms()621 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_best_encoder() local623 return scon->encoder; in shmob_drm_connector_best_encoder()633 struct shmob_drm_connector *scon = to_shmob_connector(connector); in shmob_drm_connector_destroy() local635 shmob_drm_backlight_exit(scon); in shmob_drm_connector_destroy()
32 scon, mirack, mistat; member65 .scon = _scon, .mirack = _mirack, .mistat = _mistat }