Searched refs:PWM_LUMINANCE_SCALE (Results 1 – 1 of 1) sorted by relevance
151 #define PWM_LUMINANCE_SCALE 10000 /* luminance scale */ macro210 retval = cie1931((i * PWM_LUMINANCE_SCALE) / in pwm_backlight_brightness_default()211 data->max_brightness, PWM_LUMINANCE_SCALE) * in pwm_backlight_brightness_default()213 retval = DIV_ROUND_CLOSEST_ULL(retval, PWM_LUMINANCE_SCALE); in pwm_backlight_brightness_default()