Home
last modified time | relevance | path

Searched refs:CLOCK_NOMINAL (Results 1 – 3 of 3) 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()
Dpart4.txt35764 12 s_adjustRate = CLOCK_NOMINAL;
35781 22 return ((currentClock - s_initClock) * CLOCK_NOMINAL) / s_adjustRate;
35804 31 elapsed = ((currentClock - s_initClock) * CLOCK_NOMINAL) / s_adjustRate;
35805 32 s_initClock += (elapsed * s_adjustRate) / CLOCK_NOMINAL;
35855 76 if(s_adjustRate > (CLOCK_NOMINAL + CLOCK_ADJUST_LIMIT))
35856 77 s_adjustRate = CLOCK_NOMINAL + CLOCK_ADJUST_LIMIT;
35857 78 if(s_adjustRate < (CLOCK_NOMINAL - CLOCK_ADJUST_LIMIT))
35858 79 s_adjustRate = CLOCK_NOMINAL-CLOCK_ADJUST_LIMIT;
36756 81 #define CLOCK_NOMINAL 30000
/external/tpm2/include/tpm2/
DPlatform.h297 #define CLOCK_NOMINAL 30000 macro