Lines Matching refs:backlight_level
64 uint8_t backlight_level; in radeon_legacy_lvds_update() local
68 backlight_level = (lvds_gen_cntl >> RADEON_LVDS_BL_MOD_LEVEL_SHIFT) & 0xff; in radeon_legacy_lvds_update()
75 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
80 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
111 (backlight_level << RADEON_LVDS_BL_MOD_LEVEL_SHIFT)); in radeon_legacy_lvds_update()
287 u8 backlight_level; in radeon_legacy_get_backlight_level() local
289 backlight_level = (RREG32(RADEON_LVDS_GEN_CNTL) >> in radeon_legacy_get_backlight_level()
292 return backlight_level; in radeon_legacy_get_backlight_level()
305 if (lvds->backlight_level > 0) in radeon_legacy_set_backlight_level()
309 lvds->backlight_level = level; in radeon_legacy_set_backlight_level()
312 if (lvds->backlight_level > 0) in radeon_legacy_set_backlight_level()
316 lvds->backlight_level = level; in radeon_legacy_set_backlight_level()
359 uint8_t backlight_level; in radeon_legacy_backlight_get_brightness() local
361 backlight_level = (RREG32(RADEON_LVDS_GEN_CNTL) >> in radeon_legacy_backlight_get_brightness()
364 return pdata->negative ? RADEON_MAX_BL_LEVEL - backlight_level : backlight_level; in radeon_legacy_backlight_get_brightness()
380 uint8_t backlight_level; in radeon_legacy_backlight_init() local
417 backlight_level = (RREG32(RADEON_LVDS_GEN_CNTL) >> in radeon_legacy_backlight_init()
423 if (backlight_level == 0) in radeon_legacy_backlight_init()
425 else if (backlight_level == 0xff) in radeon_legacy_backlight_init()