Home | History | Annotate | Download | only in l2cap

Lines Matching defs:psm

96     UINT16 psm;
102 STREAM_TO_UINT16(psm, p)
107 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
109 L2CAP_TRACE_ERROR ("L2CAP - no RCB for l2c_ucd_data_ind_cback, PSM: 0x%04x", psm);
141 L2CAP_TRACE_DEBUG ("L2CAP - Calling UCDCongestionStatus_Cb (%d), PSM=0x%04x, BDA: %08x%04x,",
142 is_congested, p_rcb->psm,
198 ** Description Register PSM on UCD.
205 BOOLEAN L2CA_UcdRegister ( UINT16 psm, tL2CAP_UCD_CB_INFO *p_cb_info )
209 L2CAP_TRACE_API ("L2CA_UcdRegister() PSM: 0x%04x", psm);
214 L2CAP_TRACE_ERROR ("L2CAP - no callback registering PSM(0x%04x) on UCD", psm);
218 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
220 L2CAP_TRACE_ERROR ("L2CAP - no RCB for L2CA_UcdRegister, PSM: 0x%04x", psm);
261 ** Description Deregister PSM on UCD.
263 ** Parameters: PSM
268 BOOLEAN L2CA_UcdDeregister ( UINT16 psm )
274 L2CAP_TRACE_API ("L2CA_UcdDeregister() PSM: 0x%04x", psm);
276 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
278 L2CAP_TRACE_ERROR ("L2CAP - no RCB for L2CA_UcdDeregister, PSM: 0x%04x", psm);
320 ** Parameters: PSM
329 BOOLEAN L2CA_UcdDiscover ( UINT16 psm, BD_ADDR rem_bda, UINT8 info_type )
335 L2CAP_TRACE_API ("L2CA_UcdDiscover() PSM: 0x%04x BDA: %08x%04x, InfoType=0x%02x", psm,
339 /* Fail if the PSM is not registered */
340 if (((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
343 L2CAP_TRACE_WARNING ("L2CAP - no RCB for L2CA_UcdDiscover, PSM: 0x%04x", psm);
384 ** Parameters: PSM
395 UINT16 L2CA_UcdDataWrite (UINT16 psm, BD_ADDR rem_bda, BT_HDR *p_buf, UINT16 flags)
402 L2CAP_TRACE_API ("L2CA_UcdDataWrite() PSM: 0x%04x BDA: %08x%04x", psm,
406 /* Fail if the PSM is not registered */
407 if (((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
410 L2CAP_TRACE_WARNING ("L2CAP - no RCB for L2CA_UcdDataWrite, PSM: 0x%04x", psm);
435 /* write PSM */
440 UINT16_TO_STREAM (p, psm);
766 UINT16 psm;
769 STREAM_TO_UINT16(psm, p)
772 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, psm,
834 UINT16 psm;
836 STREAM_TO_UINT16(psm, p)
839 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, psm,