Home
last modified time | relevance | path

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

/linux/drivers/macintosh/
A 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()
/linux/drivers/video/fbdev/core/
A 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()
/linux/arch/powerpc/platforms/powermac/
A 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()
/linux/drivers/video/fbdev/nvidia/
A Dnv_backlight.c36 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in nvidia_bl_get_level_brightness()
/linux/drivers/video/fbdev/aty/
A Dradeon_backlight.c32 rlevel = pdata->rinfo->info->bl_curve[level] * in radeon_bl_get_level_brightness()
A Daty128fb.c1743 (info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL); in aty128_bl_get_level_brightness()
A Datyfb_base.c2208 atylevel = info->bl_curve[level] * FB_BACKLIGHT_MAX / MAX_LEVEL; in aty_bl_get_level_brightness()
/linux/include/linux/
A Dfb.h467 u8 bl_curve[FB_BACKLIGHT_LEVELS]; member
/linux/drivers/video/fbdev/riva/
A Dfbdev.c279 nlevel = MIN_LEVEL + info->bl_curve[level] * LEVEL_STEP; in riva_bl_get_level_brightness()

Completed in 29 milliseconds