Home
last modified time | relevance | path

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

/arch/powerpc/platforms/powermac/
Dbacklight.c107 int brightness; in pmac_backlight_key_worker() local
111 brightness = props->brightness + in pmac_backlight_key_worker()
115 if (brightness < 0) in pmac_backlight_key_worker()
116 brightness = 0; in pmac_backlight_key_worker()
117 else if (brightness > props->max_brightness) in pmac_backlight_key_worker()
118 brightness = props->max_brightness; in pmac_backlight_key_worker()
120 props->brightness = brightness; in pmac_backlight_key_worker()
139 static int __pmac_backlight_set_legacy_brightness(int brightness) in __pmac_backlight_set_legacy_brightness() argument
148 props->brightness = brightness * in __pmac_backlight_set_legacy_brightness()
152 if (props->brightness > props->max_brightness) in __pmac_backlight_set_legacy_brightness()
[all …]
/arch/powerpc/include/asm/
Dbacklight.h33 extern void pmac_backlight_set_legacy_brightness_pmu(int brightness);
34 extern int pmac_backlight_set_legacy_brightness(int brightness);
/arch/mips/alchemy/devboards/pb1200/
Dplatform.c52 enum led_brightness brightness) in pb1200_mmcled_set() argument
54 if (brightness != LED_OFF) { in pb1200_mmcled_set()
/arch/arm/mach-pxa/
Dpalmz72.c270 static int palmz72_backlight_notify(int brightness) in palmz72_backlight_notify() argument
272 gpio_set_value(GPIO_NR_PALMZ72_BL_POWER, brightness); in palmz72_backlight_notify()
273 gpio_set_value(GPIO_NR_PALMZ72_LCD_POWER, brightness); in palmz72_backlight_notify()
274 return brightness; in palmz72_backlight_notify()
Dpalmtx.c292 static int palmtx_backlight_notify(int brightness) in palmtx_backlight_notify() argument
294 gpio_set_value(GPIO_NR_PALMTX_BL_POWER, brightness); in palmtx_backlight_notify()
295 gpio_set_value(GPIO_NR_PALMTX_LCD_POWER, brightness); in palmtx_backlight_notify()
296 return brightness; in palmtx_backlight_notify()
Dmagician.c374 static int magician_backlight_notify(int brightness) in magician_backlight_notify() argument
376 gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); in magician_backlight_notify()
377 if (brightness >= 200) { in magician_backlight_notify()
379 return brightness - 72; in magician_backlight_notify()
382 return brightness; in magician_backlight_notify()
Dviper.c378 static int viper_backlight_notify(int brightness) in viper_backlight_notify() argument
380 gpio_set_value(VIPER_LCD_EN_GPIO, !!brightness); in viper_backlight_notify()
381 gpio_set_value(VIPER_BCKLIGHT_EN_GPIO, !!brightness); in viper_backlight_notify()
383 return brightness; in viper_backlight_notify()
/arch/powerpc/kernel/
Dtraps.c86 props->brightness = props->max_brightness; in pmac_backlight_unblank()