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

/linux-4.4.14/drivers/video/fbdev/aty/
H A Daty128fb.c1763 int atylevel; aty128_bl_get_level_brightness() local
1767 atylevel = MAX_LEVEL - aty128_bl_get_level_brightness()
1770 if (atylevel < 0) aty128_bl_get_level_brightness()
1771 atylevel = 0; aty128_bl_get_level_brightness()
1772 else if (atylevel > MAX_LEVEL) aty128_bl_get_level_brightness()
1773 atylevel = MAX_LEVEL; aty128_bl_get_level_brightness()
1775 return atylevel; aty128_bl_get_level_brightness()
H A Datyfb_base.c2184 int atylevel; aty_bl_get_level_brightness() local
2188 atylevel = info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL; aty_bl_get_level_brightness()
2190 if (atylevel < 0) aty_bl_get_level_brightness()
2191 atylevel = 0; aty_bl_get_level_brightness()
2192 else if (atylevel > MAX_LEVEL) aty_bl_get_level_brightness()
2193 atylevel = MAX_LEVEL; aty_bl_get_level_brightness()
2195 return atylevel; aty_bl_get_level_brightness()

Completed in 96 milliseconds