Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_backlight.c30 static int backlight_level = BACKLIGHT_MAX; variable
67 backlight_level = ((*prop)+1) >> 1; in register_backlight_controller()
68 if (backlight_level > BACKLIGHT_MAX) in register_backlight_controller()
69 backlight_level = BACKLIGHT_MAX; in register_backlight_controller()
78 backlight_level = req.reply[0] >> 4; in register_backlight_controller()
81 if (!backlighter->set_enable(1, backlight_level, data)) in register_backlight_controller()
85 type, backlight_level); in register_backlight_controller()
103 rc = backlighter->set_enable(enable, backlight_level, backlighter_data); in set_backlight_enable()
131 backlight_level = level; in set_backlight_level()
146 return backlight_level; in get_backlight_level()
/linux-2.4.37.9/drivers/macintosh/
Dvia-pmu68k.c746 int backlight_level = -1; variable
758 if (backlight_level < 0) { in pmu_enable_backlight()
766 backlight_level = req.reply[1]; in pmu_enable_backlight()
774 LEVEL_TO_BRIGHT(backlight_level)); in pmu_enable_backlight()
790 backlight_level = level; in pmu_set_brightness()
1030 return put_user(backlight_level, (__u32 *)arg);