Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/
DQNCSmmPeriodicTimer.c86 TIMER_INFO mTimers[NUM_TIMERS]; variable
231 mTimers[Timer].MinReqInterval = ~(UINT64)0x0; in QNCSmmPeriodicTimerProgramTimers()
232 mTimers[Timer].NumChildren = 0; in QNCSmmPeriodicTimerProgramTimers()
248 … if (mTimers[Timer].MinReqInterval > RecordInDb->ChildContext.PeriodicTimer.SmiTickInterval) { in QNCSmmPeriodicTimerProgramTimers()
249 mTimers[Timer].MinReqInterval = RecordInDb->ChildContext.PeriodicTimer.SmiTickInterval; in QNCSmmPeriodicTimerProgramTimers()
251 mTimers[Timer].NumChildren++; in QNCSmmPeriodicTimerProgramTimers()
261 if (mTimers[PERIODIC_TIMER].NumChildren > 0) { in QNCSmmPeriodicTimerProgramTimers()
262 switch (mTimers[PERIODIC_TIMER].MinReqInterval) { in QNCSmmPeriodicTimerProgramTimers()
266 mTimers[PERIODIC_TIMER].CurrentSetting = INDEX_TIME_64s; in QNCSmmPeriodicTimerProgramTimers()
271 mTimers[PERIODIC_TIMER].CurrentSetting = INDEX_TIME_32s; in QNCSmmPeriodicTimerProgramTimers()
[all …]
/device/google/contexthub/firmware/os/core/
Dtimer.c57 static struct Timer mTimers[MAX_TIMERS]; variable
78 if (mTimers[i].id == timId) in timFindTimerById()
79 return mTimers + i; in timFindTimerById()
128 for (i = 0, tim = &mTimers[0]; i < MAX_TIMERS; i++, tim++) { in timFireAsNeededAndUpdateAlarms()
191 t = mTimers + idx; in timTimerSetEx()
257 atomicBitsetClearBit(mTimersValid, t - mTimers); in timTimerCancelEx()
275 tim = &mTimers[0]; in timTimerCancelAll()
284 atomicBitsetClearBit(mTimersValid, tim - mTimers); in timTimerCancelAll()