Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_ite_enhance.c120 enum i2c_ch_status i2ccs; member
483 data->i2ccs = I2C_CH_WAIT_READ; in enhanced_i2c_tran_read()
487 if (data->i2ccs) { in enhanced_i2c_tran_read()
488 if (data->i2ccs == I2C_CH_WAIT_READ) { in enhanced_i2c_tran_read()
489 data->i2ccs = I2C_CH_NORMAL; in enhanced_i2c_tran_read()
496 data->i2ccs = I2C_CH_WAIT_READ; in enhanced_i2c_tran_read()
510 data->i2ccs = I2C_CH_NORMAL; in enhanced_i2c_tran_read()
517 data->i2ccs = I2C_CH_WAIT_READ; in enhanced_i2c_tran_read()
549 if (data->i2ccs == I2C_CH_WAIT_NEXT_XFER) { in enhanced_i2c_tran_write()
550 data->i2ccs = I2C_CH_NORMAL; in enhanced_i2c_tran_write()
[all …]
Di2c_ite_it8xxx2.c73 enum i2c_ch_status i2ccs; member
700 if (data->i2ccs != I2C_CH_NORMAL) { in fifo_mode_allowed()
789 if ((data->i2ccs == I2C_CH_REPEAT_START) || in i2c_tran_read()
790 (data->i2ccs == I2C_CH_WAIT_READ)) { in i2c_tran_read()
791 if (data->i2ccs == I2C_CH_REPEAT_START) { in i2c_tran_read()
800 data->i2ccs = I2C_CH_NORMAL; in i2c_tran_read()
818 data->i2ccs = I2C_CH_WAIT_READ; in i2c_tran_read()
874 if (data->i2ccs == I2C_CH_REPEAT_START) { in i2c_tran_write()
875 data->i2ccs = I2C_CH_NORMAL; in i2c_tran_write()
889 data->i2ccs = I2C_CH_REPEAT_START; in i2c_tran_write()
[all …]