Lines Matching full:fsm
36 * Definition of an action function, called by a FSM
41 * Internal jump table for a FSM
49 } fsm; typedef
62 * Representation of a FSM
65 fsm *f;
88 * Description of a FSM Timer.
98 * Creates an FSM
105 * @param tmpl An array of fsm_nodes, describing this FSM.
107 * @param order Parameter for allocation of the FSM data structs.
116 * Releases an FSM
118 * @param fi Pointer to an FSM, previously created with init_fsm.
131 * Emits an event to a FSM.
135 * @param fi Pointer to FSM which should receive the event.
151 printk(KERN_ERR "fsm(%s): Invalid state st(%ld/%ld) ev(%d/%ld)\n", in fsm_event()
162 printk(KERN_DEBUG "fsm(%s): state %s event %s\n", in fsm_event()
173 printk(KERN_DEBUG "fsm(%s): no function for event %s in state %s\n", in fsm_event()
185 * Modifies the state of an FSM.
188 * @param fi Pointer to FSM
189 * @param state The new state for this FSM.
199 printk(KERN_DEBUG "fsm(%s): New state %s\n", fi->name, in fsm_newstate()
206 * Retrieves the state of an FSM
208 * @param fi Pointer to FSM
210 * @return The current state of the FSM.
219 * Retrieves the name of the state of an FSM
221 * @param fi Pointer to FSM
223 * @return The current state of the FSM in a human readable form.
228 * Initializes a timer for an FSM.
231 * @param fi Pointer to FSM
237 * Clears a pending timer of an FSM instance.
244 * Adds and starts a timer to an FSM instance.
257 * Modifies a timer of an FSM.