Lines Matching refs:rx_len
236 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len); in i2c_max32_transfer_sync()
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()
270 if (req->rx_len) { in i2c_max32_transfer_sync()
455 req->rx_len = msgs[i].len; in i2c_max32_transfer()
463 req->rx_len = 0; in i2c_max32_transfer()
484 Wrap_MXC_I2C_SetRxCount(i2c, req->rx_len); in i2c_max32_transfer()
546 req->rx_len = msgs[i].len; in i2c_max32_transfer()
554 req->rx_len = 0; in i2c_max32_transfer()
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()