Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_sam4l_twim.c97 uint32_t cur_remaining; member
216 data->cur_remaining = TWIM_MAX_NBYTES_PER_XFER; in i2c_prepare_xfer_data()
222 data->cur_remaining = data->next_nb_bytes; in i2c_prepare_xfer_data()
308 data->cur_remaining = 0; in i2c_start_xfer()
345 cmdr_reg |= TWIM_CMDR_NBYTES(data->cur_remaining); in i2c_start_xfer()
352 cmdr_reg |= TWIM_CMDR_NBYTES(data->cur_remaining); in i2c_start_xfer()
448 data->cur_remaining--; in i2c_sam_twim_isr()
450 if (data->cur_remaining > 0) { in i2c_sam_twim_isr()
469 data->cur_remaining--; in i2c_sam_twim_isr()