Home
last modified time | relevance | path

Searched refs:mdl (Results 1 – 9 of 9) sorted by relevance

/system/bt/stack/include/
Dmca_api.h90 typedef void (tMCA_DATA_CBACK)(tMCA_DL mdl, BT_HDR *p_pkt);
171 tMCA_DL mdl; /* The handle for the data channel */ member
178 tMCA_DL mdl; /* The handle for the data channel */ member
185 tMCA_DL mdl; /* The handle for the data channel */ member
391 extern tMCA_RESULT MCA_CloseReq(tMCA_DL mdl);
482 extern tMCA_RESULT MCA_WriteReq(tMCA_DL mdl, BT_HDR *p_pkt);
493 extern UINT16 MCA_GetL2CapChannel (tMCA_DL mdl);
/system/bt/stack/mcap/
Dmca_api.c564 tMCA_RESULT MCA_CloseReq(tMCA_DL mdl) in MCA_CloseReq() argument
567 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); in MCA_CloseReq()
569 MCA_TRACE_API ("MCA_CloseReq: %d ", mdl); in MCA_CloseReq()
864 tMCA_RESULT MCA_WriteReq(tMCA_DL mdl, BT_HDR *p_pkt) in MCA_WriteReq() argument
867 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); in MCA_WriteReq()
870 MCA_TRACE_API ("MCA_WriteReq: %d ", mdl); in MCA_WriteReq()
896 UINT16 MCA_GetL2CapChannel (tMCA_DL mdl) in MCA_GetL2CapChannel() argument
899 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); in MCA_GetL2CapChannel()
901 MCA_TRACE_API ("MCA_GetL2CapChannel: %d ", mdl); in MCA_GetL2CapChannel()
Dmca_dact.c47 evt_data.cong_chg.mdl = mca_dcb_to_hdl(p_dcb); in mca_dcb_report_cong()
74 evt_data.open_cfm.mdl = mca_dcb_to_hdl(p_dcb); in mca_dcb_tc_open()
Dmca_dsm.c267 evt_data.close_cfm.mdl = mca_dcb_to_hdl(p_dcb); in mca_dcb_dealloc()
/system/bt/bta/hl/
Dbta_hl_utils.c634 … if (bta_hl_find_mdl_idx_using_handle((tBTA_HL_MDL_HANDLE)p_msg->mca_evt.mca_data.close_cfm.mdl, in bta_hl_find_dch_cb_indexes()
642 … if (bta_hl_find_mdl_idx_using_handle((tBTA_HL_MDL_HANDLE)p_msg->mca_evt.mca_data.close_ind.mdl, in bta_hl_find_dch_cb_indexes()
660 … if (bta_hl_find_mdl_idx_using_handle((tBTA_HL_MDL_HANDLE)p_msg->mca_evt.mca_data.cong_chg.mdl, in bta_hl_find_dch_cb_indexes()
775 if (p_mcb->mdl[i].in_use && in bta_hl_allocate_mdl_id()
777 (p_mcb->mdl[i].mdl_id == mdl_id) ) in bta_hl_allocate_mdl_id()
828 if (p_mcb->mdl[i].in_use && in bta_hl_find_mdl_idx()
830 (p_mcb->mdl[i].mdl_id== mdl_id)) in bta_hl_find_mdl_idx()
867 if (p_mcb->mdl[i].in_use && in bta_hl_find_an_active_mdl_idx()
868 (p_mcb->mdl[i].dch_state == BTA_HL_DCH_OPEN_ST)) in bta_hl_find_an_active_mdl_idx()
905 if (p_mcb->mdl[i].in_use && in bta_hl_find_dch_setup_mdl_idx()
[all …]
Dbta_hl_int.h486 tBTA_HL_MDL_CB mdl[BTA_HL_NUM_MDLS_PER_MCL]; member
588 …L_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx) &(bta_hl_cb.acb[(app_idx)].mcb[(mcl_idx)].mdl[mdl_idx])
701 extern void bta_hl_mcap_data_cback(tMCA_DL mdl, BT_HDR *p_pkt);
Dbta_hl_act.c894 p_dcb->mdl_handle = (tBTA_HL_MDL_HANDLE) p_open_ind->mdl; in bta_hl_dch_mca_open_ind()
1002 p_dcb->mdl_handle = (tBTA_HL_MDL_HANDLE) p_open_cfm->mdl; in bta_hl_dch_mca_open_cfm()
2616 void bta_hl_mcap_data_cback (tMCA_DL mdl, BT_HDR *p_pkt) in bta_hl_mcap_data_cback() argument
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()
/system/bt/btif/include/
Dbtif_hl.h203 btif_hl_mdl_cb_t mdl[BTA_HL_NUM_MDLS_PER_MCL]; member
306 …_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx) &(btif_hl_cb.acb[(app_idx)].mcb[(mcl_idx)].mdl[mdl_idx])
/system/bt/btif/src/
Dbtif_hl.c252 if (p_mcb->mdl[x].in_use) in btif_hl_num_dchs_in_use()
342 if (p_mcb->mdl[i].in_use && in btif_hl_find_mdl_idx()
344 (p_mcb->mdl[i].mdl_id== mdl_id)) in btif_hl_find_mdl_idx()
377 if (p_mcb->mdl[i].in_use && p_mcb->mdl[i].is_the_first_reliable) in btif_hl_is_the_first_reliable_existed()
1695 if (p_mcb->mdl[x].in_use && p_mcb->mdl[x].mdl_id == mdl_id) in btif_hl_find_mcl_idx_using_mdl_id()
1830 if (p_mcb->mdl[x].in_use) in btif_hl_clean_mdls_using_app_idx()
1928 if (!p_mcb->mdl[i].in_use) in btif_hl_find_avail_mdl_idx()
1930 btif_hl_clean_mdl_cb(&p_mcb->mdl[i]); in btif_hl_find_avail_mdl_idx()