Home | History | Annotate | Download | only in usb

Lines Matching refs:udd

150 	usb_device_descriptor_t *udd = &ud->ud_ddesc;
152 usbd_get_device_string(ud, udd->iManufacturer, &ud->ud_vendor);
153 usbd_get_device_string(ud, udd->iProduct, &ud->ud_product);
154 usbd_get_device_string(ud, udd->iSerialNumber, &ud->ud_serial);
161 usb_device_descriptor_t *udd = &dev->ud_ddesc;
168 if (usbd_get_string0(dev, udd->iManufacturer, v, useencoded) ==
171 if (usbd_get_string0(dev, udd->iProduct, p, useencoded) ==
183 usb_findvendor(v, vl, UGETW(udd->idVendor));
185 usb_findproduct(p, pl, UGETW(udd->idVendor),
186 UGETW(udd->idProduct));
198 usb_device_descriptor_t *udd = &dev->ud_ddesc;
211 UGETW(udd->idVendor), product, UGETW(udd->idProduct));
214 udd->bDeviceClass, udd->bDeviceSubClass);
215 bcdUSB = UGETW(udd->bcdUSB);
216 bcdDevice = UGETW(udd->bcdDevice);
1625 usb_device_descriptor_t *udd = &dev->ud_ddesc;
1629 err = usbd_get_device_desc(dev, udd);
1632 if (udd->bDescriptorType != UDESC_DEVICE)
1634 if (udd->bLength < USB_DEVICE_DESCRIPTOR_SIZE)
1637 DPRINTFN(15, "bLength %5ju", udd->bLength, 0, 0, 0);
1638 DPRINTFN(15, "bDescriptorType %5ju", udd->bDescriptorType, 0, 0, 0);
1639 DPRINTFN(15, "bcdUSB %2jx.%02jx", udd->bcdUSB[1],
1640 udd->bcdUSB[0], 0, 0);
1641 DPRINTFN(15, "bDeviceClass %5ju", udd->bDeviceClass, 0, 0, 0);
1642 DPRINTFN(15, "bDeviceSubClass %5ju", udd->bDeviceSubClass, 0, 0, 0);
1643 DPRINTFN(15, "bDeviceProtocol %5ju", udd->bDeviceProtocol, 0, 0, 0);
1644 DPRINTFN(15, "bMaxPacketSize0 %5ju", udd->bMaxPacketSize, 0, 0, 0);
1646 udd->idVendor[0],
1647 udd->idVendor[1], 0, 0);
1649 udd->idProduct[0],
1650 udd->idProduct[1], 0, 0);
1651 DPRINTFN(15, "bcdDevice %2jx.%02jx", udd->bcdDevice[1],
1652 udd->bcdDevice[0], 0, 0);
1653 DPRINTFN(15, "iManufacturer %5ju", udd->iManufacturer, 0, 0, 0);
1654 DPRINTFN(15, "iProduct %5ju", udd->iProduct, 0, 0, 0);
1655 DPRINTFN(15, "iSerial %5ju", udd->iSerialNumber, 0, 0, 0);
1656 DPRINTFN(15, "bNumConfigurations %5ju", udd->bNumConfigurations, 0, 0,
1660 dev->ud_quirks = usbd_find_quirk(udd);