Searched refs:snd_block (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/tests/drivers/smbus/smbus_emul/src/ |
D | smbus.c | 192 uint8_t snd_block[SMBUS_BLOCK_BYTES_MAX]; in ZTEST() local 199 for (int i = 0; i < sizeof(snd_block); i++) { in ZTEST() 200 snd_block[i] = (uint8_t)sys_rand32_get(); in ZTEST() 203 snd_count = sizeof(snd_block); in ZTEST() 205 ret = smbus_block_write(dev, PERIPH_ADDR, 0, snd_count, snd_block); in ZTEST() 212 zassert_true(!memcmp(snd_block, rcv_block, rcv_count), in ZTEST() 219 uint8_t snd_block[SMBUS_BLOCK_BYTES_MAX]; in ZTEST() local 226 for (int i = 0; i < sizeof(snd_block); i++) { in ZTEST() 227 snd_block[i] = (uint8_t)sys_rand32_get(); in ZTEST() 231 ret = smbus_block_pcall(dev, PERIPH_ADDR, 0, snd_count, snd_block, in ZTEST() [all …]
|