Searched refs:write_int (Results 1 – 2 of 2) 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/google/wahoo/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() 245 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 247 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() 249 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked() 251 if(!write_int(RED_RGB_START_FILE, 1)) in set_speaker_light_locked() 252 if(!write_int(GREEN_RGB_START_FILE, 1)) in set_speaker_light_locked() 253 if(!write_int(BLUE_RGB_START_FILE, 1)) in set_speaker_light_locked()
|