Searched refs:MAX_LEVEL (Results 1 – 7 of 7) 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()
20 #define MAX_LEVEL 32 /* how deeply nested we will go */ macro454 int depth = MAX_LEVEL; /* how deep to print */ in do_fdt()991 static char tabs[MAX_LEVEL+1] = in fdt_print()1048 &tabs[MAX_LEVEL - level], pathp); in fdt_print()1051 if (level >= MAX_LEVEL) { in fdt_print()1059 printf("%s};\n", &tabs[MAX_LEVEL - level]); in fdt_print()1079 &tabs[MAX_LEVEL - level], in fdt_print()1084 &tabs[MAX_LEVEL - level], in fdt_print()1092 printf("%s/* NOP */\n", &tabs[MAX_LEVEL - level]); in fdt_print()
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()1857 63 * FB_BACKLIGHT_MAX / MAX_LEVEL, in aty128_bl_init()1858 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()