Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/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.c232 p_ccb_tmp = &mca_cb.ccb[i*MCA_NUM_LINKS]; in mca_ccb_by_bd()
267 p_ccb_tmp = &mca_cb.ccb[i*MCA_NUM_LINKS]; in mca_ccb_alloc()
335 return (UINT8) (p_ccb - mca_cb.ccb + 1); in mca_ccb_to_hdl()
352 if (mcl && mcl <= MCA_NUM_CCBS && mca_cb.ccb[mcl-1].state) in mca_ccb_by_hdl()
353 p_ccb = &mca_cb.ccb[mcl-1]; in mca_ccb_by_hdl()
374 p_dcb = &mca_cb.dcb[i*MCA_NUM_MDLS]; in mca_ccb_uses_mdl_id()
Dmca_api.c71 memset(&mca_cb, 0, sizeof(tMCA_CB)); in MCA_Init()
74 mca_cb.trace_level = MCA_INITIAL_TRACE_LEVEL; in MCA_Init()
76 mca_cb.trace_level = BT_TRACE_LEVEL_NONE; in MCA_Init()
104 mca_cb.trace_level = level; in MCA_SetTraceLevel()
106 return (mca_cb.trace_level); in MCA_SetTraceLevel()
305 p_dcb = &mca_cb.dcb[i*max]; in MCA_DeleteDep()
Dmca_int.h350 MCA_API extern tMCA_CB mca_cb;
353 #define mca_cb (*mca_cb_ptr)
/external/bluetooth/bluedroid/include/
Dbt_trace.h637 #define MCA_TRACE_ERROR(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) B…
638 #define MCA_TRACE_WARNING(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_WARNING)…
639 #define MCA_TRACE_EVENT(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_EVENT) B…
640 #define MCA_TRACE_DEBUG(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) B…
641 #define MCA_TRACE_API(...) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_API) BT_…
/external/libnfc-nci/src/include/
Dbt_trace.h2477 #define MCA_TRACE_ERROR0(m) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
2478 #define MCA_TRACE_ERROR1(m,p1) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
2479 #define MCA_TRACE_ERROR2(m,p1,p2) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
2480 #define MCA_TRACE_ERROR3(m,p1,p2,p3) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
2481 #define MCA_TRACE_ERROR4(m,p1,p2,p3,p4) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
2482 #define MCA_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
2483 #define MCA_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT…
2485 #define MCA_TRACE_WARNING0(m) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
2486 #define MCA_TRACE_WARNING1(m,p1) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
2487 #define MCA_TRACE_WARNING2(m,p1,p2) {if (mca_cb.trace_level >= BT_TRACE_LEVEL_WARNING) …
[all …]