Searched refs:hw_level (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_backlight.c | 66 u32 hw_level; in clamp_user_to_hw() local 68 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw() 69 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); in clamp_user_to_hw() 71 return hw_level; in clamp_user_to_hw() 76 u32 hw_level, u32 user_max) in scale_hw_to_user() argument 80 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user() 303 u32 hw_level; in intel_backlight_set_acpi() local 318 hw_level = clamp_user_to_hw(connector, user_level, user_max); in intel_backlight_set_acpi() 319 panel->backlight.level = hw_level; in intel_backlight_set_acpi() 328 intel_panel_actually_set_backlight(conn_state, hw_level); in intel_backlight_set_acpi() [all …]
|