Searched defs:ocf (Results 1 - 10 of 10) sorted by relevance

/external/bluetooth/bluez/include/bluetooth/
H A Dhci_lib.h35 uint16_t ocf; member in struct:hci_request
53 int hci_send_cmd(int dd, uint16_t ogf, uint16_t ocf, uint8_t plen, void *param);
/external/bluetooth/bluez/tools/
H A Dhciattach_st.c44 static int do_command(int fd, uint8_t ogf, uint16_t ocf, argument
47 //uint16_t opcode = (uint16_t) ((ocf & 0x03ff) | (ogf << 10));
52 cp[1] = ocf & 0xff;
53 cp[2] = ogf << 2 | ocf >> 8;
H A Dhcitool.c1003 rq.ocf = OCF_PERIODIC_INQUIRY;
1065 "\tcmd <ogf> <ocf> [parameters]\n"
1075 uint16_t ocf; local
1098 ocf = strtol(argv[1], NULL, 16);
1099 if (errno == ERANGE || (ogf > 0x3f) || (ocf > 0x3ff)) {
1122 printf("< HCI Command: ogf 0x%02x, ocf 0x%04x, plen %d\n", ogf, ocf, len);
1125 if (hci_send_cmd(dd, ogf, ocf, len, buf) < 0) {
1766 rq.ocf = OCF_SET_CONN_PTYPE;
/external/qemu/hw/
H A Dbt-hci-csr.c143 static void csrhci_in_packet_vendor(struct csrhci_s *s, int ocf, argument
149 switch (ocf) {
/external/bluetooth/bluez/common/
H A Dglib-helper.c63 uint16_t ocf; member in struct:hci_cmd_data
618 uint16_t ocf; local
640 ocf = cmd_opcode_ocf(evt_status->opcode);
641 if (ocf != cmd->ocf)
643 switch (ocf) {
674 cmd->ocf = OCF_SET_CONN_ENCRYPT;
756 cmd->ocf = OCF_AUTH_REQUESTED;
/external/bluetooth/bluez/src/
H A Dsecurity.c69 uint16_t ocf; member in struct:hci_req_data
85 uint16_t ogf, uint16_t ocf, int event,
100 data->ocf = ocf;
137 ret_val = hci_send_cmd(dd, data->ogf, data->ocf, data->clen, data->cparam);
84 hci_req_data_new(int dev_id, const bdaddr_t *dba, uint16_t ogf, uint16_t ocf, int event, const void *cparam, int clen) argument
/external/bluetooth/bluez/test/
H A Dhciemu.c258 static void command_status(uint16_t ogf, uint16_t ocf, uint8_t status) argument
277 cs->opcode = htobs(cmd_opcode_pack(ogf, ocf));
286 static void command_complete(uint16_t ogf, uint16_t ocf, int plen, void *data) argument
304 cc->opcode = htobs(cmd_opcode_pack(ogf, ocf));
607 static void hci_link_control(uint16_t ocf, int plen, uint8_t *data) argument
613 switch (ocf) {
615 command_status(ogf, ocf, 0x00);
620 command_status(ogf, ocf, 0x00);
625 command_status(ogf, ocf, 0x00);
631 command_complete(ogf, ocf,
636 hci_link_policy(uint16_t ocf, int plen, uint8_t *data) argument
650 hci_host_control(uint16_t ocf, int plen, uint8_t *data) argument
749 hci_info_param(uint16_t ocf, int plen, uint8_t *data) argument
817 uint16_t ogf, ocf; local
[all...]
/external/bluetooth/bluez/lib/
H A Dhci.c959 int hci_send_cmd(int dd, uint16_t ogf, uint16_t ocf, uint8_t plen, void *param) argument
966 hc.opcode = htobs(cmd_opcode_pack(ogf, ocf));
992 uint16_t opcode = htobs(cmd_opcode_pack(r->ogf, r->ocf));
1011 if (hci_send_cmd(dd, r->ogf, r->ocf, r->clen, r->cparam) < 0)
1136 rq.ocf = OCF_CREATE_CONN;
1167 rq.ocf = OCF_DISCONNECT;
1191 rq.ocf = OCF_READ_LOCAL_NAME;
1218 rq.ocf = OCF_CHANGE_LOCAL_NAME;
1241 rq.ocf = OCF_REMOTE_NAME_REQ;
1276 rq.ocf
[all...]
/external/bluetooth/hcidump/parser/
H A Dhci.c410 uint16_t ocf = cmd_opcode_ocf(opcode); local
415 if (ocf <= CMD_INFO_NUM)
416 cmd = cmd_info_str[ocf];
422 if (ocf <= CMD_HOSTCTL_NUM)
423 cmd = cmd_hostctl_str[ocf];
429 if (ocf <= CMD_LINKCTL_NUM)
430 cmd = cmd_linkctl_str[ocf];
436 if (ocf <= CMD_LINKPOL_NUM)
437 cmd = cmd_linkpol_str[ocf];
443 if (ocf <
1352 uint16_t ocf = cmd_opcode_ocf(opcode); local
2224 uint16_t ocf = cmd_opcode_ocf(opcode); local
2457 uint16_t ocf = cmd_opcode_ocf(opcode); local
[all...]
/external/icu4c/test/intltest/
H A Dloctest.cpp1313 UChar ocf = 0x00f4; local
1315 if (str.indexOf(oda) < 0 || str.indexOf(ocf) >= 0) {
1316 errln("Fail: Monday in Hungarian is wrong - oda's index is %d and ocf's is %d",
1317 str.indexOf(oda), str.indexOf(ocf));

Completed in 131 milliseconds