Searched refs:write_int (Results 1 – 3 of 3) sorted by relevance
/device/google/marlin/liblight/ |
D | lights.c | 117 write_int(char const* path, int value) in write_int() function 193 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight() 202 err = write_int(LCD_FILE, brightness); in set_light_backlight() 246 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 248 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() 250 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked() 252 if(!write_int(RED_RGB_START_FILE, 1)) in set_speaker_light_locked() 253 if(!write_int(GREEN_RGB_START_FILE, 1)) in set_speaker_light_locked() 254 if(!write_int(BLUE_RGB_START_FILE, 1)) in set_speaker_light_locked()
|
/device/lge/bullhead/liblight/ |
D | lights.c | 59 static int write_int(char const* path, int value) in write_int() function 116 err = write_int(LCD_FILE, brightness); in set_light_backlight() 160 write_int(RGB_LOCKED_FILE, 0); in set_light_locked() 162 write_int(RED_LED_FILE, red); in set_light_locked() 163 write_int(GREEN_LED_FILE, green); in set_light_locked() 164 write_int(BLUE_LED_FILE, blue); in set_light_locked() 170 write_int(RGB_LOCKED_FILE, 1); in set_light_locked()
|
/device/huawei/angler/liblight/ |
D | lights.c | 96 write_int(char const* path, int value) in write_int() function 193 err = write_int(LCD_FILE, brightness); in set_light_backlight() 266 write_int(RGB_LOCK_FILE, 0); in set_speaker_light_locked() 268 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 269 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() 270 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked() 276 write_int(RGB_LOCK_FILE, 1); in set_speaker_light_locked()
|