Home
last modified time | relevance | path

Searched refs:UINT64_C (Results 1 – 22 of 22) sorted by relevance

/device/google/contexthub/firmware/os/algos/common/math/
Dmacros.h36 #define MSEC_TO_NANOS(x) (static_cast<uint64_t>(x * UINT64_C(1000000)))
38 #define MSEC_TO_NANOS(x) ((uint64_t)(x * UINT64_C(1000000))) // NOLINT
41 #define SEC_TO_NANOS(x) MSEC_TO_NANOS(x * UINT64_C(1000))
42 #define MIN_TO_NANOS(x) SEC_TO_NANOS (x * UINT64_C(60))
43 #define HRS_TO_NANOS(x) MIN_TO_NANOS (x * UINT64_C(60))
44 #define DAYS_TO_NANOS(x) HRS_TO_NANOS (x * UINT64_C(24))
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h31 #define NANOHUB_VENDOR_GOOGLE UINT64_C(0x476F6F676C) // "Googl"
32 #define NANOHUB_VENDOR_STMICRO UINT64_C(0x53544d6963) // "STMic"
33 #define NANOHUB_VENDOR_INVENSENSE UINT64_C(0x496E76656E) // "Inven"
42 #define APP_ID_ANY UINT64_C(0xFFFFFFFFFFFFFFFF)
43 #define APP_VENDOR_ANY UINT64_C(0xFFFFFFFFFF)
/device/google/contexthub/firmware/os/platform/stm32/
Dmpu.c79 len = end - start + UINT64_C(1); in mpuRegionCfg()
83 proposedStart = start &~ ((UINT64_C(1) << lenVal) - 1); in mpuRegionCfg()
87 …lenVal = (proposedLen & (proposedLen - UINT64_C(1))) ? 64 - __builtin_clzll(proposedLen) : 63 - __… in mpuRegionCfg()
89 } while (proposedStart & ((UINT64_C(1) << lenVal) - UINT64_C(1))); in mpuRegionCfg()
Drtc.c28 #define NS_PER_S UINT64_C(1000000000)
105 #define RTC_DIV2_PERIOD_NS UINT64_C(61035)
106 #define RTC_DIV4_PERIOD_NS UINT64_C(122070)
107 #define RTC_DIV8_PERIOD_NS UINT64_C(244141)
108 #define RTC_DIV16_PERIOD_NS UINT64_C(488281)
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/machine/
D_stdint.h51 #define UINT64_C(c) (c ## ULL) macro
54 #define UINTMAX_C(c) UINT64_C(c)
/device/linaro/bootloader/edk2/StdLib/LibC/Main/Arm/
Dfp_lib.h78 #define REP_C UINT64_C
152 #define Word_LoMask UINT64_C(0x00000000ffffffff)
153 #define Word_HiMask UINT64_C(0xffffffff00000000)
154 #define Word_FullMask UINT64_C(0xffffffffffffffff)
/device/linaro/bootloader/edk2/StdLib/Include/Arm/machine/
Dint_const.h56 #define UINT64_C(c) c ## ULL macro
/device/linaro/bootloader/edk2/StdLib/Include/Ia32/machine/
Dint_const.h56 #define UINT64_C(c) c ## ULL macro
/device/linaro/bootloader/edk2/StdLib/Include/X64/machine/
Dint_const.h56 #define UINT64_C(c) c ## ULL macro
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Dint_const.h57 #define UINT64_C(c) c ## UL macro
/device/linaro/bootloader/edk2/StdLib/Include/Aarch64/machine/
Dint_const.h56 #define UINT64_C(c) c ## ULL macro
/device/google/contexthub/firmware/os/inc/
Dsensors_priv.h67 #define SENSOR_LATENCY_INVALID UINT64_C(0xFFFFFFFFFFFFFFFF)
Dseos.h94 #define KEY_SEQ_ID_ANY UINT64_C(0xFFFFFF)
95 #define HW_ID_ANY UINT64_C(0xFFFFFF)
/device/google/contexthub/firmware/os/algos/
Dap_hub_sync.c23 #define S_IN_NS(s) (UINT64_C(1000000000)*(s))
/device/google/contexthub/firmware/app/chre/chre_test0.app/
Dmain.c38 static const uint64_t kOneSecond = UINT64_C(1000000000); // in nanoseconds
/device/google/contexthub/firmware/app/chre/chre_test1.app/
Dmain.cpp38 static const uint64_t kOneSecond = UINT64_C(1000000000); // in nanoseconds
/device/google/contexthub/firmware/app/chre/chre_test2.app/
Dmain.cpp39 static const uint64_t kOneSecond = UINT64_C(1000000000); // in nanoseconds
/device/google/fuchsia/bioniccompat/include/
Dstdint.h268 #define UINT64_C(c) __UINT64_C(c) macro
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app.c217 change.status.interval = (UINT32_C(1024000000) / msg->newRate) * UINT64_C(1000); in chreappProcessConfigEvt()
Dchre_app.c217 change.status.interval = (UINT32_C(1024000000) / msg->newRate) * UINT64_C(1000); in chreappProcessConfigEvt()
/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c310 info->minInterval = (UINT32_C(1024000000) / max) * UINT64_C(1000); in osChreSensorGetInfo()
354 status->interval = (UINT32_C(1024000000) / rate) * UINT64_C(1000); in osChreSensorGetSamplingStatus()
/device/google/contexthub/contexthubhal/
DNanohubHidlAdapter.cpp48 static constexpr uint64_t ALL_APPS = UINT64_C(0xFFFFFFFFFFFFFFFF);