Home
last modified time | relevance | path

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

123456

/arch/powerpc/platforms/powermac/
Dbacklight.c108 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/
Dmach-hmt.c94 static int hmt_bl_notify(struct device *dev, int brightness) in hmt_bl_notify() argument
100 if (brightness < 0x800) { in hmt_bl_notify()
102 brightness = (100*256 * brightness + 231245/2) / 231245; in hmt_bl_notify()
105 int t = (brightness*4 + 16*1024 + 58)/116; in hmt_bl_notify()
106 brightness = 25 * ((t * t * t + 0x100000/2) / 0x100000); in hmt_bl_notify()
109 gpio_set_value(S3C64XX_GPB(4), brightness); in hmt_bl_notify()
111 return brightness; in hmt_bl_notify()
/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/arm/boot/dts/
Dkirkwood-net5big.dts99 max-brightness = <7>;
108 max-brightness = <7>;
118 max-brightness = <7>;
127 max-brightness = <7>;
137 max-brightness = <7>;
146 max-brightness = <7>;
Dat91-kizbox.dts114 max-brightness = <255>;
121 max-brightness = <255>;
128 max-brightness = <255>;
135 max-brightness = <255>;
Dkirkwood-netxbig.dtsi138 max-brightness = <7>;
147 max-brightness = <7>;
157 max-brightness = <7>;
166 max-brightness = <7>;
176 max-brightness = <7>;
185 max-brightness = <7>;
Dtegra30-colibri-eval-v3.dts125 brightness-levels = <255 128 64 32 16 8 4 0>;
126 default-brightness-level = <6>;
169 max-brightness = <255>;
174 max-brightness = <255>;
179 max-brightness = <255>;
Dwm8850-w70v2.dts23 brightness-levels = <0 40 60 80 100 130 190 255>;
24 default-brightness-level = <5>;
Dtegra30-apalis-eval.dts189 brightness-levels = <255 231 223 207 191 159 127 0>;
190 default-brightness-level = <6>;
223 max-brightness = <255>;
229 max-brightness = <255>;
235 max-brightness = <255>;
Dimx6dl-aristainetos_7.dts58 brightness-levels = <0 4 8 16 32 64 128 255>;
59 default-brightness-level = <6>;
Dimx53-tx53-x13x.dts30 brightness-levels = <
43 default-brightness-level = <50>;
50 brightness-levels = <
63 default-brightness-level = <50>;
Dat91sam9x5dm.dtsi61 brightness-levels = <0 4 8 16 32 64 128 255>;
62 default-brightness-level = <6>;
Dimx6dl-aristainetos_4.dts22 brightness-levels = <0 4 8 16 32 64 128 255>;
23 default-brightness-level = <7>;
Dimx6q-tx6q-1110.dts64 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
75 default-brightness-level = <50>;
86 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
97 default-brightness-level = <50>;
Dimx6dl-tx6u-811x.dts64 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
75 default-brightness-level = <50>;
86 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
97 default-brightness-level = <50>;
Dat91-kizbox2.dts198 max-brightness = <255>;
205 max-brightness = <255>;
212 max-brightness = <255>;
Dimx6q-apalis-ixora.dts157 max-brightness = <255>;
163 max-brightness = <255>;
169 max-brightness = <255>;
175 brightness-levels = <0 127 191 223 239 247 251 255>;
176 default-brightness-level = <1>;
Dat91-kizboxmini.dts118 max-brightness = <255>;
125 max-brightness = <255>;
Dep7211-edb7211.dts21 brightness-levels = <
25 default-brightness-level = <0x0>;
Dimx6dl-tx6u-81xx-mb7.dts64 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
75 default-brightness-level = <50>;
86 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
97 default-brightness-level = <50>;
Dimx6q-tx6q-11x0-mb7.dts65 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
76 default-brightness-level = <50>;
87 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
98 default-brightness-level = <50>;
Dtegra20-medcom-wide.dts54 brightness-levels = <0 4 8 16 32 64 128 255>;
55 default-brightness-level = <6>;
/arch/arm/mach-pxa/
Dpalmte2.c157 static int palmte2_backlight_notify(struct device *dev, int brightness) in palmte2_backlight_notify() argument
159 gpio_set_value(GPIO_NR_PALMTE2_BL_POWER, brightness); in palmte2_backlight_notify()
160 gpio_set_value(GPIO_NR_PALMTE2_LCD_POWER, brightness); in palmte2_backlight_notify()
161 return brightness; in palmte2_backlight_notify()
Dpalm27x.c311 static int palm27x_backlight_notify(struct device *dev, int brightness) in palm27x_backlight_notify() argument
313 gpio_set_value(palm_bl_power, brightness); in palm27x_backlight_notify()
315 gpio_set_value(palm_lcd_power, brightness); in palm27x_backlight_notify()
316 return brightness; in palm27x_backlight_notify()
Dmagician.c376 static int magician_backlight_notify(struct device *dev, int brightness) in magician_backlight_notify() argument
378 pr_debug("Brightness = %i\n", brightness); in magician_backlight_notify()
379 gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness); in magician_backlight_notify()
380 if (brightness >= 200) { in magician_backlight_notify()
382 return brightness - 72; in magician_backlight_notify()
385 return brightness; in magician_backlight_notify()

123456