Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fsm.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include "hisax.h"

Go to the source code of this file.

Macros

#define FSM_TIMER_DEBUG   0
 

Functions

int FsmNew (struct Fsm *fsm, struct FsmNode *fnlist, int fncount)
 
void FsmFree (struct Fsm *fsm)
 
int FsmEvent (struct FsmInst *fi, int event, void *arg)
 
void FsmChangeState (struct FsmInst *fi, int newstate)
 
void FsmInitTimer (struct FsmInst *fi, struct FsmTimer *ft)
 
void FsmDelTimer (struct FsmTimer *ft, int where)
 
int FsmAddTimer (struct FsmTimer *ft, int millisec, int event, void *arg, int where)
 
void FsmRestartTimer (struct FsmTimer *ft, int millisec, int event, void *arg, int where)
 

Macro Definition Documentation

#define FSM_TIMER_DEBUG   0

Definition at line 22 of file fsm.c.

Function Documentation

int FsmAddTimer ( struct FsmTimer ft,
int  millisec,
int  event,
void arg,
int  where 
)

Definition at line 121 of file fsm.c.

void FsmChangeState ( struct FsmInst fi,
int  newstate 
)

Definition at line 79 of file fsm.c.

void FsmDelTimer ( struct FsmTimer ft,
int  where 
)

Definition at line 111 of file fsm.c.

int FsmEvent ( struct FsmInst fi,
int  event,
void arg 
)

Definition at line 52 of file fsm.c.

void FsmFree ( struct Fsm fsm)

Definition at line 46 of file fsm.c.

void FsmInitTimer ( struct FsmInst fi,
struct FsmTimer ft 
)

Definition at line 98 of file fsm.c.

int FsmNew ( struct Fsm fsm,
struct FsmNode fnlist,
int  fncount 
)

Definition at line 25 of file fsm.c.

void FsmRestartTimer ( struct FsmTimer ft,
int  millisec,
int  event,
void arg,
int  where 
)

Definition at line 145 of file fsm.c.