Lines Matching refs:next_nb_bytes
101 uint32_t next_nb_bytes; member
215 if (data->next_nb_bytes > TWIM_MAX_NBYTES_PER_XFER) { in i2c_prepare_xfer_data()
218 data->next_nb_bytes -= TWIM_MAX_NBYTES_PER_XFER; in i2c_prepare_xfer_data()
222 data->cur_remaining = data->next_nb_bytes; in i2c_prepare_xfer_data()
227 data->next_nb_bytes = next_msg->len; in i2c_prepare_xfer_data()
231 data->next_nb_bytes = 0; in i2c_prepare_xfer_data()
265 if (data->next_nb_bytes > TWIM_MAX_NBYTES_PER_XFER) { in i2c_prepare_xfer_cmd()
272 next_nb_remaining = data->next_nb_bytes; in i2c_prepare_xfer_cmd()
305 data->next_nb_bytes = data->msgs[data->msg_next_idx].len; in i2c_start_xfer()
406 if (data->next_nb_bytes == 0) { in i2c_prepare_next()
457 if (data->next_is_valid && data->next_nb_bytes > 0) { in i2c_sam_twim_isr()
460 data->next_nb_bytes = 0; in i2c_sam_twim_isr()
477 if (data->next_is_valid && data->next_nb_bytes > 0) { in i2c_sam_twim_isr()