Lines Matching defs:brightness
41 int brightness;
84 #define BRIGHTNESS 0x2c /* RAM location for brightness value */
85 #define BRIGHTNESS_SEM 0x2b /* RAM location for brightness semaphore */
92 return sprintf(buf, "%i", cytherm->brightness);
110 cytherm->brightness = simple_strtoul(buf, NULL, 10);
112 if (cytherm->brightness > 0xFF)
113 cytherm->brightness = 0xFF;
114 else if (cytherm->brightness < 0)
115 cytherm->brightness = 0;
117 /* Set brightness */
119 cytherm->brightness, buffer, 8);
122 /* Inform ��C that we have changed the brightness setting */
133 static DEVICE_ATTR(brightness, S_IRUGO | S_IWUSR | S_IWGRP,
364 dev->brightness = 0xFF;