Lines Matching refs:readb
63 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()
724 } else if (readb < req->rx_len) { in i2c_max32_isr_controller()
754 readb += MXC_I2C_ReadRXFIFO(i2c, &req->rx_buf[readb], req->rx_len - readb); in i2c_max32_isr_controller()
755 if (readb == req->rx_len) { in i2c_max32_isr_controller()
772 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len - readb); in i2c_max32_isr_controller()
780 data->readb = readb; in i2c_max32_isr_controller()