Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_numaker.c83 } master_xfer; 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()
104 __ASSERT_NO_MSG((data->master_xfer.buf_end - data->master_xfer.buf_pos) == 1); 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()
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 …]