Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-pmu-backlight.c22 static u8 bl_curve[FB_BACKLIGHT_LEVELS]; variable
28 bl_curve[0] = off; in pmu_backlight_init_curve()
31 bl_curve[flat] = min; in pmu_backlight_init_curve()
35 bl_curve[flat + i] = min + (range * (i + 1) / count); in pmu_backlight_init_curve()
45 max = max((int)bl_curve[i], max); in pmu_backlight_curve_lookup()
49 int diff = abs(bl_curve[i] - value); in pmu_backlight_curve_lookup()
63 pmulevel = bl_curve[level] * FB_BACKLIGHT_MAX / MAX_PMU_LEVEL; in pmu_backlight_get_level_brightness()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfbsysfs.c460 fb_info->bl_curve[i] = tmp_curve[i]; in store_bl_curve()
482 fb_info->bl_curve + i); in show_bl_curve()
506 __ATTR(bl_curve, S_IRUGO|S_IWUSR, show_bl_curve, store_bl_curve),
559 fb_info->bl_curve[0] = off; in fb_bl_default_curve()
562 fb_info->bl_curve[flat] = min; in fb_bl_default_curve()
566 fb_info->bl_curve[flat + i] = min + (range * (i + 1) / count); in fb_bl_default_curve()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dbacklight.c85 max = max((int)info->bl_curve[i], max); in pmac_backlight_curve_lookup()
89 int diff = abs(info->bl_curve[i] - value); in pmac_backlight_curve_lookup()
/kernel/linux/linux-5.10/drivers/video/fbdev/nvidia/
Dnv_backlight.c36 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in nvidia_bl_get_level_brightness()
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
Dradeon_backlight.c32 rlevel = pdata->rinfo->info->bl_curve[level] * in radeon_bl_get_level_brightness()
Daty128fb.c1743 (info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL); in aty128_bl_get_level_brightness()
Datyfb_base.c2198 atylevel = info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL; in aty_bl_get_level_brightness()
/kernel/linux/linux-5.10/include/linux/
Dfb.h466 u8 bl_curve[FB_BACKLIGHT_LEVELS]; member
/kernel/linux/linux-5.10/drivers/video/fbdev/riva/
Dfbdev.c279 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in riva_bl_get_level_brightness()