Lines Matching refs:i2c_cq_pckt

691 	struct i2c_cq_packet *i2c_cq_pckt;  in enhanced_i2c_cq_write()  local
695 i2c_cq_pckt = (struct i2c_cq_packet *)host_buffer->i2c_cq_mode_tx_dlm; in enhanced_i2c_cq_write()
697 i2c_cq_pckt->id = data->addr_16bit << 1; in enhanced_i2c_cq_write()
698 i2c_cq_pckt->cmd_l = I2C_CQ_CMD_L_P | I2C_CQ_CMD_L_E | num_bit_2_0; in enhanced_i2c_cq_write()
699 i2c_cq_pckt->cmd_h = num_bit_10_3; in enhanced_i2c_cq_write()
701 i2c_cq_pckt->wdata[i] = data->cq_msgs[0].buf[i]; in enhanced_i2c_cq_write()
709 struct i2c_cq_packet *i2c_cq_pckt; in enhanced_i2c_cq_read() local
713 i2c_cq_pckt = (struct i2c_cq_packet *)host_buffer->i2c_cq_mode_tx_dlm; in enhanced_i2c_cq_read()
715 i2c_cq_pckt->id = data->addr_16bit << 1; in enhanced_i2c_cq_read()
716 i2c_cq_pckt->cmd_l = I2C_CQ_CMD_L_RW | I2C_CQ_CMD_L_P | in enhanced_i2c_cq_read()
718 i2c_cq_pckt->cmd_h = num_bit_10_3; in enhanced_i2c_cq_read()
725 struct i2c_cq_packet *i2c_cq_pckt; in enhanced_i2c_cq_write_to_read() local
730 i2c_cq_pckt = (struct i2c_cq_packet *)host_buffer->i2c_cq_mode_tx_dlm; in enhanced_i2c_cq_write_to_read()
732 i2c_cq_pckt->id = data->addr_16bit << 1; in enhanced_i2c_cq_write_to_read()
733 i2c_cq_pckt->cmd_l = num_bit_2_0; in enhanced_i2c_cq_write_to_read()
734 i2c_cq_pckt->cmd_h = num_bit_10_3; in enhanced_i2c_cq_write_to_read()
736 i2c_cq_pckt->wdata[i] = data->cq_msgs[0].buf[i]; in enhanced_i2c_cq_write_to_read()
742 i2c_cq_pckt->wdata[i++] = I2C_CQ_CMD_L_RS | I2C_CQ_CMD_L_RW | in enhanced_i2c_cq_write_to_read()
744 i2c_cq_pckt->wdata[i] = num_bit_10_3; in enhanced_i2c_cq_write_to_read()