Searched refs:htole32 (Results 1 – 7 of 7) sorted by relevance
51 #define htole32(x) ((uint32_t)(x)) macro65 #define htole32(x) bswap32((x)) macro
7 static inline __le32 cpu_to_le32(uint32_t x) { return htole32(x); } in cpu_to_le32()
142 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 …]
212 return htole32(crc); in hostIntfComputeCrc()1112 __le32 raw_reason = htole32(reason); in hostIntfNotifyReboot()
402 .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()
104 uint32_t tmp = htole32(val); in writeU32()
39 #define htole32(x) ((uint32_t)(x)) macro