Searched refs:MIN_LEVEL (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_backlight.c27 #define MIN_LEVEL 0x158 macro
29 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX)
39 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; nvidia_bl_get_level_brightness()
43 else if (nlevel < MIN_LEVEL) nvidia_bl_get_level_brightness()
44 nlevel = MIN_LEVEL; nvidia_bl_get_level_brightness()
/linux-4.1.27/drivers/video/fbdev/riva/
H A Dfbdev.c276 #define MIN_LEVEL 0x158 macro
278 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX)
288 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; riva_bl_get_level_brightness()
292 else if (nlevel < MIN_LEVEL) riva_bl_get_level_brightness()
293 nlevel = MIN_LEVEL; riva_bl_get_level_brightness()
360 MIN_LEVEL * FB_BACKLIGHT_MAX / MAX_LEVEL, riva_bl_init()

Completed in 97 milliseconds