/arch/powerpc/platforms/powermac/ |
D | backlight.c | 108 int brightness; in pmac_backlight_key_worker() local 112 brightness = props->brightness + in pmac_backlight_key_worker() 116 if (brightness < 0) in pmac_backlight_key_worker() 117 brightness = 0; in pmac_backlight_key_worker() 118 else if (brightness > props->max_brightness) in pmac_backlight_key_worker() 119 brightness = props->max_brightness; in pmac_backlight_key_worker() 121 props->brightness = brightness; in pmac_backlight_key_worker() 140 static int __pmac_backlight_set_legacy_brightness(int brightness) in __pmac_backlight_set_legacy_brightness() argument 149 props->brightness = brightness * in __pmac_backlight_set_legacy_brightness() 153 if (props->brightness > props->max_brightness) in __pmac_backlight_set_legacy_brightness() [all …]
|
/arch/arm/mach-s3c64xx/ |
D | mach-hmt.c | 87 static int hmt_bl_notify(struct device *dev, int brightness) in hmt_bl_notify() argument 93 if (brightness < 0x800) { in hmt_bl_notify() 95 brightness = (100*256 * brightness + 231245/2) / 231245; in hmt_bl_notify() 98 int t = (brightness*4 + 16*1024 + 58)/116; in hmt_bl_notify() 99 brightness = 25 * ((t * t * t + 0x100000/2) / 0x100000); in hmt_bl_notify() 102 gpio_set_value(S3C64XX_GPB(4), brightness); in hmt_bl_notify() 104 return brightness; in hmt_bl_notify()
|
/arch/powerpc/include/asm/ |
D | backlight.h | 33 extern void pmac_backlight_set_legacy_brightness_pmu(int brightness); 34 extern int pmac_backlight_set_legacy_brightness(int brightness);
|
/arch/arm/boot/dts/ |
D | tegra30-colibri-eval-v3.dts | 120 brightness-levels = <255 128 64 32 16 8 4 0>; 121 default-brightness-level = <6>; 164 max-brightness = <255>; 169 max-brightness = <255>; 174 max-brightness = <255>;
|
D | imx6dl-tx6u-811x.dts | 34 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 45 default-brightness-level = <50>; 56 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 67 default-brightness-level = <50>;
|
D | imx6q-tx6q-1110.dts | 34 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 45 default-brightness-level = <50>; 56 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 67 default-brightness-level = <50>;
|
D | wm8850-w70v2.dts | 23 brightness-levels = <0 40 60 80 100 130 190 255>; 24 default-brightness-level = <5>;
|
D | tegra30-apalis-eval.dts | 180 brightness-levels = <255 231 223 207 191 159 127 0>; 181 default-brightness-level = <6>; 214 max-brightness = <255>; 220 max-brightness = <255>; 226 max-brightness = <255>;
|
D | imx53-tx53-x13x.dts | 30 brightness-levels = < 43 default-brightness-level = <50>; 50 brightness-levels = < 63 default-brightness-level = <50>;
|
D | imx6dl-aristainetos_7.dts | 58 brightness-levels = <0 4 8 16 32 64 128 255>; 59 default-brightness-level = <6>;
|
D | imx6dl-aristainetos_4.dts | 22 brightness-levels = <0 4 8 16 32 64 128 255>; 23 default-brightness-level = <7>;
|
D | imx6dl-tx6dl-comtft.dts | 32 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 43 default-brightness-level = <50>;
|
D | imx6q-tx6q-1010-comtft.dts | 32 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 43 default-brightness-level = <50>;
|
D | imx6q-tx6q-1020-comtft.dts | 32 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 43 default-brightness-level = <50>;
|
D | tegra20-medcom-wide.dts | 50 brightness-levels = <0 4 8 16 32 64 128 255>; 51 default-brightness-level = <6>;
|
D | imx28-cfa10058.dts | 141 brightness-levels = <0 4 8 16 32 64 128 255>; 142 default-brightness-level = <6>;
|
D | rk3288-evb.dtsi | 23 brightness-levels = < 56 default-brightness-level = <128>;
|
D | imx23-evk.dts | 156 brightness-levels = <0 4 8 16 32 64 128 255>; 157 default-brightness-level = <6>;
|
D | imx6qdl-nitrogen6x.dtsi | 119 brightness-levels = <0 4 8 16 32 64 128 255>; 120 default-brightness-level = <7>; 128 brightness-levels = <0 4 8 16 32 64 128 255>; 129 default-brightness-level = <7>;
|
D | imx6qdl-sabrelite.dtsi | 118 brightness-levels = <0 4 8 16 32 64 128 255>; 119 default-brightness-level = <7>; 127 brightness-levels = <0 4 8 16 32 64 128 255>; 128 default-brightness-level = <7>;
|
D | imx28-cfa10055.dts | 164 brightness-levels = <0 4 8 16 32 64 128 255>; 165 default-brightness-level = <6>;
|
D | imx28-cfa10057.dts | 174 brightness-levels = <0 4 8 16 32 64 128 255>; 175 default-brightness-level = <7>;
|
/arch/arm/mach-pxa/ |
D | palmte2.c | 151 static int palmte2_backlight_notify(struct device *dev, int brightness) in palmte2_backlight_notify() argument 153 gpio_set_value(GPIO_NR_PALMTE2_BL_POWER, brightness); in palmte2_backlight_notify() 154 gpio_set_value(GPIO_NR_PALMTE2_LCD_POWER, brightness); in palmte2_backlight_notify() 155 return brightness; in palmte2_backlight_notify()
|
D | palm27x.c | 305 static int palm27x_backlight_notify(struct device *dev, int brightness) in palm27x_backlight_notify() argument 307 gpio_set_value(palm_bl_power, brightness); in palm27x_backlight_notify() 309 gpio_set_value(palm_lcd_power, brightness); in palm27x_backlight_notify() 310 return brightness; in palm27x_backlight_notify()
|
D | magician.c | 359 static int magician_backlight_notify(struct device *dev, int brightness) in magician_backlight_notify() argument 361 gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); in magician_backlight_notify() 362 if (brightness >= 200) { in magician_backlight_notify() 364 return brightness - 72; in magician_backlight_notify() 367 return brightness; in magician_backlight_notify()
|