Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/video/backlight/
Dpwm_bl.c147 #define PWM_LUMINANCE_SCALE (1 << PWM_LUMINANCE_SHIFT) /* luminance scale */ macro
176 if (lightness <= (8 * PWM_LUMINANCE_SCALE)) { in cie1931()
179 retval = (lightness + (16 * PWM_LUMINANCE_SCALE)) / 116; in cie1931()
215 retval = cie1931((i * PWM_LUMINANCE_SCALE) / in pwm_backlight_brightness_default()
217 retval = DIV_ROUND_CLOSEST_ULL(retval, PWM_LUMINANCE_SCALE); in pwm_backlight_brightness_default()