Lines Matching refs:brightness
46 char const *const LCD_FILE = "/sys/class/backlight/pwm-backlight.0/brightness";
50 const char *const LED_BRIGHTNESS_FILE = "brightness";
97 /* use max of the RGB components for brightness */
103 int brightness = red;
104 if (green > brightness)
105 brightness = green;
106 if (blue > brightness)
107 brightness = blue;
109 return brightness;
116 int brightness = rgb_to_brightness(state);
119 err = write_int(LCD_FILE, brightness);