Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_max32_rtio.c51 uint32_t readb; member
141 data->readb = 0; in max32_msg_start()
186 uint32_t written, readb; in i2c_max32_isr_controller() local
192 readb = data->readb; in i2c_max32_isr_controller()
209 } else if (readb < req->rx_len) { in i2c_max32_isr_controller()
239 readb += MXC_I2C_ReadRXFIFO(i2c, &req->rx_buf[readb], req->rx_len - readb); in i2c_max32_isr_controller()
240 if (readb == req->rx_len) { in i2c_max32_isr_controller()
256 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len - readb); in i2c_max32_isr_controller()
263 data->readb = readb; in i2c_max32_isr_controller()
Di2c_max32.c63 uint32_t readb; member
207 uint32_t readb = 0; in i2c_max32_transfer_sync() local
237 while (req->rx_len > readb) { in i2c_max32_transfer_sync()
240 readb += MXC_I2C_ReadRXFIFO(i2c, &req->rx_buf[readb], req->rx_len - readb); in i2c_max32_transfer_sync()
249 if ((int_fl0 & ADI_MAX32_I2C_INT_FL0_DONE) && (req->rx_len > readb) && in i2c_max32_transfer_sync()
251 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len - readb); in i2c_max32_transfer_sync()
478 data->readb = 0; in i2c_max32_transfer()
569 data->readb = 0; in i2c_max32_transfer()
700 uint32_t written, readb; in i2c_max32_isr_controller() local
706 readb = data->readb; in i2c_max32_isr_controller()
[all …]