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()117 0x158 * FB_BACKLIGHT_MAX / MAX_LEVEL, in nvidia_bl_init()118 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()
1732 #define MAX_LEVEL 0xFF macro1742 atylevel = MAX_LEVEL - in aty128_bl_get_level_brightness()1743 (info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL); in aty128_bl_get_level_brightness()1747 else if (atylevel > MAX_LEVEL) in aty128_bl_get_level_brightness()1748 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()
2189 #define MAX_LEVEL 0xFF macro2198 atylevel = info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL; in aty_bl_get_level_brightness()2202 else if (atylevel > MAX_LEVEL) in aty_bl_get_level_brightness()2203 atylevel = MAX_LEVEL; in aty_bl_get_level_brightness()2264 0x3F * FB_BACKLIGHT_MAX / MAX_LEVEL, in aty_bl_init()2265 0xFF * FB_BACKLIGHT_MAX / MAX_LEVEL); in aty_bl_init()
268 #define MAX_LEVEL 0x534 macro269 #define LEVEL_STEP ((MAX_LEVEL - MIN_LEVEL) / FB_BACKLIGHT_MAX)285 else if (nlevel > MAX_LEVEL) in riva_bl_get_level_brightness()286 nlevel = MAX_LEVEL; in riva_bl_get_level_brightness()351 MIN_LEVEL * FB_BACKLIGHT_MAX / MAX_LEVEL, in riva_bl_init()