Home
last modified time | relevance | path

Searched refs:dev_class (Results 1 – 19 of 19) sorted by relevance

/external/bluetooth/bluez/src/
Dbtio.c722 static int l2cap_get_info(int sock, uint16_t *handle, uint8_t *dev_class) in l2cap_get_info() argument
734 if (dev_class) in l2cap_get_info()
735 memcpy(dev_class, info.dev_class, 3); in l2cap_get_info()
747 uint8_t dev_class[3]; in l2cap_get() local
812 if (l2cap_get_info(sock, &handle, dev_class) < 0) { in l2cap_get()
819 if (l2cap_get_info(sock, &handle, dev_class) < 0) { in l2cap_get()
823 memcpy(va_arg(args, uint8_t *), dev_class, 3); in l2cap_get()
837 static int rfcomm_get_info(int sock, uint16_t *handle, uint8_t *dev_class) in rfcomm_get_info() argument
849 if (dev_class) in rfcomm_get_info()
850 memcpy(dev_class, info.dev_class, 3); in rfcomm_get_info()
[all …]
Dsecurity.c768 uint32_t class = info->dev_class[0] in inquiry_result()
769 | (info->dev_class[1] << 8) in inquiry_result()
770 | (info->dev_class[2] << 16); in inquiry_result()
792 uint32_t class = info->dev_class[0] in inquiry_result_with_rssi()
793 | (info->dev_class[1] << 8) in inquiry_result_with_rssi()
794 | (info->dev_class[2] << 16); in inquiry_result_with_rssi()
806 uint32_t class = info->dev_class[0] in inquiry_result_with_rssi()
807 | (info->dev_class[1] << 8) in inquiry_result_with_rssi()
808 | (info->dev_class[2] << 16); in inquiry_result_with_rssi()
828 uint32_t class = info->dev_class[0] in extended_inquiry_result()
[all …]
/external/bluetooth/bluez/test/
Dscotest.c118 conn.dev_class[2], conn.dev_class[1], conn.dev_class[0]); in do_connect()
196 conn.dev_class[2], conn.dev_class[1], conn.dev_class[0]); in do_listen()
Drctest.c237 conn.dev_class[2], conn.dev_class[1], conn.dev_class[0]); in do_connect()
354 conn.dev_class[2], conn.dev_class[1], conn.dev_class[0]); in do_listen()
Dhciemu.c85 uint8_t dev_class[3]; member
104 uint8_t dev_class[3]; member
336 memset(&cr->dev_class, 0, sizeof(cr->dev_class)); in connect_request()
706 memcpy(cd.dev_class, vdev.dev_class, 3); in hci_host_control()
712 memcpy(vdev.dev_class, data, 3); in hci_host_control()
1327 vdev.dev_class[0] = 0x00; in main()
1328 vdev.dev_class[1] = 0x00; in main()
1329 vdev.dev_class[2] = 0x00; in main()
Dl2test.c321 conn.dev_class[2], conn.dev_class[1], conn.dev_class[0]); in do_connect()
491 conn.dev_class[2], conn.dev_class[1], conn.dev_class[0]); in do_listen()
/external/bluetooth/hcidump/parser/
Dhci.c1037 uint8_t dev_class[3], dev_mask[3]; in set_event_flt_dump() local
1057 memcpy(dev_class, cp->condition, 3); in set_event_flt_dump()
1060 dev_class[2], dev_class[1], dev_class[0], in set_event_flt_dump()
1153 cp->dev_class[2], cp->dev_class[1], cp->dev_class[0]); in write_class_of_dev_dump()
1831 rp->dev_class[2], rp->dev_class[1], rp->dev_class[0]); in read_class_of_dev_dump()
2494 info->dev_class[2], info->dev_class[1], info->dev_class[0]); in inq_result_dump()
2528 addr, evt->dev_class[2], evt->dev_class[1], in conn_request_dump()
2529 evt->dev_class[0], linktype2str(evt->link_type)); in conn_request_dump()
2841 info->dev_class[2], info->dev_class[1], info->dev_class[0], info->rssi); in inq_result_with_rssi_dump()
2855 info->dev_class[2], info->dev_class[1], info->dev_class[0], info->rssi); in inq_result_with_rssi_dump()
[all …]
/external/qemu/hw/
Dbt-hci.c524 .dev_class[0] = slave->class[0], in bt_hci_inquiry_result_standard()
525 .dev_class[1] = slave->class[1], in bt_hci_inquiry_result_standard()
526 .dev_class[2] = slave->class[2], in bt_hci_inquiry_result_standard()
542 .dev_class[0] = slave->class[0], in bt_hci_inquiry_result_with_rssi()
543 .dev_class[1] = slave->class[1], in bt_hci_inquiry_result_with_rssi()
544 .dev_class[2] = slave->class[2], in bt_hci_inquiry_result_with_rssi()
786 memcpy(&params.dev_class, &link->host->class, sizeof(params.dev_class)); in bt_hci_lmp_connection_request()
1425 memcpy(params.dev_class, hci->device.class, sizeof(params.dev_class)); in bt_hci_event_complete_read_local_class()
1870 memcpy(hci->device.class, PARAM(write_class_of_dev, dev_class), in bt_submit_hci()
1871 sizeof(PARAM(write_class_of_dev, dev_class))); in bt_submit_hci()
Dbt.h993 uint8_t dev_class[3]; member
999 uint8_t dev_class[3]; member
1326 uint8_t dev_class[3]; member
1344 uint8_t dev_class[3]; member
1563 uint8_t dev_class[3]; member
1574 uint8_t dev_class[3]; member
1631 uint8_t dev_class[3]; member
/external/bluetooth/bluez/lib/bluetooth/
Dsco.h57 uint8_t dev_class[3]; member
Drfcomm.h50 uint8_t dev_class[3]; member
Dhci.h849 uint8_t dev_class[3]; member
855 uint8_t dev_class[3]; member
1536 uint8_t dev_class[3]; member
1554 uint8_t dev_class[3]; member
1769 uint8_t dev_class[3]; member
1779 uint8_t dev_class[3]; member
1836 uint8_t dev_class[3]; member
Dl2cap.h62 uint8_t dev_class[3]; member
/external/bluetooth/bluez/compat/
Dhidd.c306 memcpy(class, conn.dev_class, 3); in create_device()
561 memcpy(class, (info+i)->dev_class, 3); in do_search()
575 memcpy(class, (info+i)->dev_class, 3); in do_search()
/external/bluetooth/bluez/tools/
Dhcitool.c477 (info+i)->dev_class[2], in cmd_inq()
478 (info+i)->dev_class[1], in cmd_inq()
479 (info+i)->dev_class[0]); in cmd_inq()
715 memcpy(cls, (info+i)->dev_class, 3); in cmd_scan()
Dciptool.c250 memcpy(class, (info+i)->dev_class, 3); in cmd_search()
/external/kernel-headers/original/linux/
Dpci.h382 #define PCI_DEVICE_CLASS(dev_class,dev_class_mask) \ argument
383 .class = (dev_class), .class_mask = (dev_class_mask), \
/external/bluetooth/bluez/lib/
Dhci.c1673 memcpy(cls, rp.dev_class, 3); in hci_read_class_of_dev()
1683 cp.dev_class[0] = cls & 0xff; in hci_write_class_of_dev()
1684 cp.dev_class[1] = (cls >> 8) & 0xff; in hci_write_class_of_dev()
1685 cp.dev_class[2] = (cls >> 16) & 0xff; in hci_write_class_of_dev()
/external/bluetooth/bluez/plugins/
Dhciops.c524 memcpy(cp.dev_class, &class, 3); in hciops_set_class()