Home
last modified time | relevance | path

Searched refs:ddesc (Results 1 – 11 of 11) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c1237 uaa->info.idVendor = UGETW(udev->ddesc.idVendor); in usb_init_attach_arg()
1238 uaa->info.idProduct = UGETW(udev->ddesc.idProduct); in usb_init_attach_arg()
1239 uaa->info.bcdDevice = UGETW(udev->ddesc.bcdDevice); in usb_init_attach_arg()
1240 uaa->info.bDeviceClass = udev->ddesc.bDeviceClass; in usb_init_attach_arg()
1241 uaa->info.bDeviceSubClass = udev->ddesc.bDeviceSubClass; in usb_init_attach_arg()
1242 uaa->info.bDeviceProtocol = udev->ddesc.bDeviceProtocol; in usb_init_attach_arg()
1573 udev->ddesc.bMaxPacketSize = USB_MAX_IPACKET; in usb_alloc_device()
1716 } else if (udev->ddesc.iManufacturer || in usb_alloc_device()
1717 udev->ddesc.iProduct || in usb_alloc_device()
1718 udev->ddesc.iSerialNumber) { in usb_alloc_device()
[all …]
Dusb_request.c1920 err = usbd_req_get_device_desc(udev, mtx, &udev->ddesc); in usbd_setup_device_desc()
1926 err = usbd_req_get_desc(udev, mtx, NULL, &udev->ddesc, in usbd_setup_device_desc()
1932 err = usbd_req_get_device_desc(udev, mtx, &udev->ddesc); in usbd_setup_device_desc()
1941 err = usbd_req_get_device_desc(udev, mtx, &udev->ddesc); in usbd_setup_device_desc()
1945 err = usbd_req_get_device_desc(udev, mtx, &udev->ddesc); in usbd_setup_device_desc()
1958 udev->address, UGETW(udev->ddesc.bcdUSB), in usbd_setup_device_desc()
1959 udev->ddesc.bDeviceClass, in usbd_setup_device_desc()
1960 udev->ddesc.bDeviceSubClass, in usbd_setup_device_desc()
1961 udev->ddesc.bDeviceProtocol, in usbd_setup_device_desc()
1962 udev->ddesc.bMaxPacketSize, in usbd_setup_device_desc()
[all …]
Dusb_debug.c150 UGETW(udev->ddesc.idVendor), in usb_dump_xfer()
151 UGETW(udev->ddesc.idProduct), in usb_dump_xfer()
Dusb_hub.c90 #define UHUB_PROTO(sc) ((sc)->sc_udev->ddesc.bDeviceProtocol)
287 if ((udev->ddesc.bDeviceClass == UDCLASS_HUB) && in uhub_tt_buffer_reset_async_locked()
288 (udev->ddesc.bDeviceProtocol == UDPROTO_HSHUBSTT)) in uhub_tt_buffer_reset_async_locked()
1204 if (udev->ddesc.bDeviceClass != UDCLASS_HUB) in uhub_query_info()
1821 UGETW(res.udev->ddesc.idVendor), in uhub_child_pnpinfo_string()
1822 UGETW(res.udev->ddesc.idProduct), in uhub_child_pnpinfo_string()
1823 res.udev->ddesc.bDeviceClass, in uhub_child_pnpinfo_string()
1824 res.udev->ddesc.bDeviceSubClass, in uhub_child_pnpinfo_string()
1826 UGETW(res.udev->ddesc.bcdDevice), in uhub_child_pnpinfo_string()
2182 ddesc.bDeviceProtocol == UDPROTO_HSHUBMTT) && in usbd_fs_isoc_schedule_alloc_slot()
Dusb_generic.c792 UGETW(udev->ddesc.bcdDevice)); in usb_gen_fill_deviceinfo()
793 di->udi_vendorNo = UGETW(udev->ddesc.idVendor); in usb_gen_fill_deviceinfo()
794 di->udi_productNo = UGETW(udev->ddesc.idProduct); in usb_gen_fill_deviceinfo()
795 di->udi_releaseNo = UGETW(udev->ddesc.bcdDevice); in usb_gen_fill_deviceinfo()
796 di->udi_class = udev->ddesc.bDeviceClass; in usb_gen_fill_deviceinfo()
797 di->udi_subclass = udev->ddesc.bDeviceSubClass; in usb_gen_fill_deviceinfo()
798 di->udi_protocol = udev->ddesc.bDeviceProtocol; in usb_gen_fill_deviceinfo()
2171 struct usb_device_descriptor *ddesc; in ugen_ioctl_post() member
2265 error = copyout((const void *)dtemp, u.ddesc, sizeof(struct usb_device_descriptor)); in ugen_ioctl_post()
Dusb_device.h264 struct usb_device_descriptor ddesc; /* device descriptor */ member
Dusb_transfer.c3079 udev->ddesc.bMaxPacketSize)); in usbd_ctrl_transfer_setup()
3106 udev->ddesc.bMaxPacketSize; in usbd_ctrl_transfer_setup()
/third_party/libusb/libusb/os/
Dnetbsd_usb.c120 usb_device_descriptor_t ddesc; in netbsd_get_device_list() local
157 if (ioctl(fd, USB_GET_DEVICE_DESC, &ddesc) < 0) { in netbsd_get_device_list()
162 static_assert(sizeof(dev->device_descriptor) == sizeof(ddesc), in netbsd_get_device_list()
164 memcpy(&dev->device_descriptor, &ddesc, LIBUSB_DT_DEVICE_SIZE); in netbsd_get_device_list()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c992 usb_bcopy(&udev->ddesc, &udev->descriptor, in usb_linux_create_usb_device()
1114 usb_bcopy(&udev->ddesc, &udev->descriptor, in usb_create_usb_device()
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.c2578 (udev->parent_hs_hub->ddesc.bDeviceProtocol == in xhci_configure_device()
2587 (udev->ddesc.bDeviceProtocol == UDPROTO_HSHUBMTT)) { in xhci_configure_device()
2595 (udev->parent_hs_hub->ddesc.bDeviceProtocol == in xhci_configure_device()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c3115 vid = UGETW(sc->sc_udev->ddesc.idVendor); in umass_status()
3116 pid = UGETW(sc->sc_udev->ddesc.idProduct); in umass_status()