Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/sys/
Dbyteorder.h19 #define BSWAP_16(x) ((uint16_t) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))) macro
231 #define sys_be16_to_cpu(val) BSWAP_16(val)
232 #define sys_cpu_to_be16(val) BSWAP_16(val)
265 #define sys_le16_to_cpu(val) BSWAP_16(val)
266 #define sys_cpu_to_le16(val) BSWAP_16(val)
/Zephyr-latest/drivers/input/
Dinput_gt911.c20 #define DEVICE_ID BSWAP_16(0x8140U)
21 #define REG_STATUS BSWAP_16(0x814EU)
30 #define REG_GT911_CONFIG BSWAP_16(0x8047U)
39 #define REG_POINT_ADDR(n) BSWAP_16(REG_POINT_0 + POINT_OFFSET * n)
/Zephyr-latest/subsys/shell/modules/
Ddevmem_service.c202 *data = BSWAP_16(*data); in bypass_cb()
/Zephyr-latest/tests/drivers/smbus/smbus_emul/src/
Dsmbus.c183 zassert_equal(snd_word, BSWAP_16(rcv_word), "Data mismatch"); in ZTEST()
/Zephyr-latest/subsys/net/ip/
Dutils.c542 sum = BSWAP_16(sum_in); in calc_chksum()
594 return BSWAP_16((uint16_t)sum); in calc_chksum()