Home
last modified time | relevance | path

Searched refs:num_pixels (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dled_strip.h64 size_t num_pixels);
109 size_t num_pixels) in led_strip_update_rgb() argument
119 if (api->length(dev) < num_pixels) { in led_strip_update_rgb()
124 return api->update_rgb(dev, pixels, num_pixels); in led_strip_update_rgb()
/Zephyr-Core-3.7.0/drivers/led_strip/
Dtlc5971.c22 uint8_t num_pixels; member
184 size_t num_pixels) in tlc5971_fill_data_buffer() argument
195 for (int device = (num_pixels / TLC5971_PIXELS_PER_DEVICE) - 1; device >= 0; device--) { in tlc5971_fill_data_buffer()
231 static int tlc5971_transmit_data(const struct device *dev, size_t num_pixels) in tlc5971_transmit_data() argument
238 .len = (num_pixels / TLC5971_PIXELS_PER_DEVICE) * TLC5971_PACKET_LEN, in tlc5971_transmit_data()
249 static int tlc5971_update_rgb(const struct device *dev, struct led_rgb *pixels, size_t num_pixels) in tlc5971_update_rgb() argument
251 tlc5971_fill_data_buffer(dev, pixels, num_pixels); in tlc5971_update_rgb()
253 return tlc5971_transmit_data(dev, num_pixels); in tlc5971_update_rgb()
260 return (size_t)cfg->num_pixels; in tlc5971_length()
291 if ((cfg->num_pixels % TLC5971_PIXELS_PER_DEVICE) != 0) { in tlc5971_init()
[all …]
Dlpd880x.c89 size_t num_pixels) in lpd880x_strip_update_rgb() argument
99 for (i = 0; i < num_pixels; i++) { in lpd880x_strip_update_rgb()
113 return lpd880x_update(dev, pixels, 3 * num_pixels); in lpd880x_strip_update_rgb()
Dws2812_gpio.c149 size_t num_pixels) in ws2812_gpio_update_rgb() argument
156 for (i = 0; i < num_pixels; i++) { in ws2812_gpio_update_rgb()
180 return send_buf(dev, (uint8_t *)pixels, num_pixels * config->num_colors); in ws2812_gpio_update_rgb()
Dtlc59731.c120 size_t num_pixels) in tlc59731_gpio_update_rgb() argument
125 for (i = 0; i < num_pixels; i++) { in tlc59731_gpio_update_rgb()
Dws2812_spi.c80 size_t num_pixels) in ws2812_strip_update_rgb() argument
100 for (i = 0; i < num_pixels; i++) { in ws2812_strip_update_rgb()
Dws2812_rpi_pico_pio.c77 size_t num_pixels) in ws2812_led_strip_update_rgb() argument
83 for (size_t i = 0; i < num_pixels; i++) { in ws2812_led_strip_update_rgb()
Dws2812_i2s.c71 size_t num_pixels) in ws2812_strip_update_rgb() argument
109 for (uint16_t i = 0; i < num_pixels; i++) { in ws2812_strip_update_rgb()