Home
last modified time | relevance | path

Searched refs:backlight_level (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_legacy_encoders.c54 uint8_t backlight_level; in radeon_legacy_lvds_update() local
58 backlight_level = (lvds_gen_cntl >> RADEON_LVDS_BL_MOD_LEVEL_SHIFT) & 0xff; in radeon_legacy_lvds_update()
65 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
70 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
101 (backlight_level << RADEON_LVDS_BL_MOD_LEVEL_SHIFT)); in radeon_legacy_lvds_update()
277 u8 backlight_level; in radeon_legacy_get_backlight_level() local
279 backlight_level = (RREG32(RADEON_LVDS_GEN_CNTL) >> in radeon_legacy_get_backlight_level()
282 return backlight_level; in radeon_legacy_get_backlight_level()
295 if (lvds->backlight_level > 0) in radeon_legacy_set_backlight_level()
299 lvds->backlight_level = level; in radeon_legacy_set_backlight_level()
[all …]
Dradeon_acpi.c67 u8 backlight_level; /* panel backlight level (0-255) */ member
369 req.backlight_level); in radeon_atif_handler()
371 radeon_set_backlight_level(rdev, enc, req.backlight_level); in radeon_atif_handler()
Datombios_encoders.c38 u8 backlight_level; in radeon_atom_get_backlight_level_from_reg() local
46 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >> in radeon_atom_get_backlight_level_from_reg()
49 return backlight_level; in radeon_atom_get_backlight_level_from_reg()
54 u8 backlight_level) in radeon_atom_set_backlight_level_to_reg() argument
64 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) & in radeon_atom_set_backlight_level_to_reg()
101 dig->backlight_level = level; in atombios_set_backlight_level()
102 radeon_atom_set_backlight_level_to_reg(rdev, dig->backlight_level); in atombios_set_backlight_level()
108 if (dig->backlight_level == 0) { in atombios_set_backlight_level()
122 if (dig->backlight_level == 0) in atombios_set_backlight_level()
186 u8 backlight_level; in radeon_atom_backlight_init() local
[all …]
Dradeon_mode.h354 uint8_t backlight_level; member
398 uint8_t backlight_level; member
/drivers/gpu/drm/gma500/
Dbacklight.c43 dev_priv->backlight_device->props.brightness = dev_priv->backlight_level; in gma_backlight_enable()
65 dev_priv->backlight_level = v; in gma_backlight_set()
Dpsb_drv.h617 int backlight_level; member
/drivers/macintosh/
Dvia-pmu68k.c740 static int backlight_level = -1; variable
752 if (backlight_level < 0) { in pmu_enable_backlight()
760 backlight_level = req.reply[1]; in pmu_enable_backlight()
768 LEVEL_TO_BRIGHT(backlight_level)); in pmu_enable_backlight()
784 backlight_level = level; in pmu_set_brightness()
/drivers/video/
Dmx3fb.c240 int backlight_level; member
1029 sdc_set_brightness(mx3fb, mx3fb->backlight_level); in __blank()
1228 sdc_set_brightness(mx3fb, mx3fb->backlight_level); in mx3fb_resume()
1531 mx3fb->backlight_level = 255; in mx3fb_probe()
/drivers/video/omap/
Domapfb_main.c1400 static DEVICE_ATTR(backlight_level, 0664,