Home | History | Annotate | Download | only in l2cap

Lines Matching full:p_ccb

150   tL2C_CCB* p_ccb;
210 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;
211 p_ccb = p_ccb->p_next_ccb) {
212 l2c_csm_execute(p_ccb, L2CEVT_LP_CONNECT_CFM, &ci);
237 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;) {
238 tL2C_CCB* pn = p_ccb->p_next_ccb;
240 l2c_csm_execute(p_ccb, L2CEVT_LP_CONNECT_CFM_NEG, &ci);
242 p_ccb = pn;
284 tL2C_CCB* p_ccb;
305 /* Match p_ccb with p_ref_data returned by sec manager */
306 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_next_ccb) {
307 p_next_ccb = p_ccb->p_next_ccb;
309 if (p_ccb == p_ref_data) {
318 alarm_set_on_mloop(p_ccb->l2c_ccb_timer,
320 l2c_ccb_timer_timeout, p_ccb);
326 l2c_csm_execute(p_ccb, event, &ci);
344 tL2C_CCB* p_ccb;
371 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;) {
372 tL2C_CCB* pn = p_ccb->p_next_ccb;
380 if (p_ccb != p_lcb->p_pending_ccb) {
381 l2c_csm_execute(p_ccb, L2CEVT_LP_DISCONNECT_IND, &reason);
383 p_ccb = pn;
476 tL2C_CCB* p_ccb;
485 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_ccb->p_next_ccb) {
486 if (p_ccb->p_rcb->api.pL2CA_QoSViolationInd_Cb)
487 l2c_csm_execute(p_ccb, L2CEVT_LP_QOS_VIOLATION_IND, NULL);
503 tL2C_CCB* p_ccb;
520 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;) {
521 tL2C_CCB* pn = p_ccb->p_next_ccb;
523 l2c_csm_execute(p_ccb, L2CEVT_LP_DISCONNECT_IND, NULL);
525 p_ccb = pn;
549 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;) {
550 tL2C_CCB* pn = p_ccb->p_next_ccb;
552 l2c_csm_execute(p_ccb, L2CEVT_LP_DISCONNECT_IND, NULL);
554 p_ccb = pn;
613 tL2C_CCB* p_ccb;
620 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;
621 p_ccb = p_ccb->p_next_ccb) {
622 if ((p_ccb->chnl_state == CST_ORIG_W4_SEC_COMP) ||
623 (p_ccb->chnl_state == CST_TERM_W4_SEC_COMP)) {
641 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;
642 p_ccb = p_ccb->p_next_ccb) {
643 l2c_csm_execute(p_ccb, L2CEVT_L2CAP_INFO_RSP, &ci);
791 tL2C_CCB* p_ccb = l2cb.ccb_pool + xx;
793 if (!p_ccb->in_use) continue;
795 tL2CAP_CHNL_DATA_RATE data_rate = p_ccb->tx_data_rate + p_ccb->rx_data_rate;
796 p_ccb->buff_quota = L2CAP_CBB_DEFAULT_DATA_RATE_BUFF_QUOTA * data_rate;
800 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ccb_priority,
801 p_ccb->tx_data_rate, p_ccb->rx_data_rate, p_ccb->buff_quota);
804 l2cu_check_channel_congestion(p_ccb);
915 tL2C_CCB* p_ccb;
922 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb;
923 p_ccb = p_ccb->p_next_ccb) {
924 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) {
958 void l2c_link_check_send_pkts(tL2C_LCB* p_lcb, tL2C_CCB* p_ccb, BT_HDR* p_buf) {
964 if (p_ccb != NULL) {
965 p_buf->event = p_ccb->local_cid;