Searched refs:rcv_count (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/tests/drivers/smbus/smbus_emul/src/ |
D | smbus.c | 194 uint8_t snd_count, rcv_count; in ZTEST() local 208 ret = smbus_block_read(dev, PERIPH_ADDR, 0, &rcv_count, rcv_block); in ZTEST() 211 zassert_equal(snd_count, rcv_count, "Block count differs"); in ZTEST() 212 zassert_true(!memcmp(snd_block, rcv_block, rcv_count), in ZTEST() 221 uint8_t snd_count, rcv_count; in ZTEST() local 232 &rcv_count, rcv_block); in ZTEST() 234 zassert_equal(snd_count, rcv_count, "Block count differs"); in ZTEST() 240 for (int i = 0; i < rcv_count; i++) { in ZTEST() 241 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-Core-3.5.0/drivers/smbus/ |
D | smbus_handlers.c | 136 uint8_t *rcv_count, uint8_t *rcv_buf) in z_vrfy_smbus_block_pcall() argument 140 Z_OOPS(Z_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-Core-3.5.0/include/zephyr/drivers/ |
D | smbus.h | 1066 uint8_t *rcv_count, uint8_t *rcv_buf); 1071 uint8_t *rcv_count, uint8_t *rcv_buf) in z_impl_smbus_block_pcall() argument 1081 rcv_count, rcv_buf); in z_impl_smbus_block_pcall()
|