Lines Matching defs:p_rcb

426     UINT16_TO_STREAM (p, p_ccb->p_rcb->real_psm);
1409 p_ccb->p_rcb = NULL;
1563 tL2C_RCB *p_rcb = p_ccb->p_rcb;
1571 if (p_rcb && (p_rcb->psm != p_rcb->real_psm))
1573 btm_sec_clr_service_by_psm(p_rcb->psm);
1677 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0];
1680 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++)
1682 if (!p_rcb->in_use)
1684 p_rcb->in_use = TRUE;
1685 p_rcb->psm = psm;
1687 p_rcb->ucd.state = L2C_UCD_STATE_UNUSED;
1689 return (p_rcb);
1707 void l2cu_release_rcb (tL2C_RCB *p_rcb)
1709 p_rcb->in_use = FALSE;
1710 p_rcb->psm = 0;
1728 tL2CA_DISCONNECT_IND_CB *p_disc_cb = p_ccb->p_rcb->api.pL2CA_DisconnectInd_Cb;
1758 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0];
1761 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++)
1763 if ((p_rcb->in_use) && (p_rcb->psm == psm))
1764 return (p_rcb);
3154 if ( p_ccb->p_rcb && p_ccb->p_rcb->api.pL2CA_TxComplete_Cb && (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) )
3155 (*p_ccb->p_rcb->api.pL2CA_TxComplete_Cb)(p_ccb->local_cid, 1);
3248 if ((p_ccb->p_rcb)&&(p_ccb->buff_quota != 0))
3257 if (p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)
3264 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, FALSE);
3270 if ( p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb )
3275 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb( p_ccb->p_lcb->remote_bd_addr, FALSE );
3287 if (p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)
3292 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, TRUE);
3297 if ( p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb )
3302 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb( p_ccb->p_lcb->remote_bd_addr, TRUE );