Searched refs:MAX_LEVEL (Results 1 – 6 of 6) sorted by relevance
25 #define MAX_LEVEL 0x534 macro26 #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()
17 #define MAX_LEVEL 3 macro43 *state = MAX_LEVEL; in khadas_mcu_fan_get_max_state()64 if (state > MAX_LEVEL) in khadas_mcu_fan_set_cur_state()
127 #define MAX_LEVEL 32 /* how deeply nested we will go */ macro158 if (level >= MAX_LEVEL) { in list_subnodes()
1734 #define MAX_LEVEL 0xFF macro1744 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()
2199 #define MAX_LEVEL 0xFF macro2208 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()
269 #define MAX_LEVEL 0x534 macro270 #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