/external/bluetooth/bluez/cups/ |
H A D | sdp.c | 67 unsigned short psm = sdp_get_proto_port(protos, L2CAP_UUID); local 68 if (psm > 0) { 69 *ctrl_psm = psm; 74 unsigned short psm = sdp_get_proto_port(protos, L2CAP_UUID); local 75 if (psm > 0 && *ctrl_psm > 0) { 76 *data_psm = psm;
|
/external/bluetooth/bluez/input/ |
H A D | server.c | 63 uint16_t psm; local 76 BT_IO_OPT_PSM, &psm, 85 debug("Incoming connection on PSM %d", psm); 87 ret = input_device_set_channel(&src, &dst, psm, chan); 92 if (ret == -ENOENT && psm == L2CAP_PSM_HIDP_CTRL) {
|
H A D | device.c | 1242 int input_device_set_channel(const bdaddr_t *src, const bdaddr_t *dst, int psm, argument 1255 switch (psm) {
|
/external/bluetooth/bluez/test/ |
H A D | btiotest.c | 227 static void l2cap_connect(const char *src, const char *dst, uint16_t psm, argument 233 printf("Connecting to %s L2CAP PSM %u\n", dst, psm); 243 BT_IO_OPT_PSM, psm, 251 BT_IO_OPT_PSM, psm, 262 static void l2cap_listen(const char *src, uint16_t psm, gint defer, argument 280 printf("Listening on L2CAP PSM %u\n", psm); 289 BT_IO_OPT_PSM, psm, 297 BT_IO_OPT_PSM, psm, 475 { "psm", 'p', 0, G_OPTION_ARG_INT, &opt_psm,
|
H A D | l2test.c | 77 /* Default addr and psm */ 79 static unsigned short psm = 10; variable 276 addr.l2_psm = htobs(psm); 340 addr.l2_psm = htobs(psm); 421 psm = btohs(addr.l2_psm); 423 syslog(LOG_INFO, "Waiting for connection on psm %d ...", psm); 1030 "\t[-b bytes] [-i device] [-P psm]\n" 1124 psm = atoi(optarg);
|
/external/bluetooth/bluez/tools/ |
H A D | ciptool.c | 91 static int get_psm(bdaddr_t *src, bdaddr_t *dst, unsigned short *psm) argument 122 *psm = p; 131 static int do_connect(int ctl, int dev_id, bdaddr_t *src, bdaddr_t *dst, unsigned short psm, uint32_t flags) argument 182 addr.l2_psm = htobs(psm); 228 unsigned short psm; local 256 if (!get_psm(&src, &dst, &psm)) 262 do_connect(ctl, dev_id, &src, &dst, psm, 0); 275 unsigned short psm; local 293 if (!get_psm(&src, &dst, &psm)) 294 psm 341 unsigned short psm; local [all...] |
H A D | sdptool.c | 1140 uint16_t psm; member in struct:__anon337 2037 sdp_data_t *psm, *version; local 2058 psm = sdp_data_alloc(SDP_UINT16, &lp); 2059 proto[0] = sdp_list_append(proto[0], psm); 2097 sdp_data_free(psm); 2114 sdp_data_t *psm, *version; local 2135 psm = sdp_data_alloc(SDP_UINT16, &lp); 2136 proto[0] = sdp_list_append(proto[0], psm); 2160 sdp_data_free(psm); 2177 sdp_data_t *psm, *versio local 2242 sdp_data_t *psm, *lang_lst, *lang_lst2, *hid_spec_lst, *hid_spec_lst2; local 2405 sdp_data_t *psm, *lang_lst, *lang_lst2, *hid_spec_lst, *hid_spec_lst2; local 2576 uint16_t psm = si->psm ? si->psm : 0x1001; local 2699 sdp_data_t *psm, *version; local 2760 sdp_data_t *psm, *version; local 2821 sdp_data_t *psm, *version, *features; local 2885 sdp_data_t *psm, *version, *features; local 3392 uint16_t psm = 0xf0f9; local [all...] |
/external/bluetooth/hcidump/parser/ |
H A D | parser.c | 64 uint16_t psm; member in struct:__anon629 69 void set_proto(uint16_t handle, uint16_t psm, uint8_t channel, uint32_t proto) argument 73 if (psm > 0 && psm < 0x1000 && !channel) 76 if (!psm && channel) 77 psm = RFCOMM_PSM; 80 if (proto_table[i].handle == handle && proto_table[i].psm == psm && proto_table[i].channel == channel) { 85 if (pos < 0 && !proto_table[i].handle && !proto_table[i].psm && !proto_table[i].channel) 93 proto_table[pos].psm 98 get_proto(uint16_t handle, uint16_t psm, uint8_t channel) argument [all...] |
H A D | sdp.c | 269 static inline void print_int(uint8_t de_type, int level, int n, struct frame *frm, uint16_t *psm, uint8_t *channel) argument 294 if (psm && de_type == SDP_DE_UINT) 295 if (*psm == 0) 296 *psm = val; 321 static inline void print_uuid(int n, struct frame *frm, uint16_t *psm, uint8_t *channel) argument 353 if (psm && *psm > 0 && *psm != 0xffff) { 354 set_proto(frm->handle, *psm, 0, uuid); 355 *psm 399 print_des(uint8_t de_type, int level, int n, struct frame *frm, int *split, uint16_t *psm, uint8_t *channel) argument 406 print_de(int level, struct frame *frm, int *split, uint16_t *psm, uint8_t *channel) argument 517 uint16_t attr_id, psm; local [all...] |
H A D | l2cap.c | 57 uint16_t psm; member in struct:__anon626 93 static void add_cid(int in, uint16_t handle, uint16_t cid, uint16_t psm) argument 102 if (table[i].psm == psm) 109 table[pos].psm = psm; 133 cid_table[t][i].psm = 0; 150 cid_table[t][i].psm = 0; 164 return table[i].psm; 374 uint16_t psm local 392 uint16_t psm; local 678 uint16_t psm; local 773 uint16_t psm = get_psm(!frm->in, cid); local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
H A D | SDL_gsyuv.c | 83 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/bluez/compat/ |
H A D | hidd.c | 76 static int l2cap_connect(bdaddr_t *src, bdaddr_t *dst, unsigned short psm) argument 104 addr.l2_psm = htobs(psm); 114 static int l2cap_listen(const bdaddr_t *bdaddr, unsigned short psm, int lm, int backlog) argument 126 addr.l2_psm = htobs(psm);
|
H A D | sdp.c | 386 uint16_t psm = 15, version = 0x0100; local 416 p = sdp_data_alloc(SDP_UINT16, &psm);
|
/external/bluetooth/bluez/common/ |
H A D | btio.c | 56 uint16_t psm; member in struct:set_opts 255 static int l2cap_bind(int sock, const bdaddr_t *src, uint16_t psm) argument 262 addr.l2_psm = htobs(psm); 267 static int l2cap_connect(int sock, const bdaddr_t *dst, uint16_t psm) argument 275 addr.l2_psm = htobs(psm); 647 opts->psm = va_arg(args, int); 1109 if (l2cap_bind(sock, &opts->src, server ? opts->psm : 0) < 0) { 1122 if (l2cap_bind(sock, &opts->src, server ? opts->psm : 0) < 0) { 1199 err = l2cap_connect(sock, &opts.dst, opts.psm);
|
/external/bluetooth/bluez/include/bluetooth/ |
H A D | l2cap.h | 104 uint16_t psm; member in struct:__anon278
|
/external/bluetooth/bluez/audio/ |
H A D | a2dp.c | 951 sdp_data_t *psm, *version, *features; local 976 psm = sdp_data_alloc(SDP_UINT16, &lp); 977 proto[0] = sdp_list_append(proto[0], psm); 997 free(psm);
|
H A D | control.c | 207 sdp_data_t *psm, *version, *features; local 226 psm = sdp_data_alloc(SDP_UINT16, &lp); 227 proto[0] = sdp_list_append(proto[0], psm); 250 free(psm); 270 sdp_data_t *psm, *version, *features; local 289 psm = sdp_data_alloc(SDP_UINT16, &lp); 290 proto[0] = sdp_list_append(proto[0], psm); 313 free(psm);
|
/external/bluetooth/bluez/network/ |
H A D | server.c | 144 uint16_t psm = BNEP_PSM, version = 0x0100; local 211 p = sdp_data_alloc(SDP_UINT16, &psm);
|
/external/qemu/hw/ |
H A D | bt-l2cap.c | 100 int psm; member in struct:bt_l2cap_psm_s 391 struct bt_l2cap_device_s *device, int psm) 395 while (ret && ret->psm != psm) 402 int psm, int source_cid) 411 psm_info = l2cap_psm(l2cap->dev, psm); 746 int psm, int source_cid) 748 struct l2cap_chan_s *ch = l2cap_channel_open(l2cap, psm, source_cid); 828 le16_to_cpu(((l2cap_conn_req *) params)->psm), 1346 void bt_l2cap_psm_register(struct bt_l2cap_device_s *dev, int psm, in argument 390 l2cap_psm( struct bt_l2cap_device_s *device, int psm) argument 401 l2cap_channel_open(struct l2cap_instance_s *l2cap, int psm, int source_cid) argument 745 l2cap_channel_open_req_msg(struct l2cap_instance_s *l2cap, int psm, int source_cid) argument [all...] |
H A D | bt.h | 134 void bt_l2cap_psm_register(struct bt_l2cap_device_s *dev, int psm, 1752 uint16_t psm; member in struct:__anon3912
|