/external/bluetooth/bluez/plugins/ |
mgmtops.c | 95 hdr.opcode = htobs(MGMT_OP_READ_INDEX_LIST); 96 hdr.index = htobs(MGMT_INDEX_NONE); 122 hdr.opcode = htobs(MGMT_OP_READ_INFO); 123 hdr.index = htobs(index); 135 hdr.opcode = htobs(MGMT_OP_GET_CONNECTIONS); 136 hdr.index = htobs(index); 176 hdr->opcode = htobs(opcode); 177 hdr->index = htobs(index); 178 hdr->len = htobs(sizeof(*cp)); 511 hdr->opcode = htobs(MGMT_OP_PIN_CODE_NEG_REPLY) [all...] |
hciops.c | 567 link_policy = htobs(link_policy); 670 cp.handle = htobs(handle); 816 cp.handle = htobs(handle); [all...] |
/system/bluetooth/tools/ |
sock_shutdown_bug_l2cap.c | 34 addr.l2_psm = htobs(1);
|
sock_shutdown_test.c | 58 struct sockaddr_l2 local_addr_l2 = {AF_BLUETOOTH, htobs(0x1001), *BDADDR_ANY, 0};
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
bluetooth.h | 89 #define htobs(d) (d) macro 95 #define htobs(d) bswap_16(d) macro
|
/external/bluetooth/bluez/tools/ |
hcitool.c | 712 handle = htobs(cr->conn_info->handle); 720 htobs(di.pkt_type & ACL_PTYPE_MASK), 917 htobs(di.pkt_type & ACL_PTYPE_MASK), 926 handle = htobs(cr->conn_info->handle); 1027 cp.max_period = htobs(16); 1028 cp.min_period = htobs(10); 1261 if (hci_create_connection(dd, &bdaddr, htobs(ptype), 1262 htobs(0x0000), role, &handle, 25000) < 0) 1325 if (hci_disconnect(dd, htobs(cr->conn_info->handle), 1451 if (hci_read_rssi(dd, htobs(cr->conn_info->handle), &rssi, 1000) < 0) [all...] |
hciattach_ath3k.c | 69 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, 120 uint16_t opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, ocf)); 642 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, 684 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, 749 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, 932 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF, 991 ch->opcode = htobs(cmd_opcode_pack(HCI_VENDOR_CMD_OGF,
|
hciconfig.c | 515 dr.dev_opt = htobl(htobs(mpkt) | (htobs(mtu) << 16)); 535 dr.dev_opt = htobl(htobs(mpkt) | (htobs(mtu) << 16)); 924 uint16_t vs = htobs(strtoul(opt, NULL, 16)); 938 vs = htobs(vs); 1412 cp.window = htobs((uint16_t) window); 1413 cp.interval = htobs((uint16_t) interval); [all...] |
l2ping.c | 146 send_cmd->len = htobs(size);
|
ciptool.c | 182 addr.l2_psm = htobs(psm);
|
/external/bluetooth/bluez/lib/bluetooth/ |
bluetooth.h | 99 #define htobs(d) (d) macro 104 #define htobs(d) bswap_16(d) macro
|
/external/bluetooth/bluez/test/ |
l2test.c | 292 addr.l2_cid = htobs(cid); 294 addr.l2_psm = htobs(psm); 361 addr.l2_cid = htobs(cid); 363 addr.l2_psm = htobs(psm); 759 *(uint16_t *) (buf + 4) = htobs(data_size); 906 cmd->len = htobs(2); 907 req->type = htobs(0x0001); 933 cmd->len = htobs(2); 934 req->type = htobs(0x0002); 983 cmd->len = htobs(2) [all...] |
hciemu.c | 263 cs->opcode = htobs(cmd_opcode_pack(ogf, ocf)); 290 cc->opcode = htobs(cmd_opcode_pack(ogf, ocf)); 351 cc->handle = htobs(conn->handle); 380 dc->handle = htobs(conn->handle); 410 *((uint16_t *) ptr) = htobs(conn->handle); ptr += 2; 411 *((uint16_t *) ptr) = htobs(vdev.acl_cnt); ptr += 2; 753 lv.hci_rev = htobs(0x0000); 755 lv.manufacturer = htobs(29); 756 lv.lmp_subver = htobs(0x0000); 782 bs.acl_mtu = htobs(VHCI_ACL_MTU) [all...] |
lmptest.c | 54 cp.handle = htobs(handle);
|
hstest.c | 196 vs = htobs(vs);
|
avtest.c | 474 addr.l2_psm = htobs(25); 540 addr.l2_psm = htobs(avctp ? 23 : 25);
|
scotest.c | 278 *(uint16_t *) (buf + 4) = htobs(data_size);
|
/external/bluetooth/bluez/compat/ |
hidd.c | 104 addr.l2_psm = htobs(psm); 126 addr.l2_psm = htobs(psm); 196 err = hci_authenticate_link(dd, htobs(cr->conn_info->handle), 25000); 232 err = hci_encrypt_link(dd, htobs(cr->conn_info->handle), 1, 25000);
|
pand.c | 235 l2a.l2_psm = htobs(BNEP_PSM); 368 l2a.l2_psm = htobs(BNEP_PSM);
|
/external/bluetooth/bluez/cups/ |
hcrp.c | 225 addr.l2_psm = htobs(ctrl_psm); 262 addr.l2_psm = htobs(data_psm);
|
/external/bluetooth/bluez/src/ |
sdpd-server.c | 84 l2addr.l2_psm = htobs(SDP_PSM);
|
/external/bluetooth/bluez/attrib/ |
att.h | 196 bt_put_unaligned(htobs(src), (uint16_t *) dst);
|
gatt.c | 89 u16 = htobs(uuid->value.u16);
|
/external/bluetooth/bluez/btio/ |
btio.c | 266 addr.l2_cid = htobs(cid); 268 addr.l2_psm = htobs(psm); 288 addr.l2_cid = htobs(cid); 290 addr.l2_psm = htobs(psm);
|
/external/bluetooth/bluez/lib/ |
hci.c | 1060 hc.opcode = htobs(cmd_opcode_pack(ogf, ocf)); 1086 uint16_t opcode = htobs(cmd_opcode_pack(r->ogf, r->ocf)); [all...] |