Searched refs:write_int (Results 1 - 4 of 4) sorted by relevance

/device/asus/grouper/liblights/
H A Dlights.c36 static int write_int(char const *path, int value) function
49 LOGE("write_int failed to open %s\n", path);
95 err = write_int("/sys/class/backlight/pwm-backlight/brightness",
/device/samsung/crespo/liblight/
H A Dlights.c33 static int write_int(char const *path, int value) function
40 ALOGV("write_int: path %s, value %d", path, value);
51 ALOGE("write_int failed to open %s\n", path);
73 err = write_int(LCD_FILE, brightness);
/device/moto/stingray/liblights/
H A Dlights.c52 static int write_int(char const *path, int value) function
65 ALOGE("write_int failed to open %s\n", path);
85 ALOGE("write_int failed to open %s\n", path);
127 err = write_int("/sys/class/leds/lcd-backlight/brightness", brightness);
142 write_int("/sys/class/leds/notification-led/brightness", brightness);
143 write_int("/sys/class/leds/notification-led/blink", blink);
/device/samsung/tuna/liblight/
H A Dlights.c50 static int write_int(char const *path, int value) function
57 ALOGV("write_int: path %s, value %d", path, value);
68 ALOGE("write_int failed to open %s\n", path);
90 err = write_int(LCD_FILE, brightness);

Completed in 186 milliseconds