Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/platform/stm32/
Dplatform.c603 const struct PlatSleepAndClockInfo *sleepClock, *leastBadOption = NULL; in platSleep() local
611 for (sleepClock = platSleepClocks; sleepClock->maxCounter; sleepClock++) { in platSleep()
619 predecrement = sleepClock->resolution + sleepClock->maxWakeupTime; in platSleep()
622 if (sleepClock->jitterPpm > mMaxJitterPpm) in platSleep()
630 if (sleepClock->driftPpm > mMaxDriftPpm) in platSleep()
634 … (cpuMathRecipAssistedUdiv64by64(length, sleepClock->resolution, sleepClock->resolutionReciprocal)… in platSleep()
639 if ((sleepClock->devsAvail & mSleepDevsToKeepAlive) != mSleepDevsToKeepAlive) in platSleep()
646 if (mDevsMaxWakeTime[i] < sleepClock->maxWakeupTime) in platSleep()
654 leastBadOption = sleepClock; in platSleep()
658 if (!sleepClock->maxCounter) in platSleep()
[all …]