Home
last modified time | relevance | path

Searched refs:bl_curve (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/macintosh/
Dvia-pmu-backlight.c21 static u8 bl_curve[FB_BACKLIGHT_LEVELS]; variable
27 bl_curve[0] = off; in pmu_backlight_init_curve()
30 bl_curve[flat] = min; in pmu_backlight_init_curve()
34 bl_curve[flat + i] = min + (range * (i + 1) / count); in pmu_backlight_init_curve()
44 max = max((int)bl_curve[i], max); in pmu_backlight_curve_lookup()
48 int diff = abs(bl_curve[i] - value); in pmu_backlight_curve_lookup()
62 pmulevel = bl_curve[level] * FB_BACKLIGHT_MAX / MAX_PMU_LEVEL; in pmu_backlight_get_level_brightness()
/linux-6.1.9/drivers/video/fbdev/core/
Dfbsysfs.c470 fb_info->bl_curve[i] = tmp_curve[i]; in store_bl_curve()
492 fb_info->bl_curve + i); in show_bl_curve()
516 __ATTR(bl_curve, S_IRUGO|S_IWUSR, show_bl_curve, store_bl_curve),
569 fb_info->bl_curve[0] = off; in fb_bl_default_curve()
572 fb_info->bl_curve[flat] = min; in fb_bl_default_curve()
576 fb_info->bl_curve[flat + i] = min + (range * (i + 1) / count); in fb_bl_default_curve()
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dbacklight.c84 max = max((int)info->bl_curve[i], max); in pmac_backlight_curve_lookup()
88 int diff = abs(info->bl_curve[i] - value); in pmac_backlight_curve_lookup()
/linux-6.1.9/drivers/video/fbdev/nvidia/
Dnv_backlight.c36 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in nvidia_bl_get_level_brightness()
/linux-6.1.9/drivers/video/fbdev/aty/
Dradeon_backlight.c32 rlevel = pdata->rinfo->info->bl_curve[level] * in radeon_bl_get_level_brightness()
Daty128fb.c1745 (info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL); in aty128_bl_get_level_brightness()
Datyfb_base.c2208 atylevel = info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL; in aty_bl_get_level_brightness()
/linux-6.1.9/include/linux/
Dfb.h474 u8 bl_curve[FB_BACKLIGHT_LEVELS]; member
/linux-6.1.9/drivers/video/fbdev/riva/
Dfbdev.c280 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in riva_bl_get_level_brightness()