Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/led_strip/
Dtlc5971.c28 uint8_t gbc_color_1; member
112 static inline uint8_t tlc5971_data_byte26(uint8_t control_data, uint8_t gbc_color_1) in tlc5971_data_byte26() argument
115 FIELD_PREP(TLC5971_BYTE26_GBC1_MASK, (gbc_color_1 >> 2)); in tlc5971_data_byte26()
125 static inline uint8_t tlc5971_data_byte25(uint8_t gbc_color_1, uint8_t gbc_color_2) in tlc5971_data_byte25() argument
127 return FIELD_PREP(TLC5971_BYTE25_GBC1_MASK, gbc_color_1) | in tlc5971_data_byte25()
202 data_buffer[count++] = tlc5971_data_byte26(data->control_data, data->gbc_color_1); in tlc5971_fill_data_buffer()
203 data_buffer[count++] = tlc5971_data_byte25(data->gbc_color_1, data->gbc_color_2); in tlc5971_fill_data_buffer()
272 data->gbc_color_1 = tlc5971_map_color(cfg->color_mapping[0], &pixel); in tlc5971_set_global_brightness()
344 .gbc_color_1 = TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX, \