Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | CSR_SCHED_QID_INVALID ((CsrSchedQid) 0xFFFF) |
#define | CSR_SCHED_TID_INVALID ((CsrSchedTid) 0) |
#define | CSR_SCHED_TIME_MAX ((CsrTime) 0xFFFFFFFF) |
#define | CSR_SCHED_MILLISECOND ((CsrTime) (1000)) |
#define | CSR_SCHED_SECOND ((CsrTime) (1000 * CSR_SCHED_MILLISECOND)) |
#define | CSR_SCHED_MINUTE ((CsrTime) (60 * CSR_SCHED_SECOND)) |
#define | CSR_SCHED_TASK_ID 0xFFFF |
#define | CSR_SCHED_PRIM (CSR_SCHED_TASK_ID) |
#define | CSR_SCHED_EXCLUDED_MODULE_QUEUE 0xFFFF |
#define | CSR_SCHED_BGINT_INVALID ((CsrSchedBgint) 0xFFFF) |
Typedefs | |
typedef u32 | CsrSchedIdentifier |
typedef u16 | CsrSchedTaskId |
typedef u16 | CsrSchedQid |
typedef CsrSchedIdentifier | CsrSchedMsgId |
typedef CsrSchedIdentifier | CsrSchedTid |
typedef void(* | schedEntryFunction_t )(void **inst) |
typedef u16 | CsrSchedBgint |
typedef void(* | CsrSchedBgintHandler )(void *) |
Functions | |
CsrSchedBgint | CsrSchedBgintReg (CsrSchedBgintHandler cb, void *context, const char *id) |
void | CsrSchedBgintUnreg (CsrSchedBgint bgint) |
void | CsrSchedBgintSet (CsrSchedBgint bgint) |
void | CsrSchedMessagePut (CsrSchedQid q, u16 mi, void *mv) |
void | CsrSchedMessageBroadcast (u16 mi, void *(*msg_build_func)(void *), void *msg_build_ptr) |
u8 | CsrSchedMessageGet (u16 *pmi, void **pmv) |
CsrSchedTid | CsrSchedTimerSet (CsrTime delay, void(*fn)(u16 mi, void *mv), u16 fniarg, void *fnvarg) |
u8 | CsrSchedTimerCancel (CsrSchedTid eventid, u16 *pmi, void **pmv) |
CsrSchedQid | CsrSchedTaskQueueGet (void) |
char * | CsrSchedTaskNameGet (CsrSchedQid) |
#define CSR_SCHED_BGINT_INVALID ((CsrSchedBgint) 0xFFFF) |
Definition at line 54 of file csr_sched.h.
#define CSR_SCHED_EXCLUDED_MODULE_QUEUE 0xFFFF |
Definition at line 48 of file csr_sched.h.
#define CSR_SCHED_MILLISECOND ((CsrTime) (1000)) |
Definition at line 41 of file csr_sched.h.
#define CSR_SCHED_MINUTE ((CsrTime) (60 * CSR_SCHED_SECOND)) |
Definition at line 43 of file csr_sched.h.
#define CSR_SCHED_PRIM (CSR_SCHED_TASK_ID) |
Definition at line 47 of file csr_sched.h.
#define CSR_SCHED_QID_INVALID ((CsrSchedQid) 0xFFFF) |
Definition at line 27 of file csr_sched.h.
#define CSR_SCHED_SECOND ((CsrTime) (1000 * CSR_SCHED_MILLISECOND)) |
Definition at line 42 of file csr_sched.h.
#define CSR_SCHED_TASK_ID 0xFFFF |
Definition at line 46 of file csr_sched.h.
#define CSR_SCHED_TID_INVALID ((CsrSchedTid) 0) |
Definition at line 34 of file csr_sched.h.
#define CSR_SCHED_TIME_MAX ((CsrTime) 0xFFFFFFFF) |
Definition at line 40 of file csr_sched.h.
typedef u16 CsrSchedBgint |
Definition at line 53 of file csr_sched.h.
Definition at line 56 of file csr_sched.h.
typedef u32 CsrSchedIdentifier |
Definition at line 20 of file csr_sched.h.
typedef CsrSchedIdentifier CsrSchedMsgId |
Definition at line 30 of file csr_sched.h.
typedef u16 CsrSchedQid |
Definition at line 26 of file csr_sched.h.
typedef u16 CsrSchedTaskId |
Definition at line 23 of file csr_sched.h.
typedef CsrSchedIdentifier CsrSchedTid |
Definition at line 33 of file csr_sched.h.
Definition at line 37 of file csr_sched.h.
CsrSchedBgint CsrSchedBgintReg | ( | CsrSchedBgintHandler | cb, |
void * | context, | ||
const char * | id | ||
) |
void CsrSchedBgintSet | ( | CsrSchedBgint | bgint | ) |
void CsrSchedBgintUnreg | ( | CsrSchedBgint | bgint | ) |
void CsrSchedMessagePut | ( | CsrSchedQid | q, |
u16 | mi, | ||
void * | mv | ||
) |
Definition at line 192 of file csr_wifi_router_transport.c.
char* CsrSchedTaskNameGet | ( | CsrSchedQid | ) |
CsrSchedQid CsrSchedTaskQueueGet | ( | void | ) |
u8 CsrSchedTimerCancel | ( | CsrSchedTid | eventid, |
u16 * | pmi, | ||
void ** | pmv | ||
) |