Lines Matching refs:mcl_idx

50 static void bta_hl_sdp_cback(UINT8 sdp_op, UINT8 app_idx, UINT8 mcl_idx,
83 void bta_hl_dch_mca_cong_change(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_cong_change() argument
87 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_cong_change()
88 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_cong_change()
117 void bta_hl_dch_echo_test(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_echo_test() argument
121 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_echo_test()
122 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_echo_test()
147 void bta_hl_dch_sdp_init(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sdp_init() argument
150 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_sdp_init()
151 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_sdp_init()
169 if (bta_hl_init_sdp(p_mcb->sdp_oper, app_idx, mcl_idx, mdl_idx) != BTA_HL_STATUS_OK) in bta_hl_dch_sdp_init()
173 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_SDP_FAIL_EVT, p_data); in bta_hl_dch_sdp_init()
179 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_SDP_FAIL_EVT, p_data); in bta_hl_dch_sdp_init()
193 void bta_hl_dch_close_echo_test(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_close_echo_test() argument
196 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_close_echo_test()
218 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_close_echo_test()
232 void bta_hl_dch_mca_rcv_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_rcv_data() argument
236 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_rcv_data()
237 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_rcv_data()
252 … bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_ECHO_TEST_EVT, p_data); in bta_hl_dch_mca_rcv_data()
298 void bta_hl_dch_ci_put_echo_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_ci_put_echo_data() argument
301 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_ci_put_echo_data()
312 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_ECHO_TEST_EVT, p_data); in bta_hl_dch_ci_put_echo_data()
327 void bta_hl_dch_ci_get_echo_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_ci_get_echo_data() argument
330 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_ci_get_echo_data()
345 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_OPEN_EVT, p_data); in bta_hl_dch_ci_get_echo_data()
349 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_ci_get_echo_data()
354 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_ci_get_echo_data()
369 void bta_hl_dch_ci_put_rx_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_ci_put_rx_data() argument
373 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_ci_put_rx_data()
374 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_ci_put_rx_data()
392 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_EVT, p_data); in bta_hl_dch_ci_put_rx_data()
410 void bta_hl_dch_ci_get_tx_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_ci_get_tx_data() argument
414 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_ci_get_tx_data()
415 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_ci_get_tx_data()
471 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_EVT, p_data); in bta_hl_dch_ci_get_tx_data()
485 void bta_hl_dch_send_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_send_data() argument
489 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_send_data()
490 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_send_data()
541 void bta_hl_dch_close_cmpl(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_close_cmpl() argument
545 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_close_cmpl()
546 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_close_cmpl()
706 bta_hl_clean_mdl_cb(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_close_cmpl()
723 bta_hl_check_cch_close(app_idx, mcl_idx, p_data, FALSE); in bta_hl_dch_close_cmpl()
734 void bta_hl_dch_mca_close_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_close_ind() argument
737 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_close_ind()
760 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_close_ind()
777 void bta_hl_dch_mca_close_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_close_cfm() argument
780 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_close_cfm()
800 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_close_cfm()
824 void bta_hl_dch_mca_close(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_close() argument
828 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_close()
829 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_close()
875 void bta_hl_dch_mca_open_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_open_ind() argument
879 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_open_ind()
880 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_open_ind()
908 if (!bta_hl_is_the_first_reliable_existed(app_idx, mcl_idx)) in bta_hl_dch_mca_open_ind()
932 bta_hl_save_mdl_cfg(app_idx, mcl_idx,mdl_idx); in bta_hl_dch_mca_open_ind()
945 if (bta_hl_validate_chan_cfg(app_idx, mcl_idx, mdl_idx)) in bta_hl_dch_mca_open_ind()
947 bta_hl_save_mdl_cfg(app_idx, mcl_idx,mdl_idx); in bta_hl_dch_mca_open_ind()
982 void bta_hl_dch_mca_open_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_open_cfm() argument
986 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_open_cfm()
987 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_open_cfm()
1015 if (!bta_hl_is_the_first_reliable_existed(app_idx, mcl_idx)) in bta_hl_dch_mca_open_cfm()
1047 bta_hl_save_mdl_cfg(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_open_cfm()
1056 … bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_ECHO_TEST_EVT, p_data); in bta_hl_dch_mca_open_cfm()
1067 if (bta_hl_validate_chan_cfg(app_idx, mcl_idx, mdl_idx)) in bta_hl_dch_mca_open_cfm()
1069 bta_hl_save_mdl_cfg(app_idx, mcl_idx,mdl_idx); in bta_hl_dch_mca_open_cfm()
1103 void bta_hl_dch_mca_abort_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_abort_ind() argument
1106 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_abort_ind()
1114 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_abort_ind()
1126 void bta_hl_dch_mca_abort_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_abort_cfm() argument
1130 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_abort_cfm()
1131 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_abort_cfm()
1153 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_abort_cfm()
1171 void bta_hl_dch_mca_abort(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_abort() argument
1175 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_abort()
1176 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_abort()
1211 bta_hl_check_cch_close(app_idx, mcl_idx, p_data, FALSE); in bta_hl_dch_mca_abort()
1232 void bta_hl_dch_mca_reconnect_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_reconnect_ind() argument
1235 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_reconnect_ind()
1236 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_reconnect_ind()
1247 if (bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, p_reconnect_ind->mdl_id, &mdl_cfg_idx)) in bta_hl_dch_mca_reconnect_ind()
1249 if (!bta_hl_find_mdl_idx(app_idx,mcl_idx,p_reconnect_ind->mdl_id, &in_use_mdl_idx) ) in bta_hl_dch_mca_reconnect_ind()
1269 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_mca_reconnect_ind()
1293 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect_ind()
1306 void bta_hl_dch_mca_reconnect_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_reconnect_cfm() argument
1309 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_reconnect_cfm()
1310 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_reconnect_cfm()
1320 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_ABORT_EVT, p_data); in bta_hl_dch_mca_reconnect_cfm()
1330 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_mca_reconnect_cfm()
1336 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect_cfm()
1341 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect_cfm()
1355 void bta_hl_dch_mca_reconnect(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_reconnect() argument
1358 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_reconnect()
1359 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_reconnect()
1375 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect()
1380 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect()
1394 void bta_hl_dch_create_rsp(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_create_rsp() argument
1397 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_create_rsp()
1398 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_create_rsp()
1412 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_create_rsp()
1426 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_create_rsp()
1439 void bta_hl_dch_mca_create_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_create_ind() argument
1443 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_create_ind()
1444 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_create_ind()
1461 … if (bta_hl_find_echo_cfg_rsp(app_idx, mcl_idx, mdep_cfg_idx,p_create_ind->cfg, &cfg_rsp )) in bta_hl_dch_mca_create_ind()
1475 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_mca_create_ind()
1523 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create_ind()
1545 void bta_hl_dch_mca_create_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_create_cfm() argument
1548 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_create_cfm()
1549 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_create_cfm()
1559 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_ABORT_EVT, p_data); in bta_hl_dch_mca_create_cfm()
1567 if (bta_hl_validate_cfg(app_idx, mcl_idx, mdl_idx, p_create_cfm->cfg )) in bta_hl_dch_mca_create_cfm()
1569 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_mca_create_cfm()
1576 … bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create_cfm()
1589 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create_cfm()
1595 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create_cfm()
1609 void bta_hl_dch_mca_create(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_create() argument
1612 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_dch_mca_create()
1613 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_create()
1622 bta_hl_validate_peer_cfg(app_idx, mcl_idx, mdl_idx, in bta_hl_dch_mca_create()
1638 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create()
1644 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create()
1657 void bta_hl_dch_sdp_fail(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sdp_fail() argument
1664 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_sdp_fail()
1681 static void bta_hl_sdp_cback(UINT8 sdp_oper, UINT8 app_idx, UINT8 mcl_idx, in bta_hl_sdp_cback() argument
1684 tBTA_HL_MCL_CB *p_cb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_sdp_cback()
1701 status, sdp_oper, app_idx, mcl_idx, mdl_idx); in bta_hl_sdp_cback()
1705 service_uuid = bta_hl_get_service_uuids(sdp_oper, app_idx, mcl_idx, mdl_idx); in bta_hl_sdp_cback()
1712 if (bta_hl_find_service_in_db(app_idx, mcl_idx, service_uuid, &p_rec)) in bta_hl_sdp_cback()
1892 p_cch_buf->mcl_idx = mcl_idx; in bta_hl_sdp_cback()
1904 p_dch_buf->mcl_idx = mcl_idx; in bta_hl_sdp_cback()
1906 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_sdp_cback()
1943 bta_hl_cb.scb[0].mcl_idx, in bta_hl_sdp_cback0()
1964 bta_hl_cb.scb[1].mcl_idx, in bta_hl_sdp_cback1()
1983 bta_hl_cb.scb[2].mcl_idx, in bta_hl_sdp_cback2()
2002 bta_hl_cb.scb[3].mcl_idx, in bta_hl_sdp_cback3()
2023 bta_hl_cb.scb[4].mcl_idx, in bta_hl_sdp_cback4()
2044 bta_hl_cb.scb[5].mcl_idx, in bta_hl_sdp_cback5()
2063 bta_hl_cb.scb[6].mcl_idx, in bta_hl_sdp_cback6()
2104 …DP_DISC_CMPL_CB *bta_hl_allocate_spd_cback(tBTA_HL_SDP_OPER sdp_oper, UINT8 app_idx, UINT8 mcl_idx, in bta_hl_allocate_spd_cback() argument
2120 bta_hl_cb.scb[i].mcl_idx = mcl_idx; in bta_hl_allocate_spd_cback()
2138 bta_hl_cb.scb[i].mcl_idx, in bta_hl_allocate_spd_cback()
2155 tBTA_HL_STATUS bta_hl_init_sdp(tBTA_HL_SDP_OPER sdp_oper, UINT8 app_idx, UINT8 mcl_idx, in bta_hl_init_sdp() argument
2158 tBTA_HL_MCL_CB *p_cb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_init_sdp()
2166 sdp_oper, app_idx, mcl_idx, mdl_idx); in bta_hl_init_sdp()
2168 …if ((p_cb->sdp_cback = bta_hl_allocate_spd_cback(sdp_oper, app_idx, mcl_idx, mdl_idx, &sdp_cback_i… in bta_hl_init_sdp()
2215 void bta_hl_cch_sdp_init(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data) in bta_hl_cch_sdp_init() argument
2217 tBTA_HL_MCL_CB *p_cb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_sdp_init()
2226 if (bta_hl_init_sdp( p_cb->sdp_oper, app_idx, mcl_idx, 0xFF) != BTA_HL_STATUS_OK) in bta_hl_cch_sdp_init()
2229 bta_hl_cch_sm_execute(app_idx, mcl_idx, BTA_HL_CCH_SDP_FAIL_EVT, p_data); in bta_hl_cch_sdp_init()
2235 bta_hl_cch_sm_execute(app_idx, mcl_idx, BTA_HL_CCH_SDP_FAIL_EVT, p_data); in bta_hl_cch_sdp_init()
2248 void bta_hl_cch_mca_open(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data) in bta_hl_cch_mca_open() argument
2251 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_mca_open()
2268 bta_hl_cch_sm_execute(app_idx, mcl_idx, BTA_HL_CCH_CLOSE_CMPL_EVT, p_data); in bta_hl_cch_mca_open()
2273 bta_hl_cch_sm_execute(app_idx, mcl_idx, BTA_HL_CCH_CLOSE_CMPL_EVT, p_data); in bta_hl_cch_mca_open()
2286 void bta_hl_cch_mca_close(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data) in bta_hl_cch_mca_close() argument
2288 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_mca_close()
2299 bta_hl_cch_sm_execute(app_idx, mcl_idx, BTA_HL_CCH_CLOSE_CMPL_EVT, p_data); in bta_hl_cch_mca_close()
2324 void bta_hl_cch_close_cmpl(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data) in bta_hl_cch_close_cmpl() argument
2327 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_close_cmpl()
2387 void bta_hl_cch_mca_disconnect(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data) in bta_hl_cch_mca_disconnect() argument
2390 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_mca_disconnect()
2405 p_dcb= BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, i); in bta_hl_cch_mca_disconnect()
2410 bta_hl_dch_sm_execute(app_idx, mcl_idx, i, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_cch_mca_disconnect()
2414 bta_hl_dch_sm_execute(app_idx, mcl_idx, i, BTA_HL_MCA_CLOSE_IND_EVT, p_data); in bta_hl_cch_mca_disconnect()
2418 bta_hl_cch_sm_execute(app_idx, mcl_idx, BTA_HL_CCH_CLOSE_CMPL_EVT, p_data); in bta_hl_cch_mca_disconnect()
2430 void bta_hl_cch_mca_disc_open(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data) in bta_hl_cch_mca_disc_open() argument
2432 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_mca_disc_open()
2440 bta_hl_cch_mca_close(app_idx, mcl_idx, p_data); in bta_hl_cch_mca_disc_open()
2452 void bta_hl_cch_mca_rsp_tout(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data) in bta_hl_cch_mca_rsp_tout() argument
2455 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_mca_rsp_tout()
2462 bta_hl_check_cch_close(app_idx,mcl_idx,p_data,TRUE); in bta_hl_cch_mca_rsp_tout()
2474 void bta_hl_cch_mca_connect(UINT8 app_idx, UINT8 mcl_idx, tBTA_HL_DATA *p_data) in bta_hl_cch_mca_connect() argument
2477 tBTA_HL_MCL_CB *p_mcb = BTA_HL_GET_MCL_CB_PTR(app_idx, mcl_idx); in bta_hl_cch_mca_connect()
2618 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_mcap_data_cback() local
2619 if (bta_hl_find_mdl_idx_using_handle ((tBTA_HL_MDL_HANDLE)mdl, &app_idx, &mcl_idx, &mdl_idx)) in bta_hl_mcap_data_cback()
2625 p_msg->mcl_idx = mcl_idx; in bta_hl_mcap_data_cback()