Home
last modified time | relevance | path

Searched refs:s_adjustRate (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()
105 s_adjustRate += CLOCK_ADJUST_COARSE; in _plat__ClockAdjustRate()
108 s_adjustRate -= CLOCK_ADJUST_COARSE; in _plat__ClockAdjustRate()
111 s_adjustRate += CLOCK_ADJUST_MEDIUM; in _plat__ClockAdjustRate()
114 s_adjustRate -= CLOCK_ADJUST_MEDIUM; in _plat__ClockAdjustRate()
117 s_adjustRate += CLOCK_ADJUST_FINE; in _plat__ClockAdjustRate()
120 s_adjustRate -= CLOCK_ADJUST_FINE; in _plat__ClockAdjustRate()
[all …]
DPlatformData.c19 unsigned int s_adjustRate; variable
DPlatformData.h22 extern unsigned int s_adjustRate;