/external/bluetooth/hcidump/parser/ |
att.c | 263 uint16_t handle = btohs(htons(get_u16(frm))); 275 uint16_t client_rx_mtu = btohs(htons(get_u16(frm))); 283 uint16_t server_rx_mtu = btohs(htons(get_u16(frm))); 291 uint16_t start = btohs(htons(get_u16(frm))); 292 uint16_t end = btohs(htons(get_u16(frm))); 308 uint16_t handle = btohs(htons(get_u16(frm))); 309 uint16_t uuid = btohs(htons(get_u16(frm))); 318 uint16_t handle = btohs(htons(get_u16(frm))); 335 uint16_t start = btohs(htons(get_u16(frm))); 336 uint16_t end = btohs(htons(get_u16(frm))) [all...] |
l2cap.c | 206 return btohs(bt_get_unaligned((uint16_t *) ptr)); 366 uint16_t reason = btohs(h->reason); 391 uint16_t psm = btohs(h->psm); 392 uint16_t scid = btohs(h->scid); 405 uint16_t scid = btohs(h->scid); 406 uint16_t dcid = btohs(h->dcid); 407 uint16_t result = btohs(h->result); 408 uint16_t status = btohs(h->status); 453 rto = btohs(bt_get_unaligned((uint16_t *) (ptr + 3))); 454 mto = btohs(bt_get_unaligned((uint16_t *) (ptr + 5))) [all...] |
hci.c | 793 val = btohs(bt_get_unaligned(((uint16_t *) (data + i * 2)))); 867 uint16_t handle = btohs(htons(get_u16(frm))); 898 btohs(cp->max_period), btohs(cp->min_period), 905 uint16_t ptype = btohs(cp->pkt_type); 906 uint16_t clkoffset = btohs(cp->clock_offset); 928 printf("handle %d reason 0x%2.2x\n", btohs(cp->handle), cp->reason); 937 uint16_t ptype = btohs(cp->pkt_type); 941 printf("handle %d ptype 0x%4.4x\n", btohs(cp->handle), ptype); 1077 printf("handle %d encrypt 0x%2.2x\n", btohs(cp->handle), cp->encrypt) [all...] |
bpa.c | 43 #define BPA_U16(frm) (btohs(htons(get_u16(frm))))
|
rfcomm.c | 147 rpn->rpn_val.xon, rpn->rpn_val.xoff, btohs(rpn->rpn_val.pm)); 175 btohs(pn->frame_size), pn->max_nbrof_retrans, pn->credits); 205 mcc_head.length.val = btohs(mcc_head.length.val); 315 head.length.val = btohs(head.length.val);
|
csr.c | 40 #define CSR_U16(frm) (btohs(htons(get_u16(frm)))) 42 #define CSR_S16(frm) (btohs(htons(get_u16(frm))))
|
ppp.c | 38 #define PPP_U16(frm) (btohs(htons(get_u16(frm))))
|
capi.c | 43 #define CAPI_U16(frm) (btohs(htons(get_u16(frm))))
|
lmp.c | 40 #define LMP_U16(frm) (btohs(htons(get_u16(frm))))
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
bluetooth.h | 91 #define btohs(d) (d) macro 97 #define btohs(d) bswap_16(d) macro
|
/external/bluetooth/bluez/lib/bluetooth/ |
bluetooth.h | 101 #define btohs(d) (d) macro 106 #define btohs(d) bswap_16(d) macro
|
/external/bluetooth/bluez/test/ |
l2test.c | 450 psm = btohs(addr.l2_psm); 451 cid = btohs(addr.l2_cid); 699 l = btohs(*(uint16_t *) (buf + 4)); 920 switch (btohs(rsp->result)) { 923 printf("Connectionless MTU size is %d\n", btohs(mtu)); 947 switch (btohs(rsp->result)) { 997 switch (btohs(rsp->result)) {
|
hciemu.c | 509 handle = btohs(cp->handle); 811 ch->opcode = btohs(ch->opcode); 841 handle = acl_handle(btohs(ah->handle)); 849 if (write_n(fd, data, btohs(ah->dlen) + HCI_ACL_HDR_SIZE) < 0) { 890 len = btohs(ah->dlen); 898 flags = acl_flags(btohs(ah->handle));
|
rctest.c | 462 l = btohs(*(uint16_t *) (buf + 4));
|
/external/bluetooth/bluez/plugins/ |
mgmtops.c | 89 mgmt_revision = btohs(bt_get_unaligned(&rp->revision)); 752 num = btohs(bt_get_unaligned(&rp->num_controllers)); 762 index = btohs(bt_get_unaligned(&rp->index[i])); 806 info->manufacturer = btohs(bt_get_unaligned(&rp->manufacturer)); 808 info->hci_rev = btohs(bt_get_unaligned(&rp->hci_rev)); 1123 opcode = btohs(bt_get_unaligned(&ev->opcode)); 1220 opcode = btohs(bt_get_unaligned(&ev->opcode)); 1416 opcode = btohs(bt_get_unaligned(&hdr->opcode)); 1417 len = btohs(bt_get_unaligned(&hdr->len)); 1418 index = btohs(bt_get_unaligned(&hdr->index)) [all...] |
hciops.c | [all...] |
/external/bluetooth/bluez/tools/ |
l2ping.c | 190 recv_cmd->len = btohs(recv_cmd->len);
|
hciconfig.c | 1308 uint16_t val = btohs(bt_get_unaligned((uint16_t *) (ptr + (i * 2)))); [all...] |
hcitool.c | 512 addr, btohs((info+i)->clock_offset), 690 (info+i)->pscan_rep_mode, btohs((info+i)->clock_offset)); [all...] |
/external/bluetooth/bluez/attrib/ |
att.h | 170 return btohs(bt_get_unaligned(u16_ptr));
|
/external/bluetooth/hcidump/src/ |
bpasniff.c | 188 len = btohs(bt_get_unaligned((uint16_t *) (buf + 3)));
|
hcidump.c | 416 frm.data_len = btohs(dh.len);
|
/external/bluetooth/bluez/lib/ |
hci.c | [all...] |