Home
last modified time | relevance | path

Searched refs:led_rgb (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/samples/drivers/led/led_strip/src/
Dmain.c34 static const struct led_rgb colors[] = {
40 static struct led_rgb pixels[STRIP_NUM_PIXELS];
60 memcpy(&pixels[cursor], &colors[color], sizeof(struct led_rgb)); in main()
/Zephyr-latest/include/zephyr/drivers/
Dled_strip.h40 struct led_rgb { struct
63 struct led_rgb *pixels, argument
108 struct led_rgb *pixels, in led_strip_update_rgb()
/Zephyr-latest/drivers/led_strip/
Dapa102.c53 static int apa102_update_rgb(const struct device *dev, struct led_rgb *pixels, in apa102_update_rgb()
73 BUILD_ASSERT(sizeof(struct led_rgb) == 4); in apa102_update_rgb()
74 return apa102_update(dev, pixels, sizeof(struct led_rgb) * count); in apa102_update_rgb()
Dtlc5971.c151 static uint8_t tlc5971_map_color(int color_id, const struct led_rgb *pixel_data) in tlc5971_map_color()
183 static void tlc5971_fill_data_buffer(const struct device *dev, struct led_rgb *pixels, in tlc5971_fill_data_buffer()
208 const struct led_rgb *pixel_data = in tlc5971_fill_data_buffer()
249 static int tlc5971_update_rgb(const struct device *dev, struct led_rgb *pixels, size_t num_pixels) in tlc5971_update_rgb()
263 int tlc5971_set_global_brightness(const struct device *dev, struct led_rgb pixel) in tlc5971_set_global_brightness()
Dtlc59731.c105 static int tlc59731_led_set_color(const struct device *dev, struct led_rgb *pixel) in tlc59731_led_set_color()
119 static int tlc59731_gpio_update_rgb(const struct device *dev, struct led_rgb *pixels, in tlc59731_gpio_update_rgb()
Dlpd880x.c88 struct led_rgb *pixels, in lpd880x_strip_update_rgb()
Dws2812_gpio.c133 struct led_rgb *pixels, in ws2812_gpio_update_rgb()
Dws2812_spi.c79 struct led_rgb *pixels, in ws2812_strip_update_rgb()
Dws2812_i2s.c65 static int ws2812_strip_update_rgb(const struct device *dev, struct led_rgb *pixels, in ws2812_strip_update_rgb()
Dws2812_rpi_pico_pio.c76 static int ws2812_led_strip_update_rgb(const struct device *dev, struct led_rgb *pixels, in ws2812_led_strip_update_rgb()
/Zephyr-latest/include/zephyr/drivers/led_strip/
Dtlc5971.h25 int tlc5971_set_global_brightness(const struct device *dev, struct led_rgb pixel);
/Zephyr-latest/drivers/display/
Ddisplay_led_strip_matrix.c19 struct led_rgb *pixels;
73 static struct led_rgb *pixel_address(const struct led_strip_matrix_config *config, uint16_t x, in pixel_address()
122 struct led_rgb *pix = pixel_address(config, xpos, ypos); in led_strip_matrix_write()
171 struct led_rgb *pix = pixel_address(config, xpos, ypos); in led_strip_matrix_read()
239 static struct led_rgb pixels##inst##_##idx[CHAIN_LENGTH(idx, inst)];
/Zephyr-latest/tests/drivers/build_all/led/
Dapp.overlay111 led_rgb {
112 label = "led_rgb";
/Zephyr-latest/boards/arduino/nicla_sense_me/
Darduino_nicla_sense_me.dts80 led_rgb {