Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_ite_enhance.c670 struct i2c_cq_packet *i2c_cq_pckt; in enhanced_i2c_cq_write() local
674 i2c_cq_pckt = (struct i2c_cq_packet *)host_buffer->i2c_cq_mode_tx_dlm; in enhanced_i2c_cq_write()
676 i2c_cq_pckt->id = data->addr_16bit << 1; in enhanced_i2c_cq_write()
677 i2c_cq_pckt->cmd_l = I2C_CQ_CMD_L_P | I2C_CQ_CMD_L_E | num_bit_2_0; in enhanced_i2c_cq_write()
678 i2c_cq_pckt->cmd_h = num_bit_10_3; in enhanced_i2c_cq_write()
680 i2c_cq_pckt->wdata[i] = data->cq_msgs[0].buf[i]; in enhanced_i2c_cq_write()
688 struct i2c_cq_packet *i2c_cq_pckt; in enhanced_i2c_cq_read() local
692 i2c_cq_pckt = (struct i2c_cq_packet *)host_buffer->i2c_cq_mode_tx_dlm; in enhanced_i2c_cq_read()
694 i2c_cq_pckt->id = data->addr_16bit << 1; in enhanced_i2c_cq_read()
695 i2c_cq_pckt->cmd_l = I2C_CQ_CMD_L_RW | I2C_CQ_CMD_L_P | in enhanced_i2c_cq_read()
[all …]