Lines Matching refs:TimerListHead

47 static TimerEvent_t *TimerListHead = NULL;  variable
118 if( TimerListHead == NULL ) in TimerStart()
129 if( obj->Timestamp < TimerListHead->Timestamp ) in TimerStart()
143 TimerEvent_t* cur = TimerListHead; in TimerInsertTimer()
144 TimerEvent_t* next = TimerListHead->Next; in TimerInsertTimer()
166 TimerEvent_t* cur = TimerListHead; in TimerInsertNewHeadTimer()
174 TimerListHead = obj; in TimerInsertNewHeadTimer()
175 TimerSetTimeout( TimerListHead ); in TimerInsertNewHeadTimer()
194 if( TimerListHead != NULL ) in TimerIrqHandler()
196 for( cur = TimerListHead; cur->Next != NULL; cur = cur->Next ) in TimerIrqHandler()
211 if ( TimerListHead != NULL ) in TimerIrqHandler()
213 cur = TimerListHead; in TimerIrqHandler()
214 TimerListHead = TimerListHead->Next; in TimerIrqHandler()
220 while( ( TimerListHead != NULL ) && ( TimerListHead->Timestamp < RtcGetTimerElapsedTime( ) ) ) in TimerIrqHandler()
222 cur = TimerListHead; in TimerIrqHandler()
223 TimerListHead = TimerListHead->Next; in TimerIrqHandler()
229 if( ( TimerListHead != NULL ) && ( TimerListHead->IsNext2Expire == false ) ) in TimerIrqHandler()
231 TimerSetTimeout( TimerListHead ); in TimerIrqHandler()
239 TimerEvent_t* prev = TimerListHead; in TimerStop()
240 TimerEvent_t* cur = TimerListHead; in TimerStop()
243 if( ( TimerListHead == NULL ) || ( obj == NULL ) ) in TimerStop()
251 if( TimerListHead == obj ) // Stop the Head in TimerStop()
253 if( TimerListHead->IsNext2Expire == true ) // The head is already running in TimerStop()
255 TimerListHead->IsNext2Expire = false; in TimerStop()
256 if( TimerListHead->Next != NULL ) in TimerStop()
258 TimerListHead = TimerListHead->Next; in TimerStop()
259 TimerSetTimeout( TimerListHead ); in TimerStop()
264 TimerListHead = NULL; in TimerStop()
269 if( TimerListHead->Next != NULL ) in TimerStop()
271 TimerListHead = TimerListHead->Next; in TimerStop()
275 TimerListHead = NULL; in TimerStop()
309 TimerEvent_t* cur = TimerListHead; in TimerExists()