Home
last modified time | relevance | path

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

/linux/drivers/macintosh/
A Dvia-pmu-backlight.c60 int pmulevel; in pmu_backlight_get_level_brightness() local
63 pmulevel = bl_curve[level] * FB_BACKLIGHT_MAX / MAX_PMU_LEVEL; in pmu_backlight_get_level_brightness()
64 if (pmulevel < 0) in pmu_backlight_get_level_brightness()
65 pmulevel = 0; in pmu_backlight_get_level_brightness()
66 else if (pmulevel > MAX_PMU_LEVEL) in pmu_backlight_get_level_brightness()
67 pmulevel = MAX_PMU_LEVEL; in pmu_backlight_get_level_brightness()
69 return pmulevel; in pmu_backlight_get_level_brightness()
83 int pmulevel = pmu_backlight_get_level_brightness(level); in __pmu_backlight_update_status() local
85 pmu_request(&req, NULL, 2, PMU_BACKLIGHT_BRIGHT, pmulevel); in __pmu_backlight_update_status()

Completed in 3 milliseconds