Home
last modified time | relevance | path

Searched refs:led_names (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sm7250/display/liblight/
Dlights.c70 char *led_names[] = { variable
197 snprintf(file, sizeof(file), "/sys/class/leds/%s/trigger", led_names[led]); in set_rgb_led_brightness()
200 ALOGD("%s failed to set trigger to none\n", led_names[led]); in set_rgb_led_brightness()
204 snprintf(file, sizeof(file), "/sys/class/leds/%s/brightness", led_names[led]); in set_rgb_led_brightness()
219 snprintf(file_on, sizeof(file_on), "/sys/class/leds/%s/trigger", led_names[led]); in set_rgb_led_timer_trigger()
222 ALOGD("%s doesn't support timer trigger\n", led_names[led]); in set_rgb_led_timer_trigger()
226 snprintf(file_off, sizeof(file_off), "/sys/class/leds/%s/delay_off", led_names[led]); in set_rgb_led_timer_trigger()
227 snprintf(file_on, sizeof(file_on), "/sys/class/leds/%s/delay_on", led_names[led]); in set_rgb_led_timer_trigger()
243 ALOGE("Error in writing to delay_on/off for %s\n", led_names[led]); in set_rgb_led_timer_trigger()
254 snprintf(file, sizeof(file), "/sys/class/leds/%s/breath", led_names[led]); in set_rgb_led_hw_blink()
/hardware/qcom/sm8150/display/liblight/
Dlights.c65 char *led_names[] = { variable
173 snprintf(file, sizeof(file), "/sys/class/leds/%s/brightness", led_names[led]); in set_rgb_led_brightness()
182 snprintf(file, sizeof(file), "/sys/class/leds/%s/delay_off", led_names[led]); in set_rgb_led_timer_trigger()
187 snprintf(file, sizeof(file), "/sys/class/leds/%s/delay_on", led_names[led]); in set_rgb_led_timer_trigger()
194 ALOGD("%s doesn't support timer trigger\n", led_names[led]); in set_rgb_led_timer_trigger()
202 snprintf(file, sizeof(file), "/sys/class/leds/%s/breath", led_names[led]); in set_rgb_led_hw_blink()
204 snprintf(file, sizeof(file), "/sys/class/leds/%s/blink", led_names[led]); in set_rgb_led_hw_blink()