Lines Matching refs:tx_msg
61 * @tx_msg: Messages from above to be sent
64 * @nmsgs: Number of messages in tx_msg
83 struct i2c_msg *tx_msg;
235 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
539 i2c->tx_msg->len = 3;
632 u16 data = i2c->tx_msg->buf[i2c->tx_pos++];
660 i2c->tx_msg = NULL;
691 i2c->tx_msg, i2c->nmsgs);
720 if (i2c->tx_msg) {
756 i2c->tx_msg++;
769 if (!i2c->tx_msg) {
784 i2c->tx_msg++;
807 if (i2c->tx_msg && i2c->smbus_block_read) {
810 i2c->tx_msg->len = 1;
813 if (!i2c->tx_msg)
852 if (i2c->tx_msg || i2c->rx_msg)
881 struct i2c_msg *msg = i2c->rx_msg = i2c->tx_msg;
1005 struct i2c_msg *msg = i2c->tx_msg;
1084 __func__, i2c->tx_msg, fifo_space);
1086 if (!i2c->tx_msg)
1092 if (i2c->tx_msg->flags & I2C_M_RD) {
1111 i2c->tx_msg = msgs;
1133 (i2c->tx_msg[count].flags & I2C_M_RD);
1134 max_read_len = (i2c->tx_msg[count].flags & I2C_M_RD) &&
1135 (i2c->tx_msg[count].len > MAX_READ_LENGTH_DYNAMIC);
1136 smbus_blk_read = (i2c->tx_msg[count].flags & I2C_M_RECV_LEN);
1175 i2c->tx_msg = NULL;