Home
last modified time | relevance | path

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

/external/tpm2/
DClock.c43 s_adjustRate = CLOCK_NOMINAL; in _plat__ClockReset()
59 return ((currentClock - s_initClock) * CLOCK_NOMINAL) / s_adjustRate; in _plat__ClockTimeFromStart()
77 elapsed = ((currentClock - s_initClock) * CLOCK_NOMINAL) / s_adjustRate; in _plat__ClockTimeElapsed()
78 s_initClock += (elapsed * s_adjustRate) / CLOCK_NOMINAL; in _plat__ClockTimeElapsed()
126 if(s_adjustRate > (CLOCK_NOMINAL + CLOCK_ADJUST_LIMIT)) in _plat__ClockAdjustRate()
127 s_adjustRate = CLOCK_NOMINAL + CLOCK_ADJUST_LIMIT; in _plat__ClockAdjustRate()
128 if(s_adjustRate < (CLOCK_NOMINAL - CLOCK_ADJUST_LIMIT)) in _plat__ClockAdjustRate()
129 s_adjustRate = CLOCK_NOMINAL-CLOCK_ADJUST_LIMIT; in _plat__ClockAdjustRate()
/external/tpm2/include/tpm2/
DPlatform.h297 #define CLOCK_NOMINAL 30000 macro