Lines Matching refs:p_rcb
415 UINT16_TO_STREAM (p, p_ccb->p_rcb->real_psm);
1398 p_ccb->p_rcb = NULL;
1552 tL2C_RCB *p_rcb = p_ccb->p_rcb;
1560 if (p_rcb && (p_rcb->psm != p_rcb->real_psm))
1562 btm_sec_clr_service_by_psm(p_rcb->psm);
1666 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0];
1669 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++)
1671 if (!p_rcb->in_use)
1673 p_rcb->in_use = TRUE;
1674 p_rcb->psm = psm;
1676 p_rcb->ucd.state = L2C_UCD_STATE_UNUSED;
1678 return (p_rcb);
1696 void l2cu_release_rcb (tL2C_RCB *p_rcb)
1698 p_rcb->in_use = FALSE;
1699 p_rcb->psm = 0;
1717 tL2CA_DISCONNECT_IND_CB *p_disc_cb = p_ccb->p_rcb->api.pL2CA_DisconnectInd_Cb;
1747 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0];
1750 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++)
1752 if ((p_rcb->in_use) && (p_rcb->psm == psm))
1753 return (p_rcb);
3143 if ( p_ccb->p_rcb && p_ccb->p_rcb->api.pL2CA_TxComplete_Cb && (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) )
3144 (*p_ccb->p_rcb->api.pL2CA_TxComplete_Cb)(p_ccb->local_cid, 1);
3237 if ((p_ccb->p_rcb)&&(p_ccb->buff_quota != 0))
3246 if (p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)
3253 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, FALSE);
3259 if ( p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb )
3264 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb( p_ccb->p_lcb->remote_bd_addr, FALSE );
3276 if (p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)
3281 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, TRUE);
3286 if ( p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb )
3291 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb( p_ccb->p_lcb->remote_bd_addr, TRUE );