Lines Matching refs:write_int
79 write_int(char const* path, int value) in write_int() function
124 err = write_int(LCD_FILE, brightness); in set_light_backlight()
182 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
183 write_int(RED_LED_FILE, 0); in set_speaker_light_locked()
186 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
187 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked()
190 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
191 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked()
194 write_int(RED_LED_FILE, red); in set_speaker_light_locked()
195 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked()
196 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked()
258 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()