FreeBSD kernel pms device code
tdtimers.c File Reference
Include dependency graph for tdtimers.c:

Go to the source code of this file.

Functions

 __FBSDID ("$FreeBSD$")
 
osGLOBAL void tiCOMTimerTick (tiRoot_t *tiRoot)
 
osGLOBAL void tdsaInitTimerRequest (tiRoot_t *tiRoot, tdsaTimerRequest_t *timerRequest)
 
osGLOBAL void tdsaSetTimerRequest (tiRoot_t *tiRoot, tdsaTimerRequest_t *timerRequest, bit32 timeout, tdsaTimerCBFunc_t CBFunc, void *timerData1, void *timerData2, void *timerData3)
 
osGLOBAL void tdsaAddTimer (tiRoot_t *tiRoot, tdList_t *timerListHdr, tdsaTimerRequest_t *timerRequest)
 
osGLOBAL void tdsaKillTimer (tiRoot_t *tiRoot, tdsaTimerRequest_t *timerRequest)
 
osGLOBAL void tdsaProcessTimers (tiRoot_t *tiRoot)
 

Detailed Description

This file contains timer functions in TD layer

Definition in file tdtimers.c.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ tdsaAddTimer()

osGLOBAL void tdsaAddTimer ( tiRoot_t tiRoot,
tdList_t timerListHdr,
tdsaTimerRequest_t timerRequest 
)

◆ tdsaInitTimerRequest()

◆ tdsaKillTimer()

osGLOBAL void tdsaKillTimer ( tiRoot_t tiRoot,
tdsaTimerRequest_t timerRequest 
)

Definition at line 228 of file tdtimers.c.

References agFALSE, TD_TIMER_LOCK, TDLIST_DEQUEUE_THIS, tdsaSingleThreadedEnter(), tdsaSingleThreadedLeave(), tdsaTimerRequest_s::timerLink, and tdsaTimerRequest_s::timerRunning.

Referenced by ostiGetGpioIOCTLRsp(), tdsaDeviceDataReInit(), and tdsaPortContextReInit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tdsaProcessTimers()

osGLOBAL void tdsaProcessTimers ( tiRoot_t tiRoot)

Definition at line 252 of file tdtimers.c.

References agFALSE, agNULL, agTRUE, tdList_s::flink, TD_TIMER_LOCK, tiRoot::tdData, TDLIST_DEQUEUE_THIS, TDLIST_OBJECT_BASE, tdsaRoot_s::tdsaAllShared, tdsaSingleThreadedEnter(), tdsaSingleThreadedLeave(), TI_DBG1, and tdsaContext_s::timerlist.

Referenced by tiCOMTimerTick().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tdsaSetTimerRequest()

osGLOBAL void tdsaSetTimerRequest ( tiRoot_t tiRoot,
tdsaTimerRequest_t timerRequest,
bit32  timeout,
tdsaTimerCBFunc_t  CBFunc,
void *  timerData1,
void *  timerData2,
void *  timerData3 
)

◆ tiCOMTimerTick()

osGLOBAL void tiCOMTimerTick ( tiRoot_t tiRoot)

Definition at line 89 of file tdtimers.c.

References tdsaContext_s::agRootNonInt, dmTimerTick(), saTimerTick(), smTimerTick(), tiRoot::tdData, tdsaRoot_s::tdsaAllShared, and tdsaProcessTimers().

Referenced by agtiapi_CheckCB(), and agtiapi_TITimer().

Here is the call graph for this function:
Here is the caller graph for this function: