• Home
  • Raw
  • Download

Lines Matching refs:local_cid

447   UINT16_TO_STREAM(p, p_ccb->local_cid);  in l2cu_send_peer_connect_req()
485 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_connect_rsp()
871 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_disc_req()
902 uint16_t local_cid, uint16_t remote_cid) { in l2cu_send_peer_disc_rsp() argument
916 UINT16_TO_STREAM(p, local_cid); in l2cu_send_peer_disc_rsp()
1183 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb); in l2cu_enqueue_ccb()
1188 p_ccb->local_cid, p_ccb->ccb_priority); in l2cu_enqueue_ccb()
1258 L2CAP_TRACE_DEBUG("l2cu_dequeue_ccb CID: 0x%04x", p_ccb->local_cid); in l2cu_dequeue_ccb()
1268 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, in l2cu_dequeue_ccb()
1417 p_ccb->local_cid = L2CAP_BASE_APPL_CID + (uint16_t)(p_ccb - l2cb.ccb_pool); in l2cu_allocate_ccb()
1568 p_ccb->local_cid, p_ccb->in_use); in l2cu_release_ccb()
1574 p_lcb->handle, p_ccb->local_cid, p_ccb->remote_cid); in l2cu_release_ccb()
1598 if ((p_lcb) && ((p_ccb->local_cid >= L2CAP_BASE_APPL_CID))) { in l2cu_release_ccb()
1628 p_ccb->local_cid == L2CAP_SMP_CID) in l2cu_release_ccb()
1639 p_ccb->local_cid == L2CAP_ATT_CID) { in l2cu_release_ccb()
1764 uint16_t local_cid = p_ccb->local_cid; in l2cu_disconnect_chnl() local
1766 if (local_cid >= L2CAP_BASE_APPL_CID) { in l2cu_disconnect_chnl()
1770 L2CAP_TRACE_WARNING("L2CAP - disconnect_chnl CID: 0x%04x", local_cid); in l2cu_disconnect_chnl()
1776 (*p_disc_cb)(local_cid, false); in l2cu_disconnect_chnl()
1779 L2CAP_TRACE_ERROR("L2CAP - disconnect_chnl CID: 0x%04x Ignored", local_cid); in l2cu_disconnect_chnl()
2555 p_ccb->local_cid = fixed_cid; in l2cu_initialize_fixed_ccb()
2612 p_lcb->p_fixed_ccbs[xx]->local_cid); in l2cu_no_dynamic_ccbs()
2864 p_ccb->p_rcb->real_psm, p_ccb->local_cid, mtu, mps, initial_credit); in l2cu_send_peer_ble_credit_based_conn_req()
2867 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_ble_credit_based_conn_req()
2938 UINT16_TO_STREAM(p, p_ccb->local_cid); /* Local CID */ in l2cu_send_peer_ble_credit_based_conn_res()
2982 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_ble_flow_control_credit()
3024 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_ble_credit_based_disconn_req()
3068 tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid) { in l2cu_find_ccb_by_cid() argument
3070 if (local_cid >= L2CAP_BASE_APPL_CID) { in l2cu_find_ccb_by_cid()
3072 local_cid -= L2CAP_BASE_APPL_CID; in l2cu_find_ccb_by_cid()
3074 if (local_cid >= MAX_L2CAP_CHANNELS) return NULL; in l2cu_find_ccb_by_cid()
3076 p_ccb = l2cb.ccb_pool + local_cid; in l2cu_find_ccb_by_cid()
3123 p_ccb->ccb_priority, p_ccb->local_cid, in l2cu_get_next_channel_in_rr()
3183 p_serve_ccb->local_cid); in l2cu_get_next_channel_in_rr()
3229 if (p_cbi->cb != NULL) p_cbi->cb(p_cbi->local_cid, p_cbi->num_sdu); in l2cu_tx_complete()
3287 p_cbi->local_cid = p_ccb->local_cid; in l2cu_get_next_buffer_to_send()
3339 (*p_ccb->p_rcb->api.pL2CA_TxComplete_Cb)(p_ccb->local_cid, 1); in l2cu_get_next_buffer_to_send()
3414 status, p_ccb->local_cid, fixed_queue_length(p_ccb->xmit_hold_q), in send_congestion_status_to_all_clients()
3420 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, status); in send_congestion_status_to_all_clients()