Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/video/fbdev/nvidia/
A Dnv_backlight.c25 #define MAX_LEVEL 0x534 macro
26 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX)
42 else if (nlevel > MAX_LEVEL) in nvidia_bl_get_level_brightness()
43 nlevel = MAX_LEVEL; in nvidia_bl_get_level_brightness()
111 0x158 * FB_BACKLIGHT_MAX / MAX_LEVEL, in nvidia_bl_init()
112 0x534 * FB_BACKLIGHT_MAX / MAX_LEVEL); in nvidia_bl_init()
/linux-6.3-rc2/drivers/thermal/
A Dkhadas_mcu_fan.c17 #define MAX_LEVEL 3 macro
43 *state = MAX_LEVEL; in khadas_mcu_fan_get_max_state()
64 if (state > MAX_LEVEL) in khadas_mcu_fan_set_cur_state()
/linux-6.3-rc2/scripts/dtc/
A Dfdtget.c127 #define MAX_LEVEL 32 /* how deeply nested we will go */ macro
158 if (level >= MAX_LEVEL) { in list_subnodes()
/linux-6.3-rc2/drivers/video/fbdev/aty/
A Daty128fb.c1734 #define MAX_LEVEL 0xFF macro
1744 atylevel = MAX_LEVEL - in aty128_bl_get_level_brightness()
1745 (info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL); in aty128_bl_get_level_brightness()
1749 else if (atylevel > MAX_LEVEL) in aty128_bl_get_level_brightness()
1750 atylevel = MAX_LEVEL; in aty128_bl_get_level_brightness()
1859 63 * FB_BACKLIGHT_MAX / MAX_LEVEL, in aty128_bl_init()
1860 219 * FB_BACKLIGHT_MAX / MAX_LEVEL); in aty128_bl_init()
A Datyfb_base.c2199 #define MAX_LEVEL 0xFF macro
2208 atylevel = info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL; in aty_bl_get_level_brightness()
2212 else if (atylevel > MAX_LEVEL) in aty_bl_get_level_brightness()
2213 atylevel = MAX_LEVEL; in aty_bl_get_level_brightness()
2268 0x3F * FB_BACKLIGHT_MAX / MAX_LEVEL, in aty_bl_init()
2269 0xFF * FB_BACKLIGHT_MAX / MAX_LEVEL); in aty_bl_init()
/linux-6.3-rc2/drivers/video/fbdev/riva/
A Dfbdev.c269 #define MAX_LEVEL 0x534 macro
270 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX)
286 else if (nlevel > MAX_LEVEL) in riva_bl_get_level_brightness()
287 nlevel = MAX_LEVEL; in riva_bl_get_level_brightness()
346 MIN_LEVEL * FB_BACKLIGHT_MAX / MAX_LEVEL, in riva_bl_init()

Completed in 19 milliseconds