Lines Matching refs:buf_ptr
111 const uint8_t *buf_ptr = buf; in led_strip_matrix_write() local
125 uint32_t color = *((uint32_t *)buf_ptr); in led_strip_matrix_write()
131 buf_ptr += 4; in led_strip_matrix_write()
133 pix->r = *buf_ptr; in led_strip_matrix_write()
134 buf_ptr++; in led_strip_matrix_write()
135 pix->g = *buf_ptr; in led_strip_matrix_write()
136 buf_ptr++; in led_strip_matrix_write()
137 pix->b = *buf_ptr; in led_strip_matrix_write()
138 buf_ptr++; in led_strip_matrix_write()
141 buf_ptr += (desc->pitch - desc->width) * in led_strip_matrix_write()
160 uint8_t *buf_ptr = buf; in led_strip_matrix_read() local
174 uint32_t *pix_ptr = (uint32_t *)buf_ptr; in led_strip_matrix_read()
178 *buf_ptr = pix->r; in led_strip_matrix_read()
179 buf_ptr++; in led_strip_matrix_read()
180 *buf_ptr = pix->g; in led_strip_matrix_read()
181 buf_ptr++; in led_strip_matrix_read()
182 *buf_ptr = pix->b; in led_strip_matrix_read()
183 buf_ptr++; in led_strip_matrix_read()
186 buf_ptr += (desc->pitch - desc->width) * in led_strip_matrix_read()