Lines Matching full:pixel
43 * The TLC5971 has 4x RGB outputs per device, where each RGB group constitues a pixel from this
174 * @brief serialize control data and pixel data for device daisy chain
180 * @param pixels pixel RGB data for daisy chain
206 for (int pixel = (TLC5971_PIXELS_PER_DEVICE - 1); pixel >= 0; pixel--) { in tlc5971_fill_data_buffer() local
209 &pixels[(device * TLC5971_PIXELS_PER_DEVICE) + pixel]; in tlc5971_fill_data_buffer()
212 * Convert pixel data into SPI frames, mapping user colors to tlc5971 in tlc5971_fill_data_buffer()
263 int tlc5971_set_global_brightness(const struct device *dev, struct led_rgb pixel) in tlc5971_set_global_brightness() argument
269 if ((pixel.r <= TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX) && in tlc5971_set_global_brightness()
270 (pixel.g <= TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX) && in tlc5971_set_global_brightness()
271 (pixel.b <= TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX)) { in tlc5971_set_global_brightness()
272 data->gbc_color_1 = tlc5971_map_color(cfg->color_mapping[0], &pixel); in tlc5971_set_global_brightness()
273 data->gbc_color_2 = tlc5971_map_color(cfg->color_mapping[1], &pixel); in tlc5971_set_global_brightness()
274 data->gbc_color_3 = tlc5971_map_color(cfg->color_mapping[2], &pixel); in tlc5971_set_global_brightness()