HomeSort by relevance Sort by last modified time
    Searched refs:U64_RECIPROCAL_CALCULATE (Results 1 - 3 of 3) sorted by null

  /device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
cpuMath.h 42 #define U64_RECIPROCAL_CALCULATE(val) ((val) & ((val) - 1)) ? (0xffffffffffffffffull / (val)) : (((val) <= 1) ? 0xffffffffffffffffull : (0x8000000000000000ull / ((val) >> 1)))
47 #define U64_DIV_BY_U64_CONSTANT(val, constantVal) cpuMathRecipAssistedUdiv64by64((val), (constantVal), U64_RECIPROCAL_CALCULATE(constantVal))
53 uint64_t ret = cpuMathRecipAssistedUdiv64by64(valP, conP, U64_RECIPROCAL_CALCULATE(conP)); \
  /device/google/contexthub/firmware/os/platform/stm32/
rtc.c 182 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV2_PERIOD_NS);
188 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV4_PERIOD_NS);
194 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV8_PERIOD_NS);
200 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV16_PERIOD_NS);
209 periodNsRecip = U64_RECIPROCAL_CALCULATE(NS_PER_S);
platform.c 517 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/32768),
531 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/32768),
545 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/32768),
559 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/32768),
573 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(1000000000ull/1000000),
585 .resolutionReciprocal = U64_RECIPROCAL_CALCULATE(16000000000ull/1000000),

Completed in 164 milliseconds