Lines Matching refs:rx_msg
87 struct i2c_msg *rx_msg; member
236 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos)
496 i2c->rx_msg->flags &= ~I2C_M_RECV_LEN; in xiic_smbus_block_read_setup()
504 i2c->rx_msg->buf[i2c->rx_pos++] = rxmsg_len; in xiic_smbus_block_read_setup()
515 i2c->rx_msg->len = rxmsg_len + 1; in xiic_smbus_block_read_setup()
524 i2c->rx_msg->len = SMBUS_BLOCK_READ_MIN_LEN; in xiic_smbus_block_read_setup()
531 i2c->rx_msg->len = rxmsg_len + 1; in xiic_smbus_block_read_setup()
567 if (i2c->rx_msg->flags & I2C_M_RECV_LEN) { in xiic_read_rx()
601 i2c->rx_msg->buf[i2c->rx_pos++] = in xiic_read_rx()
661 i2c->rx_msg = NULL; in xiic_wakeup()
716 if (i2c->rx_msg) { in xiic_process()
731 if (!i2c->rx_msg) { in xiic_process()
741 i2c->rx_msg = NULL; in xiic_process()
818 if (i2c->nmsgs == 1 && !i2c->rx_msg && in xiic_process()
852 if (i2c->tx_msg || i2c->rx_msg) in xiic_busy()
881 struct i2c_msg *msg = i2c->rx_msg = i2c->tx_msg; in xiic_start_recv()
950 if (!(i2c->rx_msg->flags & I2C_M_RECV_LEN)) { in xiic_start_recv()
1112 i2c->rx_msg = NULL; in xiic_start_xfer()
1176 i2c->rx_msg = NULL; in xiic_xfer()