Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/drivers/smbus/smbus_emul/src/
Dsmbus.c140 uint16_t snd_word, rcv_word; in ZTEST() local
151 ret = smbus_word_data_read(dev, PERIPH_ADDR, 0, &rcv_word); in ZTEST()
154 zassert_equal(snd_word, rcv_word, "Data mismatch"); in ZTEST()
165 ret = smbus_word_data_read(dev, PERIPH_ADDR, 0, &rcv_word); in ZTEST()
168 zassert_equal(snd_byte << 8 | snd_byte, rcv_word, "Data mismatch"); in ZTEST()
174 uint16_t snd_word, rcv_word; in ZTEST() local
182 ret = smbus_pcall(dev, PERIPH_ADDR, 0x0, snd_word, &rcv_word); in ZTEST()
186 zassert_equal(snd_word, __bswap_16(rcv_word), "Data mismatch"); in ZTEST()