Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/macintosh/
Dvia-pmu-backlight.c59 int pmulevel; in pmu_backlight_get_level_brightness() local
62 pmulevel = bl_curve[level] * FB_BACKLIGHT_MAX / MAX_PMU_LEVEL; in pmu_backlight_get_level_brightness()
63 if (pmulevel < 0) in pmu_backlight_get_level_brightness()
64 pmulevel = 0; in pmu_backlight_get_level_brightness()
65 else if (pmulevel > MAX_PMU_LEVEL) in pmu_backlight_get_level_brightness()
66 pmulevel = MAX_PMU_LEVEL; in pmu_backlight_get_level_brightness()
68 return pmulevel; in pmu_backlight_get_level_brightness()
82 int pmulevel = pmu_backlight_get_level_brightness(level); in __pmu_backlight_update_status() local
84 pmu_request(&req, NULL, 2, PMU_BACKLIGHT_BRIGHT, pmulevel); in __pmu_backlight_update_status()