HomeSort by relevance Sort by last modified time
    Searched defs:psm (Results 1 - 22 of 22) sorted by null

  /external/bluetooth/bluez/cups/
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/
server.c 63 uint16_t psm; local
76 BT_IO_OPT_PSM, &psm,
85 DBG("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) {
  /external/bluetooth/hcidump/parser/
parser.c 64 uint16_t psm; member in struct:__anon2206
69 void set_proto(uint16_t handle, uint16_t psm, uint8_t channel, uint32_t proto)
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 = psm
    [all...]
l2cap.c 57 uint16_t psm; member in struct:__anon2203
93 static void add_cid(int in, uint16_t handle, uint16_t cid, uint16_t psm)
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;
235 return "Connection refused - PSM not supported"
391 uint16_t psm = btohs(h->psm); local
409 uint16_t psm; local
715 uint16_t psm; local
810 uint16_t psm = get_psm(!frm->in, cid); local
    [all...]
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)
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)
353 if (psm && *psm > 0 && *psm != 0xffff) {
354 set_proto(frm->handle, *psm, 0, uuid);
355 *psm = 0xffff
517 uint16_t attr_id, psm; local
    [all...]
  /external/bluetooth/bluez/tools/
ciptool.c 91 static int get_psm(bdaddr_t *src, bdaddr_t *dst, unsigned short *psm)
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)
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 = 4099
341 unsigned short psm; local
    [all...]
sdptool.c 1038 printf(" PSM: %d\n", p->val.uint16);
1139 uint16_t psm; member in struct:__anon1914
2034 sdp_data_t *psm, *version; local
2111 sdp_data_t *psm, *version; local
2174 sdp_data_t *psm, *version; local
2239 sdp_data_t *psm, *lang_lst, *lang_lst2, *hid_spec_lst, *hid_spec_lst2; local
2402 sdp_data_t *psm, *lang_lst, *lang_lst2, *hid_spec_lst, *hid_spec_lst2; local
2573 uint16_t psm = si->psm ? si->psm : 0x1001; local
2696 sdp_data_t *psm, *version; local
2757 sdp_data_t *psm, *version; local
2818 sdp_data_t *psm, *version, *features; local
2882 sdp_data_t *psm, *version, *features; local
3389 uint16_t psm = 0xf0f9; local
3437 sdp_data_t *psm, *sh, *eh; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
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/
sdp.c 387 uint16_t psm = 15, version = 0x0100; local
417 p = sdp_data_alloc(SDP_UINT16, &psm);
  /external/bluetooth/bluez/btio/
btio.c 55 uint16_t psm; member in struct:set_opts
256 static int l2cap_bind(int sock, const bdaddr_t *src, uint16_t psm,
268 addr.l2_psm = htobs(psm);
279 uint16_t psm, uint16_t cid)
290 addr.l2_psm = htobs(psm);
744 opts->psm = va_arg(args, int);
1271 if (l2cap_bind(sock, &opts->src, server ? opts->psm : 0,
1284 if (l2cap_bind(sock, &opts->src, server ? opts->psm : 0,
1363 err = l2cap_connect(sock, &opts.dst, opts.psm, opts.cid);
  /external/bluetooth/bluez/lib/bluetooth/
l2cap.h 106 uint16_t psm; member in struct:__anon1840
  /external/bluetooth/bluez/network/
server.c 165 uint16_t psm = BNEP_PSM, version = 0x0100; local
232 p = sdp_data_alloc(SDP_UINT16, &psm);
  /external/bluetooth/bluez/src/
attrib-server.c 96 sdp_data_t *psm, *sh, *eh; local
120 psm = sdp_data_alloc(SDP_UINT16, &lp);
121 proto[0] = sdp_list_append(proto[0], psm);
135 sdp_data_free(psm);
device.c 1453 uint16_t start = 0, end = 0, psm = 0; local
    [all...]
  /external/bluetooth/bluez/test/
l2test.c 88 /* Default addr and psm and cid */
90 static unsigned short psm = 0x1011; variable
293 else if (psm)
294 addr.l2_psm = htobs(psm);
362 else if (psm)
363 addr.l2_psm = htobs(psm);
450 psm = btohs(addr.l2_psm);
453 syslog(LOG_INFO, "Waiting for connection on psm %d ...", psm);
1078 "\t[-b bytes] [-i device] [-P psm] [-J cid]\n
    [all...]
  /external/qemu/hw/
bt-l2cap.c 98 int psm; member in struct:bt_l2cap_psm_s
389 struct bt_l2cap_device_s *device, int psm)
393 while (ret && ret->psm != psm)
400 int psm, int source_cid)
409 psm_info = l2cap_psm(l2cap->dev, psm);
744 int psm, int source_cid)
746 struct l2cap_chan_s *ch = l2cap_channel_open(l2cap, psm, source_cid);
826 le16_to_cpu(((l2cap_conn_req *) params)->psm),
    [all...]
bt.h 132 void bt_l2cap_psm_register(struct bt_l2cap_device_s *dev, int psm,
1750 uint16_t psm; member in struct:__anon10048
    [all...]
  /system/bluetooth/bluez-clean-headers/bluetooth/
l2cap.h 96 uint16_t psm; member in struct:__anon25871
  /external/bluetooth/bluez/attrib/
client.c 62 int psm; member in struct:gatt_service
383 if (gatt->psm < 0)
394 BT_IO_OPT_PSM, gatt->psm,
1051 struct btd_device *device, int psm,
1069 gatt->psm = psm;
  /external/bluetooth/bluez/audio/
control.c 212 sdp_data_t *psm, *version, *features; local
232 psm = sdp_data_alloc(SDP_UINT16, &lp);
233 proto[0] = sdp_list_append(proto[0], psm);
256 free(psm);
276 sdp_data_t *psm, *version, *features; local
299 psm = sdp_data_alloc(SDP_UINT16, &lp);
300 proto[0] = sdp_list_append(proto[0], psm);
323 free(psm);
a2dp.c 1320 sdp_data_t *psm, *version, *features; local
1349 psm = sdp_data_alloc(SDP_UINT16, &lp);
1350 proto[0] = sdp_list_append(proto[0], psm);
1370 free(psm);
    [all...]
  /external/bluetooth/bluez/health/
hdp_util.c 361 sdp_data_t *psm = NULL, *mcap_ver = NULL; local
372 psm = sdp_data_alloc(SDP_UINT16, &adapter->ccpsm);
373 if (!psm) {
378 if (!sdp_list_append(l2cap_list, psm)) {
435 if (psm)
436 sdp_data_free(psm);
475 sdp_data_t *psm = NULL; local
485 psm = sdp_data_alloc(SDP_UINT16, &adapter->dcpsm);
486 if (!psm) {
491 if (!sdp_list_append(l2cap_list, psm)) {
    [all...]

Completed in 657 milliseconds