Lines Matching full:state
21 * This module contains the channel control block state machine and
36 ** state machine constants and types
40 /* verbose state strings for trace */
123 /* state table information */
125 #define AVDT_CCB_NEXT_STATE 2 /* position of next state */
126 #define AVDT_CCB_NUM_COLS 3 /* number of columns in state tables */
128 /* state table for idle state */
130 /* Event Action 1 Action 2 Next state */
161 /* state table for opening state */
163 /* Event Action 1 Action 2 Next state */
194 /* state table for open state */
196 /* Event Action 1 Action 2 Next state */
227 /* state table for closing state */
229 /* Event Action 1 Action 2 Next state */
260 /* type for state table */
263 /* state table */
291 ** Description State machine event handling function for ccb
304 AVDT_TRACE_EVENT3("CCB ccb=%d event=%s state=%s", avdt_ccb_to_idx(p_ccb), avdt_ccb_evt_str[event], avdt_ccb_st_str[p_ccb->state]);
306 BTTRC_AVDT_CCB_EVENT(event, p_ccb->state);
308 /* look up the state table for the current state */
309 state_table = avdt_ccb_st_tbl[p_ccb->state];
311 /* set next state */
312 if (p_ccb->state != state_table[event][AVDT_CCB_NEXT_STATE])
314 p_ccb->state = state_table[event][AVDT_CCB_NEXT_STATE];