Lines Matching refs:p_rcb
420 UINT16_TO_STREAM(p, p_ccb->p_rcb->real_psm); in l2cu_send_peer_connect_req()
1397 p_ccb->p_rcb = nullptr; in l2cu_allocate_ccb()
1531 tL2C_RCB* p_rcb = p_ccb->p_rcb; in l2cu_release_ccb() local
1542 if (p_rcb && (p_rcb->psm != p_rcb->real_psm)) { in l2cu_release_ccb()
1543 BTM_SecClrServiceByPsm(p_rcb->psm); in l2cu_release_ccb()
1642 tL2C_RCB* p_rcb = &l2cb.rcb_pool[0]; in l2cu_allocate_rcb() local
1645 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_allocate_rcb()
1646 if (!p_rcb->in_use) { in l2cu_allocate_rcb()
1647 p_rcb->in_use = true; in l2cu_allocate_rcb()
1648 p_rcb->psm = psm; in l2cu_allocate_rcb()
1649 return (p_rcb); in l2cu_allocate_rcb()
1668 tL2C_RCB* p_rcb = &l2cb.ble_rcb_pool[0]; in l2cu_allocate_ble_rcb() local
1671 for (xx = 0; xx < BLE_MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_allocate_ble_rcb()
1672 if (!p_rcb->in_use) { in l2cu_allocate_ble_rcb()
1673 p_rcb->in_use = true; in l2cu_allocate_ble_rcb()
1674 p_rcb->psm = psm; in l2cu_allocate_ble_rcb()
1675 return (p_rcb); in l2cu_allocate_ble_rcb()
1692 void l2cu_release_rcb(tL2C_RCB* p_rcb) { in l2cu_release_rcb() argument
1693 p_rcb->in_use = false; in l2cu_release_rcb()
1694 p_rcb->psm = 0; in l2cu_release_rcb()
1706 void l2cu_release_ble_rcb(tL2C_RCB* p_rcb) { in l2cu_release_ble_rcb() argument
1707 L2CA_FreeLePSM(p_rcb->psm); in l2cu_release_ble_rcb()
1708 p_rcb->in_use = false; in l2cu_release_ble_rcb()
1709 p_rcb->psm = 0; in l2cu_release_ble_rcb()
1726 p_ccb->p_rcb->api.pL2CA_DisconnectInd_Cb; in l2cu_disconnect_chnl()
1752 tL2C_RCB* p_rcb = &l2cb.rcb_pool[0]; in l2cu_find_rcb_by_psm() local
1755 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_find_rcb_by_psm()
1756 if ((p_rcb->in_use) && (p_rcb->psm == psm)) return (p_rcb); in l2cu_find_rcb_by_psm()
1774 tL2C_RCB* p_rcb = &l2cb.ble_rcb_pool[0]; in l2cu_find_ble_rcb_by_psm() local
1777 for (xx = 0; xx < BLE_MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_find_ble_rcb_by_psm()
1778 if ((p_rcb->in_use) && (p_rcb->psm == psm)) return (p_rcb); in l2cu_find_ble_rcb_by_psm()
1813 std::max<uint16_t>(L2CAP_MIN_MTU, p_ccb->p_rcb->required_remote_mtu); in l2cu_process_peer_cfg_req()
2715 p_ccb->p_rcb->real_psm, p_ccb->local_cid, mtu, mps, initial_credit); in l2cu_send_peer_ble_credit_based_conn_req()
2717 UINT16_TO_STREAM(p, p_ccb->p_rcb->real_psm); in l2cu_send_peer_ble_credit_based_conn_req()
2772 p_ccb->p_rcb->real_psm, mtu, mps, initial_credit, in l2cu_send_peer_credit_based_conn_req()
2775 UINT16_TO_STREAM(p, p_ccb->p_rcb->real_psm); in l2cu_send_peer_credit_based_conn_req()
3220 if (p_ccb->p_rcb && p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb) { in send_congestion_status_to_all_clients()
3230 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, status); in send_congestion_status_to_all_clients()