Lines Matching refs:p_dcb
163 tMCA_TC_TBL * mca_tc_tbl_dalloc(tMCA_DCB *p_dcb) in mca_tc_tbl_dalloc() argument
183 p_tbl->cb_idx = mca_dcb_to_hdl(p_dcb); in mca_tc_tbl_dalloc()
184 p_tbl->tcid = p_dcb->p_cs->type + 1; in mca_tc_tbl_dalloc()
185 p_tbl->my_mtu = p_dcb->p_chnl_cfg->data_mtu; in mca_tc_tbl_dalloc()
187 p_tbl->lcid = p_dcb->lcid; in mca_tc_tbl_dalloc()
188 mca_cb.tc.lcid_tbl[p_dcb->lcid - L2CAP_BASE_APPL_CID] = i; in mca_tc_tbl_dalloc()
257 tMCA_DCB *p_dcb; in mca_set_cfg_by_tbl() local
267 p_dcb = mca_dcb_by_hdl(p_tbl->cb_idx); in mca_set_cfg_by_tbl()
268 if (p_dcb) in mca_set_cfg_by_tbl()
270 p_opt = &p_dcb->p_chnl_cfg->fcr_opt; in mca_set_cfg_by_tbl()
271 fcs = p_dcb->p_chnl_cfg->fcs; in mca_set_cfg_by_tbl()
302 tMCA_DCB *p_dcb; in mca_tc_close_ind() local
332 p_dcb = mca_dcb_by_hdl(p_tbl->cb_idx); in mca_tc_close_ind()
333 if (p_dcb != NULL) in mca_tc_close_ind()
335 mca_dcb_event(p_dcb, MCA_DCB_TC_CLOSE_EVT, (tMCA_DCB_EVT *) &close); in mca_tc_close_ind()
355 tMCA_DCB *p_dcb; in mca_tc_open_ind() local
382 p_dcb = mca_dcb_by_hdl(p_tbl->cb_idx); in mca_tc_open_ind()
385 if (p_dcb != NULL) in mca_tc_open_ind()
387 mca_dcb_event(p_dcb, MCA_DCB_TC_OPEN_EVT, (tMCA_DCB_EVT *) &open); in mca_tc_open_ind()
410 tMCA_DCB *p_dcb; in mca_tc_cong_ind() local
424 p_dcb = mca_dcb_by_hdl(p_tbl->cb_idx); in mca_tc_cong_ind()
425 if (p_dcb != NULL) in mca_tc_cong_ind()
427 mca_dcb_event(p_dcb, MCA_DCB_TC_CONG_EVT, (tMCA_DCB_EVT *) &is_congested); in mca_tc_cong_ind()
447 tMCA_DCB *p_dcb; in mca_tc_data_ind() local
498 p_dcb = mca_dcb_by_hdl(p_tbl->cb_idx); in mca_tc_data_ind()
499 if (p_dcb != NULL) in mca_tc_data_ind()
501 mca_dcb_event(p_dcb, MCA_DCB_TC_DATA_EVT, (tMCA_DCB_EVT *) p_buf); in mca_tc_data_ind()