Searched refs:backlight_level (Results 1 – 13 of 13) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | radeon_legacy_encoders.c | 55 uint8_t backlight_level; in radeon_legacy_lvds_update() local 59 backlight_level = (lvds_gen_cntl >> RADEON_LVDS_BL_MOD_LEVEL_SHIFT) & 0xff; in radeon_legacy_lvds_update() 66 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 71 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update() 102 (backlight_level << RADEON_LVDS_BL_MOD_LEVEL_SHIFT)); in radeon_legacy_lvds_update() 278 u8 backlight_level; in radeon_legacy_get_backlight_level() local 280 backlight_level = (RREG32(RADEON_LVDS_GEN_CNTL) >> in radeon_legacy_get_backlight_level() 283 return backlight_level; in radeon_legacy_get_backlight_level() 296 if (lvds->backlight_level > 0) in radeon_legacy_set_backlight_level() 300 lvds->backlight_level = level; in radeon_legacy_set_backlight_level() [all …]
|
D | radeon_acpi.c | 69 u8 backlight_level; /* panel backlight level (0-255) */ member 387 req.backlight_level); in radeon_atif_handler() 389 radeon_set_backlight_level(rdev, enc, req.backlight_level); in radeon_atif_handler()
|
D | atombios_encoders.c | 41 u8 backlight_level; in radeon_atom_get_backlight_level_from_reg() local 49 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >> in radeon_atom_get_backlight_level_from_reg() 52 return backlight_level; in radeon_atom_get_backlight_level_from_reg() 57 u8 backlight_level) in radeon_atom_set_backlight_level_to_reg() argument 67 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) & in radeon_atom_set_backlight_level_to_reg() 104 dig->backlight_level = level; in atombios_set_backlight_level() 105 radeon_atom_set_backlight_level_to_reg(rdev, dig->backlight_level); in atombios_set_backlight_level() 111 if (dig->backlight_level == 0) { in atombios_set_backlight_level() 126 if (dig->backlight_level == 0) in atombios_set_backlight_level() 1640 atombios_set_backlight_level(radeon_encoder, dig->backlight_level); in radeon_atom_encoder_dpms_avivo() [all …]
|
D | radeon_mode.h | 397 uint8_t backlight_level; member 441 uint8_t backlight_level; member
|
/drivers/gpu/drm/gma500/ |
D | backlight.c | 43 dev_priv->backlight_device->props.brightness = dev_priv->backlight_level; in gma_backlight_enable() 65 dev_priv->backlight_level = v; in gma_backlight_set()
|
D | psb_drv.h | 584 int backlight_level; member
|
/drivers/macintosh/ |
D | via-pmu68k.c | 741 static int backlight_level = -1; variable 753 if (backlight_level < 0) { in pmu_enable_backlight() 761 backlight_level = req.reply[1]; in pmu_enable_backlight() 769 LEVEL_TO_BRIGHT(backlight_level)); in pmu_enable_backlight() 785 backlight_level = level; in pmu_set_brightness()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_encoders.c | 40 u8 backlight_level; in amdgpu_atombios_encoder_get_backlight_level_from_reg() local 45 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >> in amdgpu_atombios_encoder_get_backlight_level_from_reg() 48 return backlight_level; in amdgpu_atombios_encoder_get_backlight_level_from_reg() 53 u8 backlight_level) in amdgpu_atombios_encoder_set_backlight_level_to_reg() argument 60 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) & in amdgpu_atombios_encoder_set_backlight_level_to_reg() 93 dig->backlight_level = level; in amdgpu_atombios_encoder_set_backlight_level() 94 amdgpu_atombios_encoder_set_backlight_level_to_reg(adev, dig->backlight_level); in amdgpu_atombios_encoder_set_backlight_level() 102 if (dig->backlight_level == 0) in amdgpu_atombios_encoder_set_backlight_level() 171 u8 backlight_level; in amdgpu_atombios_encoder_init_backlight() local 207 backlight_level = amdgpu_atombios_encoder_get_backlight_level_from_reg(adev); in amdgpu_atombios_encoder_init_backlight() [all …]
|
D | amdgpu_acpi.c | 327 req.backlight_level); in amdgpu_atif_handler() 329 amdgpu_display_backlight_set_level(adev, enc, req.backlight_level); in amdgpu_atif_handler()
|
D | amdgpu_mode.h | 418 uint8_t backlight_level; member
|
/drivers/video/fbdev/ |
D | mx3fb.c | 241 int backlight_level; member 296 fbd->backlight_level = (fbd->backlight_level & ~0xFF) | brightness; in mx3fb_bl_update_status() 298 sdc_set_brightness(fbd, fbd->backlight_level); in mx3fb_bl_update_status() 319 sdc_set_brightness(fbd, fbd->backlight_level); in mx3fb_init_backlight() 1104 sdc_set_brightness(mx3fb, mx3fb->backlight_level); in __blank() 1303 sdc_set_brightness(mx3fb, mx3fb->backlight_level); in mx3fb_resume() 1605 mx3fb->backlight_level = 255; in mx3fb_probe()
|
/drivers/gpu/drm/amd/include/ |
D | amd_acpi.h | 52 u8 backlight_level; /* panel backlight level (0-255) */ member
|
/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 1376 static DEVICE_ATTR(backlight_level, 0664,
|