Lines Matching refs:psm
93 UINT16 psm;
99 STREAM_TO_UINT16(psm, p)
104 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
106 L2CAP_TRACE_ERROR1 ("L2CAP - no RCB for l2c_ucd_data_ind_cback, PSM: 0x%04x", psm);
138 L2CAP_TRACE_DEBUG4 ("L2CAP - Calling UCDCongestionStatus_Cb (%d), PSM=0x%04x, BDA: %08x%04x,",
139 is_congested, p_rcb->psm,
195 ** Description Register PSM on UCD.
202 BOOLEAN L2CA_UcdRegister ( UINT16 psm, tL2CAP_UCD_CB_INFO *p_cb_info )
206 L2CAP_TRACE_API1 ("L2CA_UcdRegister() PSM: 0x%04x", psm);
211 L2CAP_TRACE_ERROR1 ("L2CAP - no callback registering PSM(0x%04x) on UCD", psm);
215 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
217 L2CAP_TRACE_ERROR1 ("L2CAP - no RCB for L2CA_UcdRegister, PSM: 0x%04x", psm);
258 ** Description Deregister PSM on UCD.
260 ** Parameters: PSM
265 BOOLEAN L2CA_UcdDeregister ( UINT16 psm )
271 L2CAP_TRACE_API1 ("L2CA_UcdDeregister() PSM: 0x%04x", psm);
273 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
275 L2CAP_TRACE_ERROR1 ("L2CAP - no RCB for L2CA_UcdDeregister, PSM: 0x%04x", psm);
317 ** Parameters: PSM
326 BOOLEAN L2CA_UcdDiscover ( UINT16 psm, BD_ADDR rem_bda, UINT8 info_type )
332 L2CAP_TRACE_API4 ("L2CA_UcdDiscover() PSM: 0x%04x BDA: %08x%04x, InfoType=0x%02x", psm,
336 /* Fail if the PSM is not registered */
337 if (((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
340 L2CAP_TRACE_WARNING1 ("L2CAP - no RCB for L2CA_UcdDiscover, PSM: 0x%04x", psm);
381 ** Parameters: PSM
392 UINT16 L2CA_UcdDataWrite (UINT16 psm, BD_ADDR rem_bda, BT_HDR *p_buf, UINT16 flags)
399 L2CAP_TRACE_API3 ("L2CA_UcdDataWrite() PSM: 0x%04x BDA: %08x%04x", psm,
403 /* Fail if the PSM is not registered */
404 if (((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
407 L2CAP_TRACE_WARNING1 ("L2CAP - no RCB for L2CA_UcdDataWrite, PSM: 0x%04x", psm);
432 /* write PSM */
437 UINT16_TO_STREAM (p, psm);
755 UINT16 psm;
762 STREAM_TO_UINT16(psm, p)
765 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, psm,
832 UINT16 psm;
839 STREAM_TO_UINT16(psm, p)
842 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, psm,