Home
last modified time | relevance | path

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

12345678910

/arch/powerpc/platforms/powermac/
Dbacklight.c109 int brightness; in pmac_backlight_key_worker() local
113 brightness = props->brightness + in pmac_backlight_key_worker()
117 if (brightness < 0) in pmac_backlight_key_worker()
118 brightness = 0; in pmac_backlight_key_worker()
119 else if (brightness > props->max_brightness) in pmac_backlight_key_worker()
120 brightness = props->max_brightness; in pmac_backlight_key_worker()
122 props->brightness = brightness; in pmac_backlight_key_worker()
141 static int __pmac_backlight_set_legacy_brightness(int brightness) in __pmac_backlight_set_legacy_brightness() argument
150 props->brightness = brightness * in __pmac_backlight_set_legacy_brightness()
154 if (props->brightness > props->max_brightness) in __pmac_backlight_set_legacy_brightness()
[all …]
/arch/arm/mach-s3c/
Dmach-hmt.c88 static int hmt_bl_notify(struct device *dev, int brightness) in hmt_bl_notify() argument
94 if (brightness < 0x800) { in hmt_bl_notify()
96 brightness = (100*256 * brightness + 231245/2) / 231245; in hmt_bl_notify()
99 int t = (brightness*4 + 16*1024 + 58)/116; in hmt_bl_notify()
100 brightness = 25 * ((t * t * t + 0x100000/2) / 0x100000); in hmt_bl_notify()
103 gpio_set_value(S3C64XX_GPB(4), brightness); in hmt_bl_notify()
105 return brightness; in hmt_bl_notify()
/arch/arm/boot/dts/
Dkirkwood-net5big.dts97 max-brightness = <7>;
106 max-brightness = <7>;
116 max-brightness = <7>;
125 max-brightness = <7>;
135 max-brightness = <7>;
144 max-brightness = <7>;
Dexynos54xx-odroidxu-leds.dtsi23 * so limit its max brightness
25 max-brightness = <127>;
33 max-brightness = <255>;
Dkirkwood-netxbig.dtsi136 max-brightness = <7>;
145 max-brightness = <7>;
155 max-brightness = <7>;
164 max-brightness = <7>;
174 max-brightness = <7>;
183 max-brightness = <7>;
Dwm8850-w70v2.dts22 brightness-levels = <0 40 60 80 100 130 190 255>;
23 default-brightness-level = <5>;
Dat91-kizbox.dts57 max-brightness = <255>;
64 max-brightness = <255>;
71 max-brightness = <255>;
78 max-brightness = <255>;
Dstm32mp157c-lxa-mc1.dts30 brightness-levels = <0 31 63 95 127 159 191 223 255>;
31 default-brightness-level = <7>;
56 max-brightness = <255>;
63 max-brightness = <255>;
70 max-brightness = <255>;
Dimx6dl-aristainetos_7.dts53 brightness-levels = <0 4 8 16 32 64 128 255>;
54 default-brightness-level = <6>;
Dat91-kizboxmini-common.dtsi63 max-brightness = <255>;
71 max-brightness = <255>;
78 max-brightness = <255>;
Dimx6dl-aristainetos_4.dts18 brightness-levels = <0 4 8 16 32 64 128 255>;
19 default-brightness-level = <7>;
Dat91-dvk_su60_somc_lcm.dtsi14 brightness-levels = <0 4 8 16 32 64 128 255>;
15 default-brightness-level = <6>;
Dat91sam9x5dm.dtsi15 brightness-levels = <0 4 8 16 32 64 128 255>;
16 default-brightness-level = <6>;
Dberlin2cd-google-chromecast.dts45 max-brightness = <255>;
52 max-brightness = <255>;
Dimx6dl-skov-revc-lt6.dts20 brightness-levels = <0 255>;
22 default-brightness-level = <8>;
Drk3288-veyron-tiger.dts25 /* Tiger panel PWM must be >= 1%, so start non-zero brightness at 3 */
26 brightness-levels = <3 255>;
Dep7211-edb7211.dts18 brightness-levels = <
22 default-brightness-level = <0x0>;
/arch/powerpc/include/asm/
Dbacklight.h34 extern void pmac_backlight_set_legacy_brightness_pmu(int brightness);
35 extern int pmac_backlight_set_legacy_brightness(int brightness);
/arch/arm64/boot/dts/allwinner/
Dsun50i-a64-pinephone-1.1.dts18 * being off is around 20%. Duty cycle for the lowest brightness level
22 brightness-levels = <
29 default-brightness-level = <400>;
Dsun50i-a64-pinephone-1.2.dts23 * is around 10%. Duty cycle for the lowest brightness level also varries
27 brightness-levels = <
35 default-brightness-level = <500>;
/arch/riscv/boot/dts/sifive/
Dhifive-unleashed-a00.dts59 max-brightness = <255>;
67 max-brightness = <255>;
75 max-brightness = <255>;
83 max-brightness = <255>;
/arch/arm64/boot/dts/renesas/
Dhihope-rzg2-ex-lvds.dtsi13 brightness-levels = <0 2 8 16 32 64 128 255>;
14 default-brightness-level = <6>;
Dr8a774c0-ek874-idk-2121wr.dts16 brightness-levels = <0 4 8 16 32 64 128 255>;
17 default-brightness-level = <6>;
/arch/arm/mach-pxa/
Dpalmte2.c163 static int palmte2_backlight_notify(struct device *dev, int brightness) in palmte2_backlight_notify() argument
165 gpio_set_value(GPIO_NR_PALMTE2_BL_POWER, brightness); in palmte2_backlight_notify()
166 gpio_set_value(GPIO_NR_PALMTE2_LCD_POWER, brightness); in palmte2_backlight_notify()
167 return brightness; in palmte2_backlight_notify()
Dpalm27x.c302 static int palm27x_backlight_notify(struct device *dev, int brightness) in palm27x_backlight_notify() argument
304 gpio_set_value(palm_bl_power, brightness); in palm27x_backlight_notify()
306 gpio_set_value(palm_lcd_power, brightness); in palm27x_backlight_notify()
307 return brightness; in palm27x_backlight_notify()

12345678910