Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/aty/
Daty128fb.c1740 int atylevel; in aty128_bl_get_level_brightness() local
1744 atylevel = MAX_LEVEL - in aty128_bl_get_level_brightness()
1747 if (atylevel < 0) in aty128_bl_get_level_brightness()
1748 atylevel = 0; 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()
1752 return atylevel; in aty128_bl_get_level_brightness()
Datyfb_base.c2204 int atylevel; in aty_bl_get_level_brightness() local
2208 atylevel = info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL; in aty_bl_get_level_brightness()
2210 if (atylevel < 0) in aty_bl_get_level_brightness()
2211 atylevel = 0; 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()
2215 return atylevel; in aty_bl_get_level_brightness()