Searched refs:state_table (Results 1 – 16 of 16) sorted by relevance
165 tAVCT_LCB_ST_TBL state_table; in avct_lcb_event() local173 state_table = avct_lcb_st_tbl[p_lcb->state]; in avct_lcb_event()176 p_lcb->state = state_table[event][AVCT_LCB_NEXT_STATE]; in avct_lcb_event()180 action = state_table[event][i]; in avct_lcb_event()200 tAVCT_LCB_ST_TBL state_table; in avct_bcb_event() local208 state_table = avct_lcb_st_tbl[p_bcb->state]; in avct_bcb_event()211 p_bcb->state = state_table[event][AVCT_LCB_NEXT_STATE]; in avct_bcb_event()215 action = state_table[event][i]; in avct_bcb_event()
304 tSMP_BR_SM_TBL state_table; in smp_br_state_machine_event() local333 state_table = smp_br_all_table; in smp_br_state_machine_event()335 state_table = smp_br_state_table[curr_state][p_cb->role]; in smp_br_state_machine_event()346 smp_set_br_state(state_table[entry - 1][SMP_BR_SME_NEXT_STATE]); in smp_br_state_machine_event()353 action = state_table[entry - 1][i]; in smp_br_state_machine_event()
954 tSMP_SM_TBL state_table; in smp_sm_event() local984 state_table = smp_all_table; in smp_sm_event()986 state_table = smp_state_table[curr_state][p_cb->role]; in smp_sm_event()996 smp_set_state(state_table[entry - 1][SMP_SME_NEXT_STATE]); in smp_sm_event()1004 action = state_table[entry - 1][i]; in smp_sm_event()
231 tBTA_DM_ST_TBL state_table; in bta_dm_search_sm_execute() local239 state_table = bta_dm_search_st_tbl[bta_dm_search_cb.state]; in bta_dm_search_sm_execute()242 state_table[p_msg->event & 0x00ff][BTA_DM_SEARCH_NEXT_STATE]; in bta_dm_search_sm_execute()246 action = state_table[p_msg->event & 0x00ff][i]; in bta_dm_search_sm_execute()
170 tBTA_PAN_ST_TBL state_table; in bta_pan_sm_execute() local178 state_table = bta_pan_st_tbl[p_scb->state]; in bta_pan_sm_execute()183 p_scb->state = state_table[event][BTA_PAN_NEXT_STATE]; in bta_pan_sm_execute()187 action = state_table[event][i]; in bta_pan_sm_execute()
237 tBTA_HD_ST_TBL state_table; in bta_hd_sm_execute() local250 state_table = bta_hd_st_tbl[bta_hd_cb.state]; in bta_hd_sm_execute()254 action = state_table[event][BTA_HD_ACTION]; in bta_hd_sm_execute()259 bta_hd_cb.state = state_table[event][BTA_HD_NEXT_STATE]; in bta_hd_sm_execute()
301 tBTA_GATTC_ST_TBL state_table; in bta_gattc_sm_execute() local317 state_table = bta_gattc_st_tbl[p_clcb->state]; in bta_gattc_sm_execute()322 p_clcb->state = state_table[event][BTA_GATTC_NEXT_STATE]; in bta_gattc_sm_execute()326 action = state_table[event][i]; in bta_gattc_sm_execute()
368 tAVDT_CCB_ST_TBL state_table; in avdt_ccb_event() local379 state_table = avdt_ccb_st_tbl[p_ccb->state]; in avdt_ccb_event()382 if (p_ccb->state != state_table[event][AVDT_CCB_NEXT_STATE]) { in avdt_ccb_event()383 p_ccb->state = state_table[event][AVDT_CCB_NEXT_STATE]; in avdt_ccb_event()388 action = state_table[event][i]; in avdt_ccb_event()
759 tAVDT_SCB_ST_TBL state_table; in avdt_scb_event() local773 state_table = avdt_scb_st_tbl[p_scb->state]; in avdt_scb_event()776 if (p_scb->state != state_table[event][AVDT_SCB_NEXT_STATE]) { in avdt_scb_event()777 p_scb->state = state_table[event][AVDT_SCB_NEXT_STATE]; in avdt_scb_event()782 action = state_table[event][i]; in avdt_scb_event()
205 tBTA_SYS_ST_TBL state_table; in bta_sys_sm_execute() local213 state_table = bta_sys_st_tbl[bta_sys_cb.state]; in bta_sys_sm_execute()215 bta_sys_cb.state = state_table[p_msg->event & 0x00ff][BTA_SYS_NEXT_STATE]; in bta_sys_sm_execute()219 action = state_table[p_msg->event & 0x00ff][i]; in bta_sys_sm_execute()
232 tBTA_HH_ST_TBL state_table; in bta_hh_sm_execute() local330 state_table = bta_hh_st_tbl[p_cb->state - 1]; in bta_hh_sm_execute()334 p_cb->state = state_table[event][BTA_HH_NEXT_STATE]; in bta_hh_sm_execute()336 action = state_table[event][BTA_HH_ACTION]; in bta_hh_sm_execute()
707 tBTA_HF_CLIENT_ST_TBL state_table; in bta_hf_client_sm_execute() local730 state_table = bta_hf_client_st_tbl[client_cb->state]; in bta_hf_client_sm_execute()733 client_cb->state = state_table[event][BTA_HF_CLIENT_NEXT_STATE]; in bta_hf_client_sm_execute()737 action = state_table[event][i]; in bta_hf_client_sm_execute()
732 tBTA_AG_ST_TBL state_table; in bta_ag_sm_execute() local752 state_table = bta_ag_st_tbl[p_scb->state]; in bta_ag_sm_execute()755 p_scb->state = state_table[event][BTA_AG_NEXT_STATE]; in bta_ag_sm_execute()759 action = state_table[event][i]; in bta_ag_sm_execute()
496 tBTA_AV_SST_TBL state_table = bta_av_sst_tbl[p_scb->state]; in bta_av_ssm_execute() local500 p_scb->state = state_table[event][BTA_AV_SNEXT_STATE]; in bta_av_ssm_execute()508 uint8_t action = state_table[event][i]; in bta_av_ssm_execute()
1169 tBTA_AV_ST_TBL state_table; in bta_av_sm_execute() local1177 state_table = bta_av_st_tbl[p_cb->state]; in bta_av_sm_execute()1182 p_cb->state = state_table[event][BTA_AV_NEXT_STATE]; in bta_av_sm_execute()1187 action = state_table[event][BTA_AV_ACTION_COL]; in bta_av_sm_execute()
432 tBTA_HL_CCH_ST_TBL state_table; in bta_hl_cch_sm_execute() local446 state_table = bta_hl_cch_st_tbl[p_cb->cch_state]; in bta_hl_cch_sm_execute()451 p_cb->cch_state = state_table[event][BTA_HL_CCH_NEXT_STATE]; in bta_hl_cch_sm_execute()454 action = state_table[event][i]; in bta_hl_cch_sm_execute()484 tBTA_HL_DCH_ST_TBL state_table; in bta_hl_dch_sm_execute() local498 state_table = bta_hl_dch_st_tbl[p_cb->dch_state]; in bta_hl_dch_sm_execute()502 p_cb->dch_state = state_table[event][BTA_HL_DCH_NEXT_STATE]; in bta_hl_dch_sm_execute()505 action = state_table[event][i]; in bta_hl_dch_sm_execute()