FreeBSD kernel pms device code
|
#include <sys/cdefs.h>
#include <dev/pms/config.h>
#include <dev/pms/freebsd/driver/common/osenv.h>
#include <dev/pms/freebsd/driver/common/ostypes.h>
#include <dev/pms/freebsd/driver/common/osdebug.h>
#include <dev/pms/RefTisa/sallsdk/api/sa.h>
#include <dev/pms/RefTisa/sallsdk/api/saapi.h>
#include <dev/pms/RefTisa/sallsdk/api/saosapi.h>
#include <dev/pms/RefTisa/tisa/api/titypes.h>
#include <dev/pms/RefTisa/tisa/api/ostiapi.h>
#include <dev/pms/RefTisa/tisa/api/tiapi.h>
#include <dev/pms/RefTisa/tisa/api/tiglobal.h>
#include <dev/pms/RefTisa/tisa/sassata/sas/common/tdtypes.h>
#include <dev/pms/freebsd/driver/common/osstring.h>
#include <dev/pms/RefTisa/tisa/sassata/common/tdutil.h>
#include <dev/pms/RefTisa/tisa/sassata/common/tdsatypes.h>
#include <dev/pms/RefTisa/tisa/sassata/common/tdproto.h>
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) |
This file contains timer functions in TD layer
Definition in file tdtimers.c.
__FBSDID | ( | "$FreeBSD$" | ) |
osGLOBAL void tdsaAddTimer | ( | tiRoot_t * | tiRoot, |
tdList_t * | timerListHdr, | ||
tdsaTimerRequest_t * | timerRequest | ||
) |
Definition at line 202 of file tdtimers.c.
References agTRUE, TD_TIMER_LOCK, TDLIST_ENQUEUE_AT_TAIL, tdsaSingleThreadedEnter(), tdsaSingleThreadedLeave(), tdsaTimerRequest_s::timerLink, and tdsaTimerRequest_s::timerRunning.
osGLOBAL void tdsaInitTimerRequest | ( | tiRoot_t * | tiRoot, |
tdsaTimerRequest_t * | timerRequest | ||
) |
Definition at line 138 of file tdtimers.c.
References agNULL, TDLIST_INIT_ELEMENT, tdsaTimerRequest_s::timeout, tdsaTimerRequest_s::timerCBFunc, tdsaTimerRequest_s::timerData1, tdsaTimerRequest_s::timerData2, tdsaTimerRequest_s::timerData3, and tdsaTimerRequest_s::timerLink.
Referenced by tdsaDeviceDataInit(), and tdsaPortContextInit().
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().
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().
osGLOBAL void tdsaSetTimerRequest | ( | tiRoot_t * | tiRoot, |
tdsaTimerRequest_t * | timerRequest, | ||
bit32 | timeout, | ||
tdsaTimerCBFunc_t | CBFunc, | ||
void * | timerData1, | ||
void * | timerData2, | ||
void * | timerData3 | ||
) |
Definition at line 170 of file tdtimers.c.
References tdsaTimerRequest_s::timeout, tdsaTimerRequest_s::timerCBFunc, tdsaTimerRequest_s::timerData1, tdsaTimerRequest_s::timerData2, and tdsaTimerRequest_s::timerData3.
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().