Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/display/
H A Dintel_backlight.c38 u32 source_min, u32 source_max, in scale() argument
43 WARN_ON(source_min > source_max); in scale()
47 source_val = clamp(source_val, source_min, source_max); in scale()
50 target_val = mul_u32_u32(source_val - source_min, in scale()
52 target_val = DIV_ROUND_CLOSEST_ULL(target_val, source_max - source_min); in scale()