Searched refs:pmulevel (Results 1 – 1 of 1) sorted by relevance
59 int pmulevel; in pmu_backlight_get_level_brightness() local62 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() local84 pmu_request(&req, NULL, 2, PMU_BACKLIGHT_BRIGHT, pmulevel); in __pmu_backlight_update_status()