Searched refs:write_int (Results 1 – 2 of 2) sorted by relevance
/hardware/msm7k/liblights/ |
D | lights.c | 102 write_int(char const* path, int value) in write_int() function 146 return write_int(TRACKBALL_FILE, mode); in handle_trackball_light_locked() 165 err = write_int(LCD_FILE, brightness); in set_light_backlight() 180 err = write_int(KEYBOARD_FILE, on?255:0); in set_light_keyboard() 193 err = write_int(BUTTON_FILE, on?255:0); in set_light_buttons() 232 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 233 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() 234 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked() 238 write_int(AMBER_LED_FILE, 1); in set_speaker_light_locked() 239 write_int(GREEN_LED_FILE, 0); in set_speaker_light_locked() [all …]
|
/hardware/qcom/display/liblight/ |
D | lights.c | 78 write_int(char const* path, int value) in write_int() function 120 err = write_int(LCD_FILE, brightness); in set_light_backlight() 180 write_int(LED_LOCK_UPDATE_FILE, 1); // for LED On/Off synchronization in set_speaker_light_locked() 182 write_int(RED_LED_FILE, red); in set_speaker_light_locked() 183 write_int(GREEN_LED_FILE, green); in set_speaker_light_locked() 184 write_int(BLUE_LED_FILE, blue); in set_speaker_light_locked() 187 write_int(RED_FREQ_FILE, freq); in set_speaker_light_locked() 188 write_int(RED_PWM_FILE, pwm); in set_speaker_light_locked() 190 write_int(RED_BLINK_FILE, blink); in set_speaker_light_locked() 192 write_int(LED_LOCK_UPDATE_FILE, 0); in set_speaker_light_locked()
|