Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/nvidia/
A Dnv_backlight.c24 #define MIN_LEVEL 0x158 macro
26 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX)
36 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in nvidia_bl_get_level_brightness()
40 else if (nlevel < MIN_LEVEL) in nvidia_bl_get_level_brightness()
41 nlevel = MIN_LEVEL; in nvidia_bl_get_level_brightness()
/linux/drivers/video/fbdev/riva/
A Dfbdev.c267 #define MIN_LEVEL 0x158 macro
269 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX)
279 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in riva_bl_get_level_brightness()
283 else if (nlevel < MIN_LEVEL) in riva_bl_get_level_brightness()
284 nlevel = MIN_LEVEL; in riva_bl_get_level_brightness()
351 MIN_LEVEL * FB_BACKLIGHT_MAX / MAX_LEVEL, in riva_bl_init()

Completed in 10 milliseconds