Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/drivers/smbus/smbus_api/src/
Dtest_smbus_qemu.c65 uint16_t recv_word; in ZTEST_USER() local
72 &recv_word); in ZTEST_USER()
75 zassert_equal(send_word, recv_word, "SMBUS data compare fail"); in ZTEST_USER()
/Zephyr-Core-3.7.0/drivers/smbus/
Dsmbus_stm32.c214 uint16_t send_word, uint16_t *recv_word) in smbus_stm32_pcall() argument
223 result = i2c_write_read(config->i2c_dev, periph_addr, buffer, ARRAY_SIZE(buffer), recv_word, in smbus_stm32_pcall()
224 sizeof(*recv_word)); in smbus_stm32_pcall()
225 *recv_word = sys_le16_to_cpu(*recv_word); in smbus_stm32_pcall()
Dsmbus_handlers.c102 uint16_t send_word, uint16_t *recv_word) in z_vrfy_smbus_pcall() argument
105 K_OOPS(K_SYSCALL_MEMORY_WRITE(recv_word, sizeof(uint16_t))); in z_vrfy_smbus_pcall()
107 return z_impl_smbus_pcall(dev, addr, cmd, send_word, recv_word); in z_vrfy_smbus_pcall()
Dintel_pch_smbus.c720 uint16_t send_word, uint16_t *recv_word) in pch_smbus_pcall() argument
723 uint8_t *p = (uint8_t *)recv_word; in pch_smbus_pcall()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dsmbus.h365 uint16_t send_word, uint16_t *recv_word);
958 uint8_t cmd, uint16_t send_word, uint16_t *recv_word);
962 uint16_t send_word, uint16_t *recv_word) in z_impl_smbus_pcall() argument
971 return api->smbus_pcall(dev, addr, cmd, send_word, recv_word); in z_impl_smbus_pcall()