Lines Matching refs:xfer_len
51 uint32_t xfer_len; member
78 if ((data->xfer_len > 0U) && in i2c_gd32_xfer_read()
91 if ((data->xfer_len > 0U) && in i2c_gd32_xfer_write()
102 switch (data->xfer_len) { in i2c_gd32_handle_rbne()
109 data->xfer_len--; in i2c_gd32_handle_rbne()
131 data->xfer_len--; in i2c_gd32_handle_rbne()
143 if (data->xfer_len > 0U) { in i2c_gd32_handle_tbe()
144 data->xfer_len--; in i2c_gd32_handle_tbe()
145 if (data->xfer_len == 0U) { in i2c_gd32_handle_tbe()
170 switch (data->xfer_len) { in i2c_gd32_handle_btc()
176 data->xfer_len--; in i2c_gd32_handle_btc()
187 data->xfer_len--; in i2c_gd32_handle_btc()
205 if ((data->current->flags & I2C_MSG_READ) && (data->xfer_len <= 2U)) { in i2c_gd32_handle_addsend()
223 if ((data->current->flags & I2C_MSG_READ) && (data->xfer_len == 1U)) { in i2c_gd32_handle_addsend()
325 if (data->xfer_len == 2U) { in i2c_gd32_xfer_begin()
460 data->xfer_len = msgs[i].len; in i2c_gd32_transfer()
467 data->xfer_len += msgs[itr].len; in i2c_gd32_transfer()