Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/nvidia/
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-6.1.9/drivers/video/fbdev/riva/
Dfbdev.c268 #define MIN_LEVEL 0x158 macro
270 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX)
280 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in riva_bl_get_level_brightness()
284 else if (nlevel < MIN_LEVEL) in riva_bl_get_level_brightness()
285 nlevel = MIN_LEVEL; in riva_bl_get_level_brightness()
352 MIN_LEVEL * FB_BACKLIGHT_MAX / MAX_LEVEL, in riva_bl_init()