Searched refs:led_color (Results 1 – 4 of 4) sorted by relevance
19 static void set_led(const struct device *const led, enum led_color_t led_color) in set_led() argument21 if (led_color != LED_RED) { in set_led()24 if (led_color != LED_GREEN) { in set_led()27 if (led_color != LED_BLUE) { in set_led()30 led_on(led, led_color); in set_led()
87 uint8_t led_color = R502A_LED_COLOR_PURPLE; in r502a_led() local100 ret = led_set_color(led_dev, led_num, led_color_a_inst, &led_color); in r502a_led()
222 uint8_t led_color; member
1191 drv_data->led_color = *color; in grow_r502a_led_set_color()1200 if (!drv_data->led_color) { in grow_r502a_led_on()1201 drv_data->led_color = R502A_LED_COLOR_BLUE; in grow_r502a_led_on()1206 .color_idx = drv_data->led_color, in grow_r502a_led_on()