Searched refs:backlight_level (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/gma500/ |
D | backlight.c | 23 dev_priv->ops->backlight_set(dev, dev_priv->backlight_level); in gma_backlight_enable() 38 dev_priv->backlight_level = v; in gma_backlight_set() 51 return dev_priv->backlight_level; in gma_backlight_get_brightness() 79 dev_priv->backlight_level = 100; in gma_backlight_init() 92 props.brightness = dev_priv->backlight_level; in gma_backlight_init()
|
D | cdv_device.c | 132 dev_priv->backlight_level = cdv_get_brightness(dev); in cdv_backlight_init() 133 cdv_set_brightness(dev, dev_priv->backlight_level); in cdv_backlight_init()
|
D | psb_drv.h | 521 int backlight_level; member
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_legacy_encoders.c | 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() [all …]
|
D | radeon_acpi.c | 72 u8 backlight_level; /* panel backlight level (0-255) */ member 390 req.backlight_level); in radeon_atif_handler() 392 radeon_set_backlight_level(rdev, enc, req.backlight_level); in radeon_atif_handler()
|
D | atombios_encoders.c | 48 u8 backlight_level; in radeon_atom_get_backlight_level_from_reg() local 56 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >> in radeon_atom_get_backlight_level_from_reg() 59 return backlight_level; in radeon_atom_get_backlight_level_from_reg() 64 u8 backlight_level) in radeon_atom_set_backlight_level_to_reg() argument 74 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) & in radeon_atom_set_backlight_level_to_reg() 111 dig->backlight_level = level; in atombios_set_backlight_level() 112 radeon_atom_set_backlight_level_to_reg(rdev, dig->backlight_level); in atombios_set_backlight_level() 118 if (dig->backlight_level == 0) { in atombios_set_backlight_level() 133 if (dig->backlight_level == 0) in atombios_set_backlight_level() 1627 atombios_set_backlight_level(radeon_encoder, dig->backlight_level); in radeon_atom_encoder_dpms_avivo() [all …]
|
D | radeon_mode.h | 390 uint8_t backlight_level; member 434 uint8_t backlight_level; member
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_encoders.h | 31 u8 backlight_level);
|
D | atombios_encoders.c | 45 u8 backlight_level; in amdgpu_atombios_encoder_get_backlight_level_from_reg() local 50 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >> in amdgpu_atombios_encoder_get_backlight_level_from_reg() 53 return backlight_level; in amdgpu_atombios_encoder_get_backlight_level_from_reg() 58 u8 backlight_level) in amdgpu_atombios_encoder_set_backlight_level_to_reg() argument 65 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) & in amdgpu_atombios_encoder_set_backlight_level_to_reg() 98 dig->backlight_level = level; in amdgpu_atombios_encoder_set_backlight_level() 99 amdgpu_atombios_encoder_set_backlight_level_to_reg(adev, dig->backlight_level); in amdgpu_atombios_encoder_set_backlight_level() 107 if (dig->backlight_level == 0) in amdgpu_atombios_encoder_set_backlight_level() 1343 amdgpu_atombios_encoder_set_backlight_level(amdgpu_encoder, dig->backlight_level); in amdgpu_atombios_encoder_setup_dig()
|
D | amdgpu_atombios.h | 201 u32 backlight_level);
|
D | amdgpu_acpi.c | 440 req.backlight_level); in amdgpu_atif_handler() 446 backlight_device_set_brightness(atif->bd, req.backlight_level); in amdgpu_atif_handler()
|
D | amdgpu_mode.h | 436 uint8_t backlight_level; member
|
D | amdgpu_atombios.c | 1575 u32 backlight_level) in amdgpu_atombios_scratch_regs_set_backlight_level() argument 1580 tmp |= (backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) & in amdgpu_atombios_scratch_regs_set_backlight_level()
|
/linux-6.1.9/drivers/video/fbdev/ |
D | mx3fb.c | 238 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() 1100 sdc_set_brightness(mx3fb, mx3fb->backlight_level); in __blank() 1301 sdc_set_brightness(mx3fb, mx3fb->backlight_level); in mx3fb_resume() 1604 mx3fb->backlight_level = 255; in mx3fb_probe()
|
/linux-6.1.9/drivers/gpu/drm/amd/include/ |
D | amd_acpi.h | 52 u8 backlight_level; /* panel backlight level (0-255) */ member
|
/linux-6.1.9/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 1359 static DEVICE_ATTR(backlight_level, 0664,
|