Lines Matching full:state
21 * This module contains the link control state machine and functions which
34 ** state machine constants and types
39 /* verbose state strings for trace */
61 /* lcb state machine states */
69 /* state machine action enumeration list */
115 /* state table information */
117 #define AVCT_LCB_NEXT_STATE 2 /* position of next state */
118 #define AVCT_LCB_NUM_COLS 3 /* number of columns in state tables */
120 /* state table for idle state */
122 /* Event Action 1 Action 2 Next state */
133 /* state table for opening state */
135 /* Event Action 1 Action 2 Next state */
146 /* state table for open state */
148 /* Event Action 1 Action 2 Next state */
159 /* state table for closing state */
161 /* Event Action 1 Action 2 Next state */
172 /* type for state table */
175 /* state table */
187 ** Description State machine event handling function for lcb
200 AVCT_TRACE_EVENT3("LCB lcb=%d event=%s state=%s", p_lcb->allocated, avct_lcb_evt_str[event], avct_lcb_st_str[p_lcb->state]);
202 AVCT_TRACE_EVENT3("LCB lcb=%d event=%d state=%d", p_lcb->allocated, event, p_lcb->state);
205 /* look up the state table for the current state */
206 state_table = avct_lcb_st_tbl[p_lcb->state];
208 /* set next state */
209 p_lcb->state = state_table[event][AVCT_LCB_NEXT_STATE];
229 ** Description State machine event handling function for lcb
243 AVCT_TRACE_EVENT3("BCB lcb=%d event=%s state=%s", p_bcb->allocated, avct_lcb_evt_str[event], avct_lcb_st_str[p_bcb->state]);
245 AVCT_TRACE_EVENT3("BCB lcb=%d event=%d state=%d", p_bcb->allocated, event, p_bcb->state);
248 /* look up the state table for the current state */
249 state_table = avct_lcb_st_tbl[p_bcb->state];
251 /* set next state */
252 p_bcb->state = state_table[event][AVCT_LCB_NEXT_STATE];