Lines Matching refs:write_int
82 write_int(char const* path, int value) in write_int() function
127 err = write_int(LCD_FILE, brightness); in set_light_backlight()
185 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
186 write_int(RED_LED_FILE, 0); in set_speaker_light_locked()
189 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
190 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked()
193 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
194 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked()
197 write_int(RED_LED_FILE, red); in set_speaker_light_locked()
198 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked()
199 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked()
261 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()
275 err = write_int(BLUETOOTH_LED_FILE, state->color & 0xFF); in set_light_bluetooth()