Searched refs:active_msg (Results 1 – 2 of 2) sorted by relevance
72 struct i2c_msg *active_msg; member329 if ((data->active_msg->flags & I2C_MSG_STOP) && in i2c_r_last_byte()330 (data->ridx == data->active_msg->len - 1)) { in i2c_r_last_byte()399 data->active_msg->flags &= ~I2C_MSG_START; in i2c_tran_fifo_write_start()407 IT8XXX2_SMB_D0REG(base) = data->active_msg->len; in i2c_tran_fifo_write_start()414 data->bytecnt = MIN(data->active_msg->len, I2C_FIFO_MODE_MAX_SIZE); in i2c_tran_fifo_write_start()418 IT8XXX2_SMB_HOBDB(base) = *(data->active_msg->buf++); in i2c_tran_fifo_write_start()421 data->bytecnt = data->active_msg->len - data->bytecnt; in i2c_tran_fifo_write_start()445 IT8XXX2_SMB_HOBDB(base) = *(data->active_msg->buf++); in i2c_tran_fifo_write_next_block()487 data->active_msg = &data->msgs_list[data->active_msg_index]; in i2c_tran_fifo_w2r_change_direction()[all …]
119 struct i2c_msg *active_msg; member458 if (((data->ridx + 1) == data->active_msg->len) && in i2c_pio_trans_data()459 (data->active_msg->flags & I2C_MSG_STOP)) { in i2c_pio_trans_data()476 if (data->active_msg->flags & I2C_MSG_START) { in enhanced_i2c_tran_read()478 data->active_msg->flags &= ~I2C_MSG_START; in enhanced_i2c_tran_read()500 if (data->ridx < data->active_msg->len) { in enhanced_i2c_tran_read()502 *(data->active_msg->buf++) = IT8XXX2_I2C_DRR(base); in enhanced_i2c_tran_read()505 if (data->ridx == data->active_msg->len) { in enhanced_i2c_tran_read()506 data->active_msg->len = 0; in enhanced_i2c_tran_read()507 if (data->active_msg->flags & I2C_MSG_STOP) { in enhanced_i2c_tran_read()[all …]