Home
last modified time | relevance | path

Searched refs:transmit_cnt (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_smartbond.c35 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()
[all …]