Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_numaker.c78 struct i2c_msg *msgs_pos; member
101 __ASSERT_NO_MSG(data->master_xfer.msgs_pos < data->master_xfer.msgs_end); in m_numaker_i2c_master_xfer_msg_read_last_byte()
103 __ASSERT_NO_MSG((data->master_xfer.msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ); in m_numaker_i2c_master_xfer_msg_read_last_byte()
107 bool do_stop_prev = data->master_xfer.msgs_pos->flags & I2C_MSG_STOP; in m_numaker_i2c_master_xfer_msg_read_last_byte()
110 data->master_xfer.msgs_pos++; in m_numaker_i2c_master_xfer_msg_read_last_byte()
113 if (data->master_xfer.msgs_pos < data->master_xfer.msgs_end) { in m_numaker_i2c_master_xfer_msg_read_last_byte()
115 struct i2c_msg *msgs_pos = data->master_xfer.msgs_pos; in m_numaker_i2c_master_xfer_msg_read_last_byte() local
116 bool is_read_next = (msgs_pos->flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in m_numaker_i2c_master_xfer_msg_read_last_byte()
117 bool do_restart_next = data->master_xfer.msgs_pos->flags & I2C_MSG_RESTART; in m_numaker_i2c_master_xfer_msg_read_last_byte()
142 data->master_xfer.msgs_pos--; in m_numaker_i2c_master_xfer_msg_read_last_byte()
[all …]