Home
last modified time | relevance | path

Searched refs:htole32 (Results 1 – 7 of 7) sorted by relevance

/device/google/contexthub/firmware/external/freebsd/inc/sys/
Dendian.h51 #define htole32(x) ((uint32_t)(x)) macro
65 #define htole32(x) bswap32((x)) macro
/device/linaro/dragonboard/qcom/qrtr/src/
Dns.h7 static inline __le32 cpu_to_le32(uint32_t x) { return htole32(x); } in cpu_to_le32()
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c142 resp->variantVer = htole32(VARIANT_VER); in getOsHwVersion()
154 resp->appVer = htole32(appVer); in getAppVersion()
170 resp->appVer = htole32(appVer); in queryAppInfo()
171 resp->appSize = htole32(appSize); in queryAppInfo()
749 packet->evtType = htole32(EVT_APP_TO_HOST); in fillBuffer()
752 packet->evtType = htole32(EVT_RESET_REASON); in fillBuffer()
755 packet->evtType = htole32(EVT_APP_TO_SENSOR_HAL_DATA); in fillBuffer()
759 packet->evtType = htole32(HOST_EVT_DEBUG_LOG); in fillBuffer()
763 packet->evtType = htole32(0x00000000); in fillBuffer()
767 packet->evtType = htole32(EVT_NO_FIRST_SENSOR_EVENT + packet->sensType); in fillBuffer()
[all …]
DhostIntf.c212 return htole32(crc); in hostIntfComputeCrc()
1112 __le32 raw_reason = htole32(reason); in hostIntfNotifyReboot()
/device/google/contexthub/contexthubhal/
DNanohubHidlAdapter.cpp402 .header_version = htole32(1), in loadNanoApp()
403 .magic = htole32(NANOAPP_MAGIC), in loadNanoApp()
405 .app_version = htole32(appBinary.appVersion), in loadNanoApp()
406 .flags = htole32(appBinary.flags), in loadNanoApp()
Dmessage_buf.h104 uint32_t tmp = htole32(val); in writeU32()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c39 #define htole32(x) ((uint32_t)(x)) macro