Lines Matching refs:write_int
91 write_int(char const* path, int value) in write_int() function
143 if ((err = write_int(PERSISTENCE_FILE, lpEnabled)) != 0) { in set_light_backlight()
156 err = write_int(LCD_FILE, brightness); in set_light_backlight()
158 err = write_int(LCD_FILE2, brightness); in set_light_backlight()
219 if (write_int(RED_BLINK_FILE, blink)) in set_speaker_light_locked()
220 write_int(RED_LED_FILE, 0); in set_speaker_light_locked()
223 if (write_int(GREEN_BLINK_FILE, blink)) in set_speaker_light_locked()
224 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked()
227 if (write_int(BLUE_BLINK_FILE, blink)) in set_speaker_light_locked()
228 write_int(BLUE_LED_FILE, 0); in set_speaker_light_locked()
231 write_int(RED_LED_FILE, red); in set_speaker_light_locked()
232 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked()
233 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked()
295 err = write_int(BUTTON_FILE, state->color & 0xFF); in set_light_buttons()