Lines Matching refs:transmit_cnt
35 uint32_t transmit_cnt, receive_cnt; member
273 data->transmit_cnt = 0; in i2c_smartbond_prep_transfer()
290 while ((data->transmit_cnt < data->msgs->len) && in i2c_smartbond_tx()
294 : (data->msgs->buf[data->transmit_cnt] & in i2c_smartbond_tx()
296 ((data->transmit_cnt == 0) && (data->msgs->flags & I2C_MSG_RESTART) in i2c_smartbond_tx()
299 ((data->transmit_cnt == (data->msgs->len - 1)) && in i2c_smartbond_tx()
303 data->transmit_cnt++; in i2c_smartbond_tx()
332 while ((data->receive_cnt < data->transmit_cnt) && in i2c_smartbond_rx()
358 data->transmit_cnt = 0; in i2c_smartbond_transfer()
375 while (data->transmit_cnt < data->msgs->len) { in i2c_smartbond_transfer()
459 while ((data->transmit_cnt < data->msgs->len) && in isr_tx()
463 : (data->msgs->buf[data->transmit_cnt] & in isr_tx()
465 ((data->transmit_cnt == 0) && (data->msgs->flags & I2C_MSG_RESTART) in isr_tx()
468 ((data->transmit_cnt == (data->msgs->len - 1)) && in isr_tx()
472 data->transmit_cnt++; in isr_tx()
478 while ((data->receive_cnt < data->transmit_cnt) && in isr_rx()
494 data->transmit_cnt = 0; in i2c_smartbond_async_msg_done()
519 if (data->transmit_cnt == data->msgs->len) { in i2c_smartbond_isr()