Lines Matching defs:brightness
104 /* use max of the RGB components for brightness */
110 int brightness = red;
111 if (green > brightness)
112 brightness = green;
113 if (blue > brightness)
114 brightness = blue;
116 return brightness;
124 int brightness = rgb_to_brightness(state);
127 err = write_int("/sys/class/leds/lcd-backlight/brightness", brightness);
136 unsigned int brightness = rgb_to_brightness(state);
142 write_int("/sys/class/leds/notification-led/brightness", brightness);