Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/rtio/rtio_i2c/src/
Dmain.cpp252 int msg_idx = i2c_is_read_op(&msgs[0]) ? 1 : 0; in ZTEST() local
254 zassert_equal(msg[msg_idx].len, msgs[0].len); in ZTEST()
255 zassert_mem_equal(msg[msg_idx].buf, msgs[0].buf, msg[msg_idx].len, in ZTEST()
257 msg[msg_idx].buf[0], msg[msg_idx].buf[1], msgs[0].buf[0], in ZTEST()
259 zassert_equal(msg[msg_idx].flags, msgs[0].flags); in ZTEST()
293 int msg_idx = (struct i2c_msg *)cqe[i]->userdata - msg; in ZTEST() local
295 zassert_true(msg_idx >= 0 && msg_idx < 3); in ZTEST()
296 msg_seen_mask |= BIT(msg_idx); in ZTEST()
297 if (msg_idx == 0 || msg_idx == 1) { in ZTEST()