Home
last modified time | relevance | path

Searched refs:ogf (Results 1 – 15 of 15) sorted by relevance

/external/bluetooth/bluez/test/
Dhciemu.c244 static void command_status(uint16_t ogf, uint16_t ocf, uint8_t status) in command_status() argument
263 cs->opcode = htobs(cmd_opcode_pack(ogf, ocf)); in command_status()
272 static void command_complete(uint16_t ogf, uint16_t ocf, int plen, void *data) in command_complete() argument
290 cc->opcode = htobs(cmd_opcode_pack(ogf, ocf)); in command_complete()
600 const uint16_t ogf = OGF_LINK_CTL; in hci_link_control() local
604 command_status(ogf, ocf, 0x00); in hci_link_control()
609 command_status(ogf, ocf, 0x00); in hci_link_control()
614 command_status(ogf, ocf, 0x00); in hci_link_control()
620 command_complete(ogf, ocf, 1, &status); in hci_link_control()
629 const uint16_t ogf = OGF_INFO_PARAM; in hci_link_policy() local
[all …]
Dbdaddr.c70 rq.ogf = OGF_VENDOR_CMD; in ericsson_write_bd_addr()
103 rq.ogf = OGF_VENDOR_CMD; in ericsson_store_in_flash()
142 rq.ogf = OGF_VENDOR_CMD; in csr_write_bd_addr()
183 rq.ogf = OGF_VENDOR_CMD; in csr_reset_device()
212 rq.ogf = OGF_VENDOR_CMD; in ti_write_bd_addr()
240 rq.ogf = OGF_VENDOR_CMD; in bcm_write_bd_addr()
268 rq.ogf = OGF_VENDOR_CMD; in zeevo_write_bd_addr()
Dlmptest.c59 rq.ogf = OGF_VENDOR_CMD;
92 rq.ogf = OGF_VENDOR_CMD; in ericsson_write_events()
/external/bluetooth/bluez/lib/
Dhci.c1053 int hci_send_cmd(int dd, uint16_t ogf, uint16_t ocf, uint8_t plen, void *param) in hci_send_cmd() argument
1060 hc.opcode = htobs(cmd_opcode_pack(ogf, ocf)); in hci_send_cmd()
1086 uint16_t opcode = htobs(cmd_opcode_pack(r->ogf, r->ocf)); in hci_send_req()
1106 if (hci_send_cmd(dd, r->ogf, r->ocf, r->clen, r->cparam) < 0) in hci_send_req()
1245 rq.ogf = OGF_LINK_CTL; in hci_create_connection()
1276 rq.ogf = OGF_LINK_CTL; in hci_disconnect()
1305 rq.ogf = OGF_LE_CTL; in hci_le_add_white_list()
1334 rq.ogf = OGF_LE_CTL; in hci_le_rm_white_list()
1360 rq.ogf = OGF_LE_CTL; in hci_le_read_white_list_size()
1385 rq.ogf = OGF_LE_CTL; in hci_le_clear_white_list()
[all …]
/external/bluetooth/bluez/tools/
Dhciattach_st.c44 static int do_command(int fd, uint8_t ogf, uint16_t ocf, in do_command() argument
53 cp[2] = ogf << 2 | ocf >> 8; in do_command()
Dhciconfig.c224 rq.ogf = OGF_LE_CTL; in cmd_le_addr()
264 rq.ogf = OGF_LE_CTL; in cmd_le_adv()
307 rq.ogf = OGF_LE_CTL; in cmd_le_states()
1407 rq.ogf = OGF_HOST_CTL; in cmd_inq_parms()
1430 rq.ogf = OGF_HOST_CTL; in cmd_inq_parms()
1476 rq.ogf = OGF_HOST_CTL; in cmd_page_parms()
1499 rq.ogf = OGF_HOST_CTL; in cmd_page_parms()
1547 rq.ogf = OGF_HOST_CTL; in cmd_page_to()
1566 rq.ogf = OGF_HOST_CTL; in cmd_page_to()
1662 rq.ogf = OGF_VENDOR_CMD; in print_rev_ericsson()
[all …]
Dcsr.c2376 rq.ogf = OGF_VENDOR_CMD; in csr_write_varid_valueless()
2415 rq.ogf = OGF_VENDOR_CMD; in csr_write_varid_complex()
2454 rq.ogf = OGF_VENDOR_CMD; in csr_read_varid_complex()
2494 rq.ogf = OGF_VENDOR_CMD; in csr_read_varid_uint16()
2534 rq.ogf = OGF_VENDOR_CMD; in csr_read_varid_uint32()
2576 rq.ogf = OGF_VENDOR_CMD; in csr_read_pskey_complex()
2620 rq.ogf = OGF_VENDOR_CMD; in csr_write_pskey_complex()
Dcsr_hci.c121 rq.ogf = OGF_VENDOR_CMD; in do_command()
Dhcitool.c1033 rq.ogf = OGF_LINK_CTL; in cmd_spinq()
1108 uint8_t ogf; in cmd_cmd() local
1123 ogf = strtol(argv[0], NULL, 16); in cmd_cmd()
1125 if (errno == ERANGE || (ogf > 0x3f) || (ocf > 0x3ff)) { in cmd_cmd()
1148 printf("< HCI Command: ogf 0x%02x, ocf 0x%04x, plen %d\n", ogf, ocf, len); in cmd_cmd()
1151 if (hci_send_cmd(dd, ogf, ocf, len, buf) < 0) { in cmd_cmd()
1744 rq.ogf = OGF_LINK_CTL; in cmd_cpt()
Dhciattach_ti.c248 rq.ogf = cmd_opcode_ogf(opcode); in brf_send_command_socket()
/external/bluetooth/hcidump/src/
Dbpasniff.c65 rq.ogf = OGF_VENDOR_CMD; in read_revision()
93 rq.ogf = OGF_VENDOR_CMD; in enable_sniffer()
121 rq.ogf = OGF_VENDOR_CMD; in enable_sync()
/external/bluetooth/hcidump/parser/
Dhci.c495 uint16_t ogf = cmd_opcode_ogf(opcode); in opcode2str() local
499 switch (ogf) { in opcode2str()
1669 uint16_t ogf = cmd_opcode_ogf(opcode); in command_dump() local
1675 if (ogf == OGF_VENDOR_CMD && (parser.flags & DUMP_NOVENDOR)) in command_dump()
1680 opcode2str(opcode), ogf, ocf, hdr->plen); in command_dump()
1685 if (ogf == OGF_VENDOR_CMD) { in command_dump()
1697 switch (ogf) { in command_dump()
2690 uint16_t ogf = cmd_opcode_ogf(opcode); in cmd_complete_dump() local
2693 if (ogf == OGF_VENDOR_CMD && (parser.flags & DUMP_NOVENDOR)) in cmd_complete_dump()
2698 opcode2str(opcode), ogf, ocf, evt->ncmd); in cmd_complete_dump()
[all …]
/external/bluetooth/bluez/lib/bluetooth/
Dhci_lib.h34 uint16_t ogf; member
53 int hci_send_cmd(int dd, uint16_t ogf, uint16_t ocf, uint8_t plen, void *param);
Dhci.h2261 #define cmd_opcode_pack(ogf, ocf) (uint16_t)((ocf & 0x03ff)|(ogf << 10)) argument
/external/qemu/hw/
Dbt.h1641 #define cmd_opcode_pack(ogf, ocf) (uint16_t)((ocf & 0x03ff)|(ogf << 10)) argument