Home
last modified time | relevance | path

Searched refs:i2c_cq_pckt (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.6.0/drivers/i2c/
Di2c_ite_enhance.c690 struct i2c_cq_packet *i2c_cq_pckt; in enhanced_i2c_cq_write() local
694 i2c_cq_pckt = (struct i2c_cq_packet *)host_buffer->i2c_cq_mode_tx_dlm; in enhanced_i2c_cq_write()
696 i2c_cq_pckt->id = data->addr_16bit << 1; in enhanced_i2c_cq_write()
697 i2c_cq_pckt->cmd_l = I2C_CQ_CMD_L_P | I2C_CQ_CMD_L_E | num_bit_2_0; in enhanced_i2c_cq_write()
698 i2c_cq_pckt->cmd_h = num_bit_10_3; in enhanced_i2c_cq_write()
700 i2c_cq_pckt->wdata[i] = data->cq_msgs[0].buf[i]; in enhanced_i2c_cq_write()
708 struct i2c_cq_packet *i2c_cq_pckt; in enhanced_i2c_cq_read() local
712 i2c_cq_pckt = (struct i2c_cq_packet *)host_buffer->i2c_cq_mode_tx_dlm; in enhanced_i2c_cq_read()
714 i2c_cq_pckt->id = data->addr_16bit << 1; in enhanced_i2c_cq_read()
715 i2c_cq_pckt->cmd_l = I2C_CQ_CMD_L_RW | I2C_CQ_CMD_L_P | in enhanced_i2c_cq_read()
[all …]