Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_abm.c60 static void dmub_abm_init_ex(struct abm *abm, uint32_t backlight, uint32_t user_level) in dmub_abm_init_ex() argument
62 dmub_abm_init(abm, backlight, user_level); in dmub_abm_init_ex()
Ddce_abm.c138 static void dce_abm_init(struct abm *abm, uint32_t backlight, uint32_t user_level) in dce_abm_init() argument
165 BL1_PWM_USER_LEVEL, user_level); in dce_abm_init()
Ddmub_abm_lcd.h33 void dmub_abm_init(struct abm *abm, uint32_t backlight, uint32_t user_level);
Ddmub_abm_lcd.c78 void dmub_abm_init(struct abm *abm, uint32_t backlight, uint32_t user_level) in dmub_abm_init() argument
105 BL1_PWM_USER_LEVEL, user_level); in dmub_abm_init()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dabm.h39 void (*abm_init)(struct abm *abm, uint32_t back_light, uint32_t user_level);
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_backlight.c63 u32 user_level, u32 user_max) in clamp_user_to_hw() argument
68 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw()
298 u32 user_level, u32 user_max) in intel_backlight_set_acpi() argument
318 hw_level = clamp_user_to_hw(connector, user_level, user_max); in intel_backlight_set_acpi()
819 u32 user_level, u32 user_max) in scale_user_to_hw() argument
823 return scale(user_level, 0, user_max, in scale_user_to_hw()
829 u32 user_level, u32 user_max) in intel_panel_set_backlight() argument
843 hw_level = scale_user_to_hw(connector, user_level, user_max); in intel_panel_set_backlight()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
Ddcn31_hwseq.c114 uint32_t user_level = MAX_BACKLIGHT_LEVEL; in dcn31_init_hw() local
228 user_level = link->panel_cntl->stored_backlight_registers.USER_LEVEL; in dcn31_init_hw()
234 abms[i]->funcs->abm_init(abms[i], backlight, user_level); in dcn31_init_hw()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
Ddcn30_hwseq.c630 uint32_t user_level = MAX_BACKLIGHT_LEVEL; in dcn30_init_hw() local
769 user_level = link->panel_cntl->stored_backlight_registers.USER_LEVEL; in dcn30_init_hw()
775 abms[i]->funcs->abm_init(abms[i], backlight, user_level); in dcn30_init_hw()
/linux-6.12.1/drivers/platform/x86/
Dsamsung-laptop.c492 u8 user_level = user_brightness + config->min_brightness; in set_brightness() local
494 if (samsung->has_stepping_quirk && user_level != 0) { in set_brightness()
505 sabi_set_commandb(samsung, commands->set_brightness, user_level); in set_brightness()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
Ddcn35_hwseq.c137 uint32_t user_level = MAX_BACKLIGHT_LEVEL; in dcn35_init_hw() local
259 user_level = link->panel_cntl->stored_backlight_registers.USER_LEVEL; in dcn35_init_hw()
265 abms[i]->funcs->abm_init(abms[i], backlight, user_level); in dcn35_init_hw()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c782 uint32_t user_level = MAX_BACKLIGHT_LEVEL; in dcn32_init_hw() local
939 user_level = link->panel_cntl->stored_backlight_registers.USER_LEVEL; in dcn32_init_hw()
945 abms[i]->funcs->abm_init(abms[i], backlight, user_level); in dcn32_init_hw()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
Ddcn401_hwseq.c223 uint32_t user_level = MAX_BACKLIGHT_LEVEL; in dcn401_init_hw() local
393 user_level = link->panel_cntl->stored_backlight_registers.USER_LEVEL; in dcn401_init_hw()
399 abms[i]->funcs->abm_init(abms[i], backlight, user_level); in dcn401_init_hw()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/
Ddce110_hwseq.c2777 uint32_t user_level = MAX_BACKLIGHT_LEVEL; in init_hw() local
2829 user_level = link->panel_cntl->stored_backlight_registers.USER_LEVEL; in init_hw()
2835 abm->funcs->abm_init(abm, backlight, user_level); in init_hw()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
Ddcn10_hwseq.c1551 uint32_t user_level = MAX_BACKLIGHT_LEVEL; in dcn10_init_hw() local
1651 user_level = link->panel_cntl->stored_backlight_registers.USER_LEVEL; in dcn10_init_hw()
1656 abm->funcs->abm_init(abm, backlight, user_level); in dcn10_init_hw()