Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_legacy_encoders.c61 uint8_t backlight_level; in radeon_legacy_lvds_update() local
65 backlight_level = (lvds_gen_cntl >> RADEON_LVDS_BL_MOD_LEVEL_SHIFT) & 0xff; in radeon_legacy_lvds_update()
72 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
77 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
108 (backlight_level << RADEON_LVDS_BL_MOD_LEVEL_SHIFT)); in radeon_legacy_lvds_update()
284 u8 backlight_level; in radeon_legacy_get_backlight_level() local
286 backlight_level = (RREG32(RADEON_LVDS_GEN_CNTL) >> in radeon_legacy_get_backlight_level()
289 return backlight_level; in radeon_legacy_get_backlight_level()
302 if (lvds->backlight_level > 0) in radeon_legacy_set_backlight_level()
306 lvds->backlight_level = level; in radeon_legacy_set_backlight_level()
[all …]
Dradeon_acpi.c73 u8 backlight_level; /* panel backlight level (0-255) */ member
391 req.backlight_level); in radeon_atif_handler()
393 radeon_set_backlight_level(rdev, enc, req.backlight_level); in radeon_atif_handler()
Datombios_encoders.c45 u8 backlight_level; in radeon_atom_get_backlight_level_from_reg() local
53 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >> in radeon_atom_get_backlight_level_from_reg()
56 return backlight_level; in radeon_atom_get_backlight_level_from_reg()
61 u8 backlight_level) in radeon_atom_set_backlight_level_to_reg() argument
71 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) & in radeon_atom_set_backlight_level_to_reg()
108 dig->backlight_level = level; in atombios_set_backlight_level()
109 radeon_atom_set_backlight_level_to_reg(rdev, dig->backlight_level); in atombios_set_backlight_level()
115 if (dig->backlight_level == 0) { in atombios_set_backlight_level()
130 if (dig->backlight_level == 0) in atombios_set_backlight_level()
1644 atombios_set_backlight_level(radeon_encoder, dig->backlight_level); in radeon_atom_encoder_dpms_avivo()
[all …]
Dradeon_mode.h395 uint8_t backlight_level; member
439 uint8_t backlight_level; member
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dbacklight.c30 dev_priv->backlight_device->props.brightness = dev_priv->backlight_level; in gma_backlight_enable()
52 dev_priv->backlight_level = v; in gma_backlight_set()
Dpsb_drv.h573 int backlight_level; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Datombios_encoders.h31 u8 backlight_level);
Datombios_encoders.c43 u8 backlight_level; in amdgpu_atombios_encoder_get_backlight_level_from_reg() local
48 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >> in amdgpu_atombios_encoder_get_backlight_level_from_reg()
51 return backlight_level; in amdgpu_atombios_encoder_get_backlight_level_from_reg()
56 u8 backlight_level) in amdgpu_atombios_encoder_set_backlight_level_to_reg() argument
63 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) & in amdgpu_atombios_encoder_set_backlight_level_to_reg()
96 dig->backlight_level = level; in amdgpu_atombios_encoder_set_backlight_level()
97 amdgpu_atombios_encoder_set_backlight_level_to_reg(adev, dig->backlight_level); in amdgpu_atombios_encoder_set_backlight_level()
105 if (dig->backlight_level == 0) in amdgpu_atombios_encoder_set_backlight_level()
174 u8 backlight_level; in amdgpu_atombios_encoder_init_backlight() local
210 backlight_level = amdgpu_atombios_encoder_get_backlight_level_from_reg(adev); in amdgpu_atombios_encoder_init_backlight()
[all …]
Damdgpu_acpi.c453 req.backlight_level); in amdgpu_atif_handler()
459 backlight_device_set_brightness(atif->bd, req.backlight_level); in amdgpu_atif_handler()
Damdgpu_mode.h447 uint8_t backlight_level; member
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dmx3fb.c238 int backlight_level; member
293 fbd->backlight_level = (fbd->backlight_level & ~0xFF) | brightness; in mx3fb_bl_update_status()
295 sdc_set_brightness(fbd, fbd->backlight_level); in mx3fb_bl_update_status()
316 sdc_set_brightness(fbd, fbd->backlight_level); in mx3fb_init_backlight()
1101 sdc_set_brightness(mx3fb, mx3fb->backlight_level); in __blank()
1300 sdc_set_brightness(mx3fb, mx3fb->backlight_level); in mx3fb_resume()
1603 mx3fb->backlight_level = 255; in mx3fb_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Damd_acpi.h52 u8 backlight_level; /* panel backlight level (0-255) */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Dgrph_object_ctrl_defs.h421 uint32_t backlight_level; member
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
Domapfb_main.c1360 static DEVICE_ATTR(backlight_level, 0664,