Lines Matching refs:mca_cb
37 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()
240 mca_cb.tc.tc_tbl[idx].state = MCA_TC_ST_UNUSED; in mca_free_tc_tbl_by_lcid()
525 if (mca_cb.rcb[i].p_cback == NULL) in mca_rcb_alloc()
527 p_rcb = &mca_cb.rcb[i]; in mca_rcb_alloc()
554 p_rcb = &mca_cb.rcb[handle]; in mca_rcb_dealloc()
557 p_ccb = &mca_cb.ccb[handle*MCA_NUM_LINKS]; in mca_rcb_dealloc()
589 return(UINT8) (p_rcb - mca_cb.rcb + 1); in mca_rcb_to_handle()
607 if (handle && (handle<=MCA_NUM_REGS) && mca_cb.rcb[handle-1].p_cback) in mca_rcb_by_handle()
609 p_rcb = &mca_cb.rcb[handle-1]; in mca_rcb_by_handle()