Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/video/fbdev/aty/
Daty128fb.c1738 int atylevel; in aty128_bl_get_level_brightness() local
1742 atylevel = MAX_LEVEL - in aty128_bl_get_level_brightness()
1745 if (atylevel < 0) in aty128_bl_get_level_brightness()
1746 atylevel = 0; 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()
1750 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()