Searched defs:psm (Results 1 - 25 of 27) sorted by relevance

12

/external/bluetooth/bluedroid/stack/avct/
H A Davct_l2c.c39 void avct_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
104 void avct_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) argument
109 UNUSED(psm);
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_l2c.c39 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
175 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) argument
182 UNUSED(psm);
/external/bluetooth/bluedroid/stack/rfcomm/
H A Drfc_l2cap_if.c40 static void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
88 void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) argument
91 UNUSED(psm);
/external/bluetooth/bluedroid/stack/sdp/
H A Dsdp_main.c56 static void sdp_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm,
172 static void sdp_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) argument
174 UNUSED(psm);
/external/chromium_org/chromeos/dbus/
H A Dbluetooth_profile_manager_client.h51 scoped_ptr<uint16> psm; member in struct:chromeos::BluetoothProfileManagerClient::Options
/external/bluetooth/bluedroid/stack/mcap/
H A Dmca_l2c.c153 void mca_l2c_cconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) argument
155 tMCA_HANDLE handle = mca_handle_by_cpsm(psm);
163 MCA_TRACE_EVENT ("mca_l2c_cconn_ind_cback: lcid:x%x psm:x%x id:x%x", lcid, psm, id);
178 rc = btm_sec_mx_access_request (bd_addr, psm, FALSE, BTM_SEC_PROTO_MCA, 0,
229 void mca_l2c_dconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) argument
231 tMCA_HANDLE handle = mca_handle_by_dpsm(psm);
240 MCA_TRACE_EVENT ("mca_l2c_dconn_ind_cback: lcid:x%x psm:x%x ", lcid, psm);
563 UINT16 mca_l2c_open_req(BD_ADDR bd_addr, UINT16 psm, cons argument
[all...]
H A Dmca_main.c68 tMCA_HANDLE mca_handle_by_cpsm(UINT16 psm) argument
76 if (p_rcb->p_cback && p_rcb->reg.ctrl_psm == psm)
95 tMCA_HANDLE mca_handle_by_dpsm(UINT16 psm) argument
103 if (p_rcb->p_cback && p_rcb->reg.data_psm == psm)
/external/bluetooth/bluedroid/stack/bnep/
H A Dbnep_main.c59 static void bnep_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id);
121 static void bnep_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) argument
124 UNUSED(psm);
/external/bluetooth/bluedroid/stack/hid/
H A Dhidh_conn.c53 UINT16 psm, UINT8 l2cap_id);
205 static void hidh_l2cif_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) argument
212 HIDH_TRACE_EVENT ("HID-Host Rcvd L2CAP conn ind, PSM: 0x%04x CID 0x%x", psm, l2cap_cid);
225 if (psm == HID_PSM_INTERRUPT)
260 if (psm == HID_PSM_CONTROL)
290 psm, l2cap_cid);
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_main.c63 void l2c_bcst_msg( BT_HDR *p_buf, UINT16 psm )
98 UINT16_TO_STREAM (p, psm);
126 UINT16 l2cap_len, rcv_cid, psm; local
235 STREAM_TO_UINT16 (psm, p);
236 L2CAP_TRACE_DEBUG( "GOT CONNECTIONLESS DATA PSM:%d", psm ) ;
238 if (psm == TCS_PSM_INTERCOM || psm == TCS_PSM_CORDLESS)
435 STREAM_TO_UINT16 (con_info.psm, p);
437 if ((p_rcb = l2cu_find_rcb_by_psm (con_info.psm)) == NULL)
439 L2CAP_TRACE_WARNING ("L2CAP - rcvd conn req for unknown PSM: %d", con_info.psm);
[all...]
H A Dl2c_ucd.c93 UINT16 psm; local
99 STREAM_TO_UINT16(psm, p)
104 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
106 L2CAP_TRACE_ERROR ("L2CAP - no RCB for l2c_ucd_data_ind_cback, PSM: 0x%04x", psm);
139 is_congested, p_rcb->psm,
202 BOOLEAN L2CA_UcdRegister ( UINT16 psm, tL2CAP_UCD_CB_INFO *p_cb_info ) argument
206 L2CAP_TRACE_API ("L2CA_UcdRegister() PSM: 0x%04x", psm);
211 L2CAP_TRACE_ERROR ("L2CAP - no callback registering PSM(0x%04x) on UCD", psm);
215 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL)
217 L2CAP_TRACE_ERROR ("L2CAP - no RCB for L2CA_UcdRegister, PSM: 0x%04x", psm);
326 L2CA_UcdDiscover( UINT16 psm, BD_ADDR rem_bda, UINT8 info_type ) argument
392 L2CA_UcdDataWrite(UINT16 psm, BD_ADDR rem_bda, BT_HDR *p_buf, UINT16 flags) argument
755 UINT16 psm; local
832 UINT16 psm; local
[all...]
H A Dl2c_api.c52 UINT16 L2CA_Register (UINT16 psm, tL2CAP_APPL_INFO *p_cb_info) argument
55 UINT16 vpsm = psm;
57 L2CAP_TRACE_API ("L2CAP - L2CA_Register() called for PSM: 0x%04x", psm);
69 L2CAP_TRACE_ERROR ("L2CAP - no cb registering PSM: 0x%04x", psm);
74 if (L2C_INVALID_PSM(psm))
76 L2CAP_TRACE_ERROR ("L2CAP - invalid PSM value, PSM: 0x%04x", psm);
82 if ( (psm >= 0x1001) && (p_cb_info->pL2CA_ConnectInd_Cb == NULL) )
90 L2CAP_TRACE_API ("L2CA_Register - Real PSM: 0x%04x Virtual PSM: 0x%04x", psm, vpsm);
98 L2CAP_TRACE_WARNING ("L2CAP - no RCB available, PSM: 0x%04x vPSM: 0x%04x", psm, vpsm);
104 p_rcb->real_psm = psm;
121 L2CA_Deregister(UINT16 psm) argument
171 UINT16 psm = l2cb.dyn_psm; local
212 L2CA_ConnectReq(UINT16 psm, BD_ADDR p_bd_addr) argument
233 L2CA_ErtmConnectReq(UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_ERTM_INFO *p_ertm_info) argument
870 L2CA_LocalLoopbackReq(UINT16 psm, UINT16 handle, BD_ADDR p_bd_addr) argument
[all...]
H A Dl2c_utils.c1678 if (p_rcb && (p_rcb->psm != p_rcb->real_psm))
1680 btm_sec_clr_service_by_psm(p_rcb->psm);
1782 tL2C_RCB *l2cu_allocate_rcb (UINT16 psm) argument
1792 p_rcb->psm = psm;
1817 p_rcb->psm = 0;
1863 tL2C_RCB *l2cu_find_rcb_by_psm (UINT16 psm) argument
1870 if ((p_rcb->in_use) && (p_rcb->psm == psm))
H A Dl2c_int.h265 UINT16 psm; member in struct:__anon1662
537 UINT16 psm; /* PSM of the connection */ member in struct:__anon1666
673 extern tL2C_RCB *l2cu_allocate_rcb (UINT16 psm);
674 extern tL2C_RCB *l2cu_find_rcb_by_psm (UINT16 psm);
/external/chromium_org/device/bluetooth/
H A Dbluetooth_adapter.h166 scoped_ptr<int> psm; member in struct:device::BluetoothAdapter::ServiceOptions
322 // listening on PSM |options.psm|, which may be left null to automatically
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
H A DSDL_gsyuv.c83 int fbp, fbw, psm; local
218 psm = screen_image.psm;
231 ((unsigned long long)psm << 56);
271 ((unsigned long long)psm << 20) +
403 if ( screen_image.psm == PS2_GS_PSMCT16 ) {
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_conn.c33 static void gap_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id);
108 ** psm - the PSM used for the connection
123 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg,
179 if ((p_ccb->psm = L2CA_REGISTER (psm, &gap_cb.conn.reg_info, AMP_AUTOSWITCH_ALLOWED|AMP_USE_AMP_IF_POSSIBLE)) == 0)
181 GAP_TRACE_ERROR ("GAP_ConnOpen: Failure registering PSM 0x%04x", psm);
188 if (!BTM_SetSecurityLevel ((UINT8)!is_server, p_serv_name, p_ccb->service_id, security, p_ccb->psm, 0, 0))
227 if (p_rem_bda && ((cid = L2CA_CONNECT_REQ (p_ccb->psm, p_rem_bda, &p_ccb->ertm_info, &bt_uuid)) != 0))
727 static void gap_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) argument
737 && (p_ccb->psm
122 GAP_ConnOpen(char *p_serv_name, UINT8 service_id, BOOLEAN is_server, BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg, UINT16 security, UINT8 chan_mode_mask, tGAP_CONN_CALLBACK *p_cb) argument
1170 UINT16 psm = p_ccb->psm; local
[all...]
H A Dgap_int.h95 UINT16 psm; member in struct:__anon1267
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_main.c51 static void gatt_l2cif_connect_ind_cback (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id);
560 static void gatt_l2cif_connect_ind_cback (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) argument
566 UNUSED(psm);
/external/chromium_org/extensions/browser/api/bluetooth_socket/
H A Dbluetooth_socket_api.cc89 // Returns |true| if |psm| is a valid PSM.
93 bool IsValidPsm(int psm) { argument
94 if (psm <= 0)
98 while (psm > 0) {
99 octets.push_back(psm & 0xFF);
100 psm = psm >> 8;
421 if (options->psm) {
422 int psm = *options->psm; local
[all...]
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_act.c407 p_cb->psm = 0;
675 BOOLEAN bta_jv_check_psm(UINT16 psm) argument
679 if(L2C_IS_VALID_PSM(psm) )
681 if(psm < 0x1001)
684 switch(psm)
1613 p_cb->psm = 0; /* not a server */
1715 p_cb->psm = ls->local_psm;
1742 if(bta_jv_cb.l2c_cb[i].psm == ls->local_psm)
H A Dbta_jv_int.h191 UINT16 psm; /* the psm used for this server connection */ member in struct:__anon934
/external/bluetooth/bluedroid/bta/include/
H A Dbta_jv_api.h422 UINT16 psm; /* BTA_JV_GET_PSM_EVT */ member in union:__anon906
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_sec.c52 static tBTM_SEC_SERV_REC *btm_sec_find_first_serv (BOOLEAN is_originator, UINT16 psm);
54 static tBTM_SEC_SERV_REC *btm_sec_find_mx_serv (UINT8 is_originator, UINT16 psm,
73 static BOOLEAN btm_sec_queue_mx_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig,
88 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
520 ** psm - L2CAP PSM
528 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
540 sec_level, psm, mx_proto_id, mx_chan_id));
546 UNUSED(psm);
565 ** psm - L2CAP PSM
573 UINT16 sec_level, UINT16 psm, UINT3
527 BTM_SetUCDSecurityLevel(BOOLEAN is_originator, char *p_name, UINT8 service_id, UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id, UINT32 mx_chan_id) argument
572 BTM_SetSecurityLevel(BOOLEAN is_originator, char *p_name, UINT8 service_id, UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id, UINT32 mx_chan_id) argument
611 btm_sec_set_security_level(CONNECTION_TYPE conn_type, char *p_name, UINT8 service_id, UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id, UINT32 mx_chan_id) argument
872 btm_sec_clr_service_by_psm(UINT16 psm) argument
2227 btm_sec_l2cap_access_req(BD_ADDR bd_addr, UINT16 psm, UINT16 handle, CONNECTION_TYPE conn_type, tBTM_SEC_CALLBACK *p_callback, void *p_ref_data) argument
2553 btm_sec_mx_access_request(BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_originator, UINT32 mx_proto_id, UINT32 mx_chan_id, tBTM_SEC_CALLBACK *p_callback, void *p_ref_data) argument
5529 btm_sec_find_first_serv(CONNECTION_TYPE conn_type, UINT16 psm) argument
5602 btm_sec_find_mx_serv(UINT8 is_originator, UINT16 psm, UINT32 mx_proto_id, UINT32 mx_chan_id) argument
5906 btm_sec_queue_mx_request(BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig, UINT32 mx_proto_id, UINT32 mx_chan_id, tBTM_SEC_CALLBACK *p_callback, void *p_ref_data) argument
[all...]
/external/bluetooth/bluedroid/stack/include/
H A Dobx_api.h453 UINT16 psm; /* The L2CAP PSM number that this server listens for incoming requests. 0, if do not wish to listen to connection from L2CAP. */ member in struct:__anon1598

Completed in 497 milliseconds

12