/arch/powerpc/platforms/powermac/ |
D | backlight.c | 109 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/ |
D | mach-hmt.c | 88 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/ |
D | kirkwood-net5big.dts | 97 max-brightness = <7>; 106 max-brightness = <7>; 116 max-brightness = <7>; 125 max-brightness = <7>; 135 max-brightness = <7>; 144 max-brightness = <7>;
|
D | exynos54xx-odroidxu-leds.dtsi | 23 * so limit its max brightness 25 max-brightness = <127>; 33 max-brightness = <255>;
|
D | kirkwood-netxbig.dtsi | 136 max-brightness = <7>; 145 max-brightness = <7>; 155 max-brightness = <7>; 164 max-brightness = <7>; 174 max-brightness = <7>; 183 max-brightness = <7>;
|
D | wm8850-w70v2.dts | 22 brightness-levels = <0 40 60 80 100 130 190 255>; 23 default-brightness-level = <5>;
|
D | at91-kizbox.dts | 57 max-brightness = <255>; 64 max-brightness = <255>; 71 max-brightness = <255>; 78 max-brightness = <255>;
|
D | stm32mp157c-lxa-mc1.dts | 30 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>;
|
D | imx6dl-aristainetos_7.dts | 53 brightness-levels = <0 4 8 16 32 64 128 255>; 54 default-brightness-level = <6>;
|
D | at91-kizboxmini-common.dtsi | 63 max-brightness = <255>; 71 max-brightness = <255>; 78 max-brightness = <255>;
|
D | imx6dl-aristainetos_4.dts | 18 brightness-levels = <0 4 8 16 32 64 128 255>; 19 default-brightness-level = <7>;
|
D | at91-dvk_su60_somc_lcm.dtsi | 14 brightness-levels = <0 4 8 16 32 64 128 255>; 15 default-brightness-level = <6>;
|
D | at91sam9x5dm.dtsi | 15 brightness-levels = <0 4 8 16 32 64 128 255>; 16 default-brightness-level = <6>;
|
D | berlin2cd-google-chromecast.dts | 45 max-brightness = <255>; 52 max-brightness = <255>;
|
D | imx6dl-skov-revc-lt6.dts | 20 brightness-levels = <0 255>; 22 default-brightness-level = <8>;
|
D | rk3288-veyron-tiger.dts | 25 /* Tiger panel PWM must be >= 1%, so start non-zero brightness at 3 */ 26 brightness-levels = <3 255>;
|
D | ep7211-edb7211.dts | 18 brightness-levels = < 22 default-brightness-level = <0x0>;
|
/arch/powerpc/include/asm/ |
D | backlight.h | 34 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/ |
D | sun50i-a64-pinephone-1.1.dts | 18 * being off is around 20%. Duty cycle for the lowest brightness level 22 brightness-levels = < 29 default-brightness-level = <400>;
|
D | sun50i-a64-pinephone-1.2.dts | 23 * 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/ |
D | hifive-unleashed-a00.dts | 59 max-brightness = <255>; 67 max-brightness = <255>; 75 max-brightness = <255>; 83 max-brightness = <255>;
|
/arch/arm64/boot/dts/renesas/ |
D | hihope-rzg2-ex-lvds.dtsi | 13 brightness-levels = <0 2 8 16 32 64 128 255>; 14 default-brightness-level = <6>;
|
D | r8a774c0-ek874-idk-2121wr.dts | 16 brightness-levels = <0 4 8 16 32 64 128 255>; 17 default-brightness-level = <6>;
|
/arch/arm/mach-pxa/ |
D | palmte2.c | 163 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()
|
D | palm27x.c | 302 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()
|