Searched refs:hw_level (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_panel.c | 499 u32 hw_level; in clamp_user_to_hw() local 501 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw() 502 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); in clamp_user_to_hw() 504 return hw_level; in clamp_user_to_hw() 509 u32 hw_level, u32 user_max) in scale_hw_to_user() argument 513 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user() 699 u32 hw_level; in intel_panel_set_backlight_acpi() local 714 hw_level = clamp_user_to_hw(connector, user_level, user_max); in intel_panel_set_backlight_acpi() 715 panel->backlight.level = hw_level; in intel_panel_set_backlight_acpi() 724 intel_panel_actually_set_backlight(conn_state, hw_level); in intel_panel_set_backlight_acpi() [all …]
|