Searched refs:active_msg (Results 1 – 2 of 2) sorted by relevance
74 struct i2c_msg *active_msg; member331 if ((data->active_msg->flags & I2C_MSG_STOP) && in i2c_r_last_byte()332 (data->ridx == data->active_msg->len - 1)) { in i2c_r_last_byte()401 data->active_msg->flags &= ~I2C_MSG_START; in i2c_tran_fifo_write_start()409 IT8XXX2_SMB_D0REG(base) = data->active_msg->len; in i2c_tran_fifo_write_start()416 data->bytecnt = MIN(data->active_msg->len, I2C_FIFO_MODE_MAX_SIZE); in i2c_tran_fifo_write_start()420 IT8XXX2_SMB_HOBDB(base) = *(data->active_msg->buf++); in i2c_tran_fifo_write_start()423 data->bytecnt = data->active_msg->len - data->bytecnt; in i2c_tran_fifo_write_start()447 IT8XXX2_SMB_HOBDB(base) = *(data->active_msg->buf++); in i2c_tran_fifo_write_next_block()489 data->active_msg = &data->msgs_list[data->active_msg_index]; in i2c_tran_fifo_w2r_change_direction()[all …]
121 struct i2c_msg *active_msg; member460 if (((data->ridx + 1) == data->active_msg->len) && in i2c_pio_trans_data()461 (data->active_msg->flags & I2C_MSG_STOP)) { in i2c_pio_trans_data()478 if (data->active_msg->flags & I2C_MSG_START) { in enhanced_i2c_tran_read()480 data->active_msg->flags &= ~I2C_MSG_START; in enhanced_i2c_tran_read()502 if (data->ridx < data->active_msg->len) { in enhanced_i2c_tran_read()504 *(data->active_msg->buf++) = IT8XXX2_I2C_DRR(base); in enhanced_i2c_tran_read()507 if (data->ridx == data->active_msg->len) { in enhanced_i2c_tran_read()508 data->active_msg->len = 0; in enhanced_i2c_tran_read()509 if (data->active_msg->flags & I2C_MSG_STOP) { in enhanced_i2c_tran_read()[all …]