Searched refs:rcv_count (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/drivers/smbus/smbus_emul/src/ |
D | smbus.c | 191 uint8_t snd_count, rcv_count; in ZTEST() local 203 ret = smbus_block_read(dev, PERIPH_ADDR, 0, &rcv_count, rcv_block); in ZTEST() 206 zassert_equal(snd_count, rcv_count, "Block count differs"); in ZTEST() 207 zassert_true(!memcmp(snd_block, rcv_block, rcv_count), in ZTEST() 216 uint8_t snd_count, rcv_count; in ZTEST() local 225 &rcv_count, rcv_block); in ZTEST() 227 zassert_equal(snd_count, rcv_count, "Block count differs"); in ZTEST() 233 for (int i = 0; i < rcv_count; i++) { in ZTEST() 234 zassert_equal(snd_block[i], rcv_block[rcv_count - (i + 1)], in ZTEST()
|
D | emul.c | 262 uint8_t rcv_count; in emul_start_smbus_protocol() local 279 rcv_count = snd_count; in emul_start_smbus_protocol() 280 if (snd_count + rcv_count > SMBUS_BLOCK_BYTES_MAX) { in emul_start_smbus_protocol() 284 for (int i = 0; i < rcv_count; i++) { in emul_start_smbus_protocol() 292 io_area[PCH_SMBUS_HD0] = rcv_count; in emul_start_smbus_protocol()
|
/Zephyr-latest/drivers/smbus/ |
D | smbus_handlers.c | 136 uint8_t *rcv_count, uint8_t *rcv_buf) in z_vrfy_smbus_block_pcall() argument 140 K_OOPS(K_SYSCALL_MEMORY_WRITE(rcv_count, sizeof(uint8_t))); in z_vrfy_smbus_block_pcall() 143 rcv_count, rcv_buf); in z_vrfy_smbus_block_pcall()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | smbus.h | 1069 uint8_t *rcv_count, uint8_t *rcv_buf); 1074 uint8_t *rcv_count, uint8_t *rcv_buf) in z_impl_smbus_block_pcall() argument 1084 rcv_count, rcv_buf); in z_impl_smbus_block_pcall()
|