Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/include/drivers/
Dled_strip.h62 size_t num_pixels);
101 size_t num_pixels) { in led_strip_update_rgb() argument
105 return api->update_rgb(dev, pixels, num_pixels); in led_strip_update_rgb()
/Zephyr-Core-2.7.6/drivers/led_strip/
Dws2812_spi.c75 size_t num_pixels) in num_pixels_ok() argument
80 overflow = size_mul_overflow(num_pixels, cfg->num_colors * 8, &nbytes); in num_pixels_ok()
94 size_t num_pixels) in ws2812_strip_update_rgb() argument
110 if (!num_pixels_ok(cfg, num_pixels)) { in ws2812_strip_update_rgb()
118 for (i = 0; i < num_pixels; i++) { in ws2812_strip_update_rgb()
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.c161 size_t num_pixels) in ws2812_gpio_update_rgb() argument
168 for (i = 0; i < num_pixels; i++) { in ws2812_gpio_update_rgb()
192 return send_buf(dev, (uint8_t *)pixels, num_pixels * config->num_colors); in ws2812_gpio_update_rgb()