Lines Matching refs:tx_msg
72 struct i2c_msg *tx_msg; member
174 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
342 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo()
354 i2c->tx_msg = NULL; in xiic_wakeup()
381 i2c->tx_msg, i2c->nmsgs); in xiic_process()
404 if (i2c->tx_msg) in xiic_process()
436 i2c->tx_msg++; in xiic_process()
451 if (!i2c->tx_msg) in xiic_process()
466 if (!i2c->tx_msg) { in xiic_process()
481 i2c->tx_msg++; in xiic_process()
516 if (i2c->tx_msg) in xiic_busy()
535 struct i2c_msg *msg = i2c->rx_msg = i2c->tx_msg; in xiic_start_recv()
575 struct i2c_msg *msg = i2c->tx_msg; in xiic_start_send()
628 __func__, i2c->tx_msg, fifo_space); in __xiic_start_xfer()
630 if (!i2c->tx_msg) in __xiic_start_xfer()
639 i2c->tx_msg++; in __xiic_start_xfer()
644 if (i2c->tx_msg->flags & I2C_M_RD) { in __xiic_start_xfer()
687 i2c->tx_msg = msgs; in xiic_xfer()
696 i2c->tx_msg = NULL; in xiic_xfer()