Home
last modified time | relevance | path

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

/external/bluetooth/bluez/btio/
Dbtio.c810 static int l2cap_get_info(int sock, uint16_t *handle, uint8_t *dev_class) in l2cap_get_info() argument
822 if (dev_class) in l2cap_get_info()
823 memcpy(dev_class, info.dev_class, 3); in l2cap_get_info()
853 uint8_t dev_class[3]; in l2cap_get() local
923 if (l2cap_get_info(sock, &handle, dev_class) < 0) { in l2cap_get()
930 if (l2cap_get_info(sock, &handle, dev_class) < 0) { in l2cap_get()
934 memcpy(va_arg(args, uint8_t *), dev_class, 3); in l2cap_get()
963 static int rfcomm_get_info(int sock, uint16_t *handle, uint8_t *dev_class) in rfcomm_get_info() argument
975 if (dev_class) in rfcomm_get_info()
976 memcpy(dev_class, info.dev_class, 3); in rfcomm_get_info()
[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.c69 uint8_t dev_class[3]; member
88 uint8_t dev_class[3]; member
322 memset(&cr->dev_class, 0, sizeof(cr->dev_class)); in connect_request()
695 memcpy(cd.dev_class, vdev.dev_class, 3); in hci_host_control()
701 memcpy(vdev.dev_class, data, 3); in hci_host_control()
1320 vdev.dev_class[0] = 0x00; in main()
1321 vdev.dev_class[1] = 0x00; in main()
1322 vdev.dev_class[2] = 0x00; in main()
Dl2test.c327 conn.dev_class[2], conn.dev_class[1], conn.dev_class[0]); in do_connect()
503 conn.dev_class[2], conn.dev_class[1], conn.dev_class[0]); in do_listen()
/external/bluetooth/hcidump/parser/
Dhci.c1264 uint8_t dev_class[3], dev_mask[3]; in set_event_flt_dump() local
1284 memcpy(dev_class, cp->condition, 3); in set_event_flt_dump()
1287 dev_class[2], dev_class[1], dev_class[0], in set_event_flt_dump()
1380 cp->dev_class[2], cp->dev_class[1], cp->dev_class[0]); in write_class_of_dev_dump()
2189 rp->dev_class[2], rp->dev_class[1], rp->dev_class[0]); in read_class_of_dev_dump()
3009 info->dev_class[2], info->dev_class[1], info->dev_class[0]); in inq_result_dump()
3043 addr, evt->dev_class[2], evt->dev_class[1], in conn_request_dump()
3044 evt->dev_class[0], linktype2str(evt->link_type)); in conn_request_dump()
3356 info->dev_class[2], info->dev_class[1], info->dev_class[0], info->rssi); in inq_result_with_rssi_dump()
3370 info->dev_class[2], info->dev_class[1], info->dev_class[0], info->rssi); in inq_result_with_rssi_dump()
[all …]
/external/bluetooth/bluez/lib/bluetooth/
Dmgmt.h67 uint8_t dev_class[3]; member
286 uint8_t dev_class[3]; member
Dsco.h58 uint8_t dev_class[3]; member
Drfcomm.h50 uint8_t dev_class[3]; member
Dl2cap.h62 uint8_t dev_class[3]; member
Dhci.h910 uint8_t dev_class[3]; member
916 uint8_t dev_class[3]; member
1704 uint8_t dev_class[3]; member
1722 uint8_t dev_class[3]; member
1937 uint8_t dev_class[3]; member
1947 uint8_t dev_class[3]; member
2004 uint8_t dev_class[3]; member
/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()
1424 memcpy(params.dev_class, hci->device.class, sizeof(params.dev_class)); in bt_hci_event_complete_read_local_class()
1869 memcpy(hci->device.class, PARAM(write_class_of_dev, dev_class), in bt_submit_hci()
1870 sizeof(PARAM(write_class_of_dev, dev_class))); in bt_submit_hci()
Dbt.h991 uint8_t dev_class[3]; member
997 uint8_t dev_class[3]; member
1324 uint8_t dev_class[3]; member
1342 uint8_t dev_class[3]; member
1561 uint8_t dev_class[3]; member
1572 uint8_t dev_class[3]; member
1629 uint8_t dev_class[3]; member
/external/bluetooth/bluez/plugins/
Dhciops.c1648 memcpy(cp.dev_class, &class, 3); in write_class()
1919 uint32_t class = info->dev_class[0] | in inquiry_result()
1920 (info->dev_class[1] << 8) | in inquiry_result()
1921 (info->dev_class[2] << 16); in inquiry_result()
1941 uint32_t class = info->dev_class[0] in inquiry_result_with_rssi()
1942 | (info->dev_class[1] << 8) in inquiry_result_with_rssi()
1943 | (info->dev_class[2] << 16); in inquiry_result_with_rssi()
1952 uint32_t class = info->dev_class[0] in inquiry_result_with_rssi()
1953 | (info->dev_class[1] << 8) in inquiry_result_with_rssi()
1954 | (info->dev_class[2] << 16); in inquiry_result_with_rssi()
[all …]
Dmgmtops.c61 uint8_t dev_class[3]; member
804 memcpy(info->dev_class, rp->dev_class, 3); in read_info_complete()
813 info->dev_class[2], info->dev_class[1], info->dev_class[0]); in read_info_complete()
1310 cls = ev->dev_class[0] | (ev->dev_class[1] << 8) | in mgmt_device_found()
1311 (ev->dev_class[2] << 16); in mgmt_device_found()
/external/bluetooth/bluez/compat/
Dhidd.c305 memcpy(class, conn.dev_class, 3); in create_device()
559 memcpy(class, (info+i)->dev_class, 3); in do_search()
573 memcpy(class, (info+i)->dev_class, 3); in do_search()
/external/kernel-headers/original/sound/
Dasound.h292 int dev_class; /* SNDRV_PCM_CLASS_* */ member
577 int dev_class; member
/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/tools/
Dciptool.c250 memcpy(class, (info+i)->dev_class, 3); in cmd_search()
Dhcitool.c513 (info+i)->dev_class[2], in cmd_inq()
514 (info+i)->dev_class[1], in cmd_inq()
515 (info+i)->dev_class[0]); in cmd_inq()
752 memcpy(cls, (info+i)->dev_class, 3); in cmd_scan()
/external/bluetooth/bluez/lib/
Dhci.c1796 memcpy(cls, rp.dev_class, 3); in hci_read_class_of_dev()
1806 cp.dev_class[0] = cls & 0xff; in hci_write_class_of_dev()
1807 cp.dev_class[1] = (cls >> 8) & 0xff; in hci_write_class_of_dev()
1808 cp.dev_class[2] = (cls >> 16) & 0xff; in hci_write_class_of_dev()
/external/bluetooth/bluez/src/
Dadapter.c114 uint32_t dev_class; /* Class of Device */ member
929 adapter->dev_class = new_class; in btd_adapter_class_changed()
1354 DBUS_TYPE_UINT32, &adapter->dev_class); in get_properties()
2829 adapter->dev_class = 0; in btd_adapter_start()