Lines Matching refs:tx_msg
69 struct i2c_msg *tx_msg; member
170 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
354 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo()
366 i2c->tx_msg = NULL; in xiic_wakeup()
393 i2c->tx_msg, i2c->nmsgs); in xiic_process()
416 if (i2c->tx_msg) in xiic_process()
448 i2c->tx_msg++; in xiic_process()
463 if (!i2c->tx_msg) in xiic_process()
478 if (!i2c->tx_msg) { in xiic_process()
493 i2c->tx_msg++; in xiic_process()
528 if (i2c->tx_msg) in xiic_busy()
556 struct i2c_msg *msg = i2c->rx_msg = i2c->tx_msg; in xiic_start_recv()
595 struct i2c_msg *msg = i2c->tx_msg; in xiic_start_send()
648 __func__, i2c->tx_msg, fifo_space); in __xiic_start_xfer()
650 if (!i2c->tx_msg) in __xiic_start_xfer()
659 i2c->tx_msg++; in __xiic_start_xfer()
664 if (i2c->tx_msg->flags & I2C_M_RD) { in __xiic_start_xfer()
717 i2c->tx_msg = msgs; in xiic_xfer()
731 i2c->tx_msg = NULL; in xiic_xfer()