Lines Matching refs:write_int
78 write_int(char const* path, int value) in write_int() function
123 err = write_int(LCD_FILE, brightness); in set_light_backlight()
172 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
173 write_int(RED_LED_FILE, 0); in set_speaker_light_locked()
176 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
177 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked()
180 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
181 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked()
184 write_int(RED_LED_FILE, red); in set_speaker_light_locked()
185 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked()
186 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked()
248 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()