Lines Matching refs:rx_len
220 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len); in i2c_max32_transfer_sync()
221 while (req->rx_len > readb) { in i2c_max32_transfer_sync()
224 readb += MXC_I2C_ReadRXFIFO(i2c, &req->rx_buf[readb], req->rx_len - readb); in i2c_max32_transfer_sync()
233 if ((int_fl0 & ADI_MAX32_I2C_INT_FL0_DONE) && (req->rx_len > readb) && in i2c_max32_transfer_sync()
235 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len - readb); in i2c_max32_transfer_sync()
254 if (req->rx_len) { in i2c_max32_transfer_sync()
296 req->rx_len = msgs[i].len; in i2c_max32_transfer()
304 req->rx_len = 0; in i2c_max32_transfer()
325 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len); in i2c_max32_transfer()
387 req->rx_len = msgs[i].len; in i2c_max32_transfer()
395 req->rx_len = 0; in i2c_max32_transfer()
558 } else if (readb < req->rx_len) { in i2c_max32_isr_controller()
588 readb += MXC_I2C_ReadRXFIFO(i2c, &req->rx_buf[readb], req->rx_len - readb); in i2c_max32_isr_controller()
589 if (readb == req->rx_len) { in i2c_max32_isr_controller()
606 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len - readb); in i2c_max32_isr_controller()