Searched refs:buf_idx (Results 1 – 3 of 3) sorted by relevance
57 uint32_t buf_idx; member186 dev_data->buf_idx = 0; in i2c_sam_twihs_start()193 dev_data->buf_idx = 1; in i2c_sam_twihs_start()246 sqe->rx.buf[dev_data->buf_idx] = twihs->TWIHS_RHR; in i2c_sam_twihs_isr()247 dev_data->buf_idx += 1; in i2c_sam_twihs_isr()249 if (dev_data->buf_idx == sqe->rx.buf_len - 1U) { in i2c_sam_twihs_isr()257 if (dev_data->buf_idx == sqe->tx.buf_len) { in i2c_sam_twihs_isr()269 twihs->TWIHS_THR = sqe->tx.buf[dev_data->buf_idx++]; in i2c_sam_twihs_isr()
273 uint16_t buf_idx; in modem_cmux_transmit_frame() local291 buf_idx = 5; in modem_cmux_transmit_frame()294 buf_idx = 4; in modem_cmux_transmit_frame()298 fcs = crc8_rohc(MODEM_CMUX_FCS_INIT_VALUE, &buf[1], (buf_idx - 1)); in modem_cmux_transmit_frame()308 ring_buf_put(&cmux->transmit_rb, buf, buf_idx); in modem_cmux_transmit_frame()
637 * :github:`7389` - t1_adc108s102 buffer overflow due to chan->buf_idx growth