Searched refs:U64_RECIPROCAL_CALCULATE (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/os/platform/stm32/ |
D | rtc.c | 182 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV2_PERIOD_NS); in rtcSetWakeupTimer() 188 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV4_PERIOD_NS); in rtcSetWakeupTimer() 194 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV8_PERIOD_NS); in rtcSetWakeupTimer() 200 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV16_PERIOD_NS); in rtcSetWakeupTimer() 209 periodNsRecip = U64_RECIPROCAL_CALCULATE(NS_PER_S); in rtcSetWakeupTimer()
|
D | platform.c | 519 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/32768), 533 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/32768), 547 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/32768), 561 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/32768), 575 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/1000000), 587 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(16000000000ull/1000000),
|
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/ |
D | cpuMath.h | 42 #define U64_RECIPROCAL_CALCULATE(val) ((val) & ((val) - 1)) ? (0xffffffffffffffffull / (val)) : ((… macro 47 …stantVal) cpuMathRecipAssistedUdiv64by64((val), (constantVal), U64_RECIPROCAL_CALCULATE(constantV… 53 uint64_t ret = cpuMathRecipAssistedUdiv64by64(valP, conP, U64_RECIPROCAL_CALCULATE(conP)); \
|