Home
last modified time | relevance | path

Searched refs:dev_descr (Results 1 – 4 of 4) sorted by relevance

/external/libusb/libusb/os/
Dsunos_usb.c106 bcopy(descr, &dpriv->dev_descr, LIBUSB_DT_DEVICE_SIZE); in sunos_fill_in_dev_info()
107 dpriv->dev_descr.bcdUSB = libusb_cpu_to_le16(descr->bcdUSB); in sunos_fill_in_dev_info()
108 dpriv->dev_descr.idVendor = libusb_cpu_to_le16(descr->idVendor); in sunos_fill_in_dev_info()
109 dpriv->dev_descr.idProduct = libusb_cpu_to_le16(descr->idProduct); in sunos_fill_in_dev_info()
110 dpriv->dev_descr.bcdDevice = libusb_cpu_to_le16(descr->bcdDevice); in sunos_fill_in_dev_info()
167 "speed=%d", dpriv->dev_descr.idVendor, dpriv->dev_descr.idProduct, in sunos_fill_in_dev_info()
644 memcpy(buf, &dpriv->dev_descr, LIBUSB_DT_DEVICE_SIZE); in sunos_get_device_descriptor()
726 if (config < 1 || config > dpriv->dev_descr.bNumConfigurations) in sunos_set_configuration()
Dsunos_usb.h33 struct libusb_device_descriptor dev_descr; /* usb device descriptor */ member
/external/libpcap/
Dpcap-bt-linux.c112 char dev_name[20], dev_descr[30]; in bt_findalldevs() local
115 pcap_snprintf(dev_descr, 30, "Bluetooth adapter number %d", i); in bt_findalldevs()
125 if (add_dev(devlistp, dev_name, PCAP_IF_WIRELESS, dev_descr, err_str) == NULL) in bt_findalldevs()
Dpcap-usb-linux.c231 char dev_descr[30]; in usb_dev_add() local
253 pcap_snprintf(dev_descr, 30, "USB bus number %d", n); in usb_dev_add()
254 if (add_dev(devlistp, dev_name, 0, dev_descr, err_str) == NULL) in usb_dev_add()