Lines Matching refs:mdl_idx

89 typedef void (*tBTA_HL_DCH_ACTION)(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, tBTA_HL_DATA *p_dat…
475 void bta_hl_dch_sm_execute(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sm_execute() argument
481 tBTA_HL_MDL_CB *p_cb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_sm_execute()
502 (*bta_hl_dch_action[action])(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_sm_execute()
961 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_api_dch_open() local
977 if (bta_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx)) in bta_hl_api_dch_open()
979 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_open()
995 … if (bta_hl_set_ctrl_psm_for_dch(app_idx, mcl_idx, mdl_idx, p_data->api_dch_open.ctrl_psm)) in bta_hl_api_dch_open()
1019 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_open()
1065 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_OPEN_EVT, p_data); in bta_hl_api_dch_open()
1069 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_SDP_INIT_EVT, p_data); in bta_hl_api_dch_open()
1115 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_api_dch_close() local
1121 …(bta_hl_find_mdl_idx_using_handle(p_data->api_dch_close.mdl_handle, &app_idx, &mcl_idx, &mdl_idx )) in bta_hl_api_dch_close()
1123 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_close()
1144 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_EVT, p_data); in bta_hl_api_dch_close()
1184 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_api_dch_reconnect() local
1199 if (bta_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx)) in bta_hl_api_dch_reconnect()
1201 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_reconnect()
1212 … if (bta_hl_set_ctrl_psm_for_dch(app_idx, mcl_idx, mdl_idx, p_data->api_dch_open.ctrl_psm)) in bta_hl_api_dch_reconnect()
1280 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_RECONNECT_EVT, p_data); in bta_hl_api_dch_reconnect()
1284 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_SDP_INIT_EVT, p_data); in bta_hl_api_dch_reconnect()
1325 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_api_dch_echo_test() local
1340 if (bta_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx)) in bta_hl_api_dch_echo_test()
1342 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_echo_test()
1350 … if (bta_hl_set_ctrl_psm_for_dch(app_idx, mcl_idx, mdl_idx, p_data->api_dch_open.ctrl_psm)) in bta_hl_api_dch_echo_test()
1359 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_echo_test()
1365 p_mcb->echo_mdl_idx = mdl_idx; in bta_hl_api_dch_echo_test()
1414 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_ECHO_TEST_EVT, p_data); in bta_hl_api_dch_echo_test()
1418 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_SDP_INIT_EVT, p_data); in bta_hl_api_dch_echo_test()
1790 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_mca_delete_mdl_ind() local
1802 if (bta_hl_find_mdl_idx(app_idx, mcl_idx, p_delete_ind->mdl_id, &mdl_idx )) in bta_hl_mca_delete_mdl_ind()
1804 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_mca_delete_mdl_ind()
1853 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_api_dch_abort() local
1863 if (!bta_hl_find_dch_setup_mdl_idx(app_idx, mcl_idx, &mdl_idx )) in bta_hl_api_dch_abort()
1869 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_api_dch_abort()
1897 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_ABORT_EVT, p_data); in bta_hl_api_dch_abort()
1937 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_hdl_event() local
2028 … if (bta_hl_find_dch_cb_indexes((tBTA_HL_DATA *) p_msg, &app_idx, &mcl_idx, &mdl_idx)) in bta_hl_hdl_event()
2032 mdl_idx, in bta_hl_hdl_event()