Home
last modified time | relevance | path

Searched refs:mca_cb (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/mcap/
Dmca_main.c37 tMCA_CB mca_cb; variable
72 tMCA_RCB *p_rcb = &mca_cb.rcb[0]; in mca_handle_by_cpsm()
99 tMCA_RCB *p_rcb = &mca_cb.rcb[0]; in mca_handle_by_dpsm()
124 tMCA_TC_TBL *p_tbl = mca_cb.tc.tc_tbl; in mca_tc_tbl_calloc()
147 mca_cb.tc.lcid_tbl[p_ccb->lcid - L2CAP_BASE_APPL_CID] = i; in mca_tc_tbl_calloc()
165 tMCA_TC_TBL *p_tbl = mca_cb.tc.tc_tbl; in mca_tc_tbl_dalloc()
188 mca_cb.tc.lcid_tbl[p_dcb->lcid - L2CAP_BASE_APPL_CID] = i; in mca_tc_tbl_dalloc()
210 idx = mca_cb.tc.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; in mca_tc_tbl_by_lcid()
214 return &mca_cb.tc.tc_tbl[idx]; in mca_tc_tbl_by_lcid()
236 idx = mca_cb.tc.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; in mca_free_tc_tbl_by_lcid()
[all …]
Dmca_dsm.c184 p_dcb_tmp = &mca_cb.dcb[i*MCA_NUM_MDLS]; in mca_dcb_alloc()
226 p_dcb = &mca_cb.dcb[i * MCA_NUM_MDLS]; in mca_dep_free_mdl()
291 return (UINT8) (p_dcb - mca_cb.dcb + 1); in mca_dcb_to_hdl()
308 if (hdl && hdl <= MCA_NUM_DCBS && mca_cb.dcb[hdl-1].state) in mca_dcb_by_hdl()
309 p_dcb = &mca_cb.dcb[hdl-1]; in mca_dcb_by_hdl()
330 p_dcb = &mca_cb.dcb[i*MCA_NUM_MDLS]; in mca_dcb_close_by_mdl_id()
Dmca_csm.c228 p_ccb_tmp = &mca_cb.ccb[i*MCA_NUM_LINKS]; in mca_ccb_by_bd()
263 p_ccb_tmp = &mca_cb.ccb[i*MCA_NUM_LINKS]; in mca_ccb_alloc()
333 return (UINT8) (p_ccb - mca_cb.ccb + 1); in mca_ccb_to_hdl()
350 if (mcl && mcl <= MCA_NUM_CCBS && mca_cb.ccb[mcl-1].state) in mca_ccb_by_hdl()
351 p_ccb = &mca_cb.ccb[mcl-1]; in mca_ccb_by_hdl()
372 p_dcb = &mca_cb.dcb[i*MCA_NUM_MDLS]; in mca_ccb_uses_mdl_id()
Dmca_api.c69 memset(&mca_cb, 0, sizeof(tMCA_CB)); in MCA_Init()
72 mca_cb.trace_level = MCA_INITIAL_TRACE_LEVEL; in MCA_Init()
74 mca_cb.trace_level = BT_TRACE_LEVEL_NONE; in MCA_Init()
102 mca_cb.trace_level = level; in MCA_SetTraceLevel()
104 return (mca_cb.trace_level); in MCA_SetTraceLevel()
303 p_dcb = &mca_cb.dcb[i*max]; in MCA_DeleteDep()
Dmca_int.h350 extern tMCA_CB mca_cb;
353 #define mca_cb (*mca_cb_ptr)
/system/bt/include/
Dbt_trace.h328 #define MCA_TRACE_ERROR(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B…
329 #define MCA_TRACE_WARNING(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_WARNING)…
330 #define MCA_TRACE_EVENT(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_EVENT) B…
331 #define MCA_TRACE_DEBUG(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) B…
332 #define MCA_TRACE_API(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_API) BT_…