Searched refs:hw_level (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_backlight.c | 65 u32 hw_level; in clamp_user_to_hw() local 67 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw() 68 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); in clamp_user_to_hw() 70 return hw_level; in clamp_user_to_hw() 75 u32 hw_level, u32 user_max) in scale_hw_to_user() argument 79 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user() 300 u32 hw_level; in intel_backlight_set_acpi() local 315 hw_level = clamp_user_to_hw(connector, user_level, user_max); in intel_backlight_set_acpi() 316 panel->backlight.level = hw_level; in intel_backlight_set_acpi() 325 intel_panel_actually_set_backlight(conn_state, hw_level); in intel_backlight_set_acpi() [all …]
|