Searched refs:snd_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 203 snd_count = sizeof(snd_block); in ZTEST() 205 ret = smbus_block_write(dev, PERIPH_ADDR, 0, snd_count, snd_block); in ZTEST() 211 zassert_equal(snd_count, rcv_count, "Block count differs"); in ZTEST() 221 uint8_t snd_count, rcv_count; in ZTEST() local 230 snd_count = SMBUS_BLOCK_BYTES_MAX / 2; in ZTEST() 231 ret = smbus_block_pcall(dev, PERIPH_ADDR, 0, snd_count, snd_block, in ZTEST() 234 zassert_equal(snd_count, rcv_count, "Block count differs"); in ZTEST()
|
D | emul.c | 260 uint8_t snd_count = io_area[PCH_SMBUS_HD0]; in emul_start_smbus_protocol() local 266 if (snd_count > SMBUS_BLOCK_BYTES_MAX) { in emul_start_smbus_protocol() 275 for (int i = 0; i < snd_count; i++) { in emul_start_smbus_protocol() 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()
|
/Zephyr-Core-3.5.0/drivers/smbus/ |
D | smbus_handlers.c | 135 uint8_t snd_count, uint8_t *snd_buf, in z_vrfy_smbus_block_pcall() argument 139 Z_OOPS(Z_SYSCALL_MEMORY_READ(snd_buf, snd_count)); in z_vrfy_smbus_block_pcall() 142 return z_impl_smbus_block_pcall(dev, addr, cmd, snd_count, snd_buf, in z_vrfy_smbus_block_pcall()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | smbus.h | 1065 uint8_t snd_count, uint8_t *snd_buf, 1070 uint8_t snd_count, uint8_t *snd_buf, in z_impl_smbus_block_pcall() argument 1080 return api->smbus_block_pcall(dev, addr, cmd, snd_count, snd_buf, in z_impl_smbus_block_pcall()
|