Home
last modified time | relevance | path

Searched refs:bDescriptorType (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/sys/dev/usb/
H A Duaudioreg.h58 uByte bDescriptorType; member
80 uByte bDescriptorType; member
86 uByte bDescriptorType; member
96 uByte bDescriptorType; member
105 uByte bDescriptorType; member
123 uByte bDescriptorType; member
135 uByte bDescriptorType; member
151 uByte bDescriptorType; member
223 uByte bDescriptorType; member
231 uByte bDescriptorType; member
[all …]
H A Duvideoreg.h89 uByte bDescriptorType; member
96 uByte bDescriptorType; member
109 uByte bDescriptorType; member
121 uByte bDescriptorType; member
133 uByte bDescriptorType; member
168 uByte bDescriptorType; member
180 uByte bDescriptorType; member
201 uByte bDescriptorType; member
219 uByte bDescriptorType; /* UDESC_ENDPOINT */ member
255 uByte bDescriptorType; member
[all …]
H A Dusbroothub.c100 p->bDescriptorType = UDESC_STRING; in usb_makestrdesc()
117 p->bDescriptorType = UDESC_STRING; in usb_makelangtbl()
129 .bDescriptorType = UDESC_DEVICE,
147 .bDescriptorType = UDESC_CONFIG,
157 .bDescriptorType = UDESC_INTERFACE,
168 .bDescriptorType = UDESC_ENDPOINT,
179 .bDescriptorType = UDESC_DEVICE,
196 .bDescriptorType = UDESC_DEVICE,
213 .bDescriptorType = UDESC_DEVICE_QUALIFIER,
225 .bDescriptorType = UDESC_CONFIG,
[all …]
H A Dusb.h214 uByte bDescriptorType; member
221 uByte bDescriptorType; member
244 uByte bDescriptorType; member
261 uByte bDescriptorType; member
274 uByte bDescriptorType; member
286 uByte bDescriptorType; member
315 uByte bDescriptorType; member
332 uByte bDescriptorType; member
341 uByte bDescriptorType; member
364 uByte bDescriptorType; member
[all …]
H A Dusbcdc.h57 uByte bDescriptorType; member
64 uByte bDescriptorType; member
74 uByte bDescriptorType; member
85 uByte bDescriptorType; member
93 uByte bDescriptorType; member
H A Duvideo.c540 ifdesc->bDescriptorType, in uvideo_attach()
556 ifdesc->bDescriptorType, in uvideo_attach()
591 ifdesc->bDescriptorType, in uvideo_attach()
802 if (desc->bDescriptorType != UDESC_CS_INTERFACE || in uvideo_init_control()
830 if (desc->bDescriptorType != UDESC_CS_INTERFACE || in uvideo_init_control()
882 KASSERT(desc->bDescriptorType == UDESC_CS_INTERFACE); in uvideo_unit_alloc()
975 desc->bDescriptorType, desc->bDescriptorSubtype)); in uvideo_unit_init()
1158 switch (desc->bDescriptorType) { in uvideo_stream_init_desc()
1228 uvdesc->bDescriptorType, in uvideo_stream_init_desc()
1257 uvdesc->bDescriptorType, in uvideo_stream_init_desc()
[all …]
H A Dusbdi_util.c104 if (d->bDescriptorType != UDESC_CONFIG) { in usbd_get_config_desc()
106 confidx, d->bLength, d->bDescriptorType, 0); in usbd_get_config_desc()
132 if (d->bDescriptorType != UDESC_BOS) { in usbd_get_bos_desc()
134 confidx, d->bLength, d->bDescriptorType, 0); in usbd_get_bos_desc()
607 hd->bDescriptorType == UDESC_HID) in usbd_get_hid_descriptor()
609 if (hd->bDescriptorType == UDESC_INTERFACE) in usbd_get_hid_descriptor()
768 desc->bDescriptorType != UDESC_INTERFACE) { in usb_desc_iter_next_interface()
775 KASSERT(desc->bDescriptorType == UDESC_INTERFACE); in usb_desc_iter_next_interface()
789 desc->bDescriptorType != UDESC_INTERFACE) { in usb_desc_iter_next_non_interface()
807 if (desc->bDescriptorType != type) in usb_find_desc()
[all …]
H A Dusbhid.h55 uByte bDescriptorType; member
60 uByte bDescriptorType; member
H A Dusb_subr.c335 desc->bDescriptorType, 0, 0); in usbd_find_idesc()
343 if (desc->bDescriptorType != UDESC_INTERFACE) in usbd_find_idesc()
390 if (desc->bDescriptorType == UDESC_INTERFACE) in usbd_find_edesc()
392 if (desc->bDescriptorType != UDESC_ENDPOINT) in usbd_find_edesc()
567 desc->bDescriptorType); in usbd_fill_iface_data()
576 } else if (desc->bDescriptorType == UDESC_INTERFACE) { in usbd_fill_iface_data()
582 desc->bDescriptorType == UDESC_ENDPOINT) { in usbd_fill_iface_data()
759 if (cdp->bDescriptorType != UDESC_CONFIG) { in usbd_set_config_index()
760 DPRINTF("bad desc %jd", cdp->bDescriptorType, 0, 0, 0); in usbd_set_config_index()
792 if (err || bdp->bDescriptorType != UDESC_BOS || in usbd_set_config_index()
[all …]
H A Duirdavar.h67 uByte bDescriptorType; member
H A Dumidi.c76 uByte bDescriptorType; member
82 uByte bDescriptorType; member
91 uByte bDescriptorType; member
99 uByte bDescriptorType; member
913 if (desc->bDescriptorType != UDESC_CS_INTERFACE || in alloc_all_endpoints_yamaha()
931 if (desc->bDescriptorType != UDESC_CS_INTERFACE || in alloc_all_endpoints_yamaha()
1013 if (desc->bDescriptorType == UDESC_ENDPOINT && in alloc_all_endpoints_genuine()
1017 } else if (desc->bDescriptorType == UDESC_CS_ENDPOINT && in alloc_all_endpoints_genuine()
H A Dusbdi_util.h98 uByte bDescriptorType; member
H A Dusb_quirks.c134 if (ub->bDescriptorType == type && i++ == index) in usbd_get_desc_fake()
163 dev->ud_quirks->desc[j]->bDescriptorType != type); in usbd_get_desc_fake()
H A Duirda.c255 if (!d || d->bDescriptorType == UDESC_IRDA) in uirda_attach()
270 sc->sc_irdadesc.bDescriptorType, in uirda_attach()
H A Duaudio.c650 d->bDescriptorType, in uaudio_find_iface()
655 if (d->bDescriptorType == UDESC_INTERFACE && in uaudio_find_iface()
2109 switch (desc->bDescriptorType) { in uaudio_process_as()
2125 asf1d->v1.bDescriptorType, asf1d->v1.bDescriptorSubtype); in uaudio_process_as()
2146 ed->bLength, ed->bDescriptorType, ed->bEndpointAddress, in uaudio_process_as()
2160 epdesc1->bLength, epdesc1->bDescriptorType, in uaudio_process_as()
2213 desc->bDescriptorType, desc->bDescriptorSubtype); in uaudio_process_as()
2670 if (acdp->bDescriptorType != UDESC_CS_INTERFACE || in uaudio_identify_ac()
2710 if (dp->bDescriptorType != UDESC_CS_INTERFACE) in uaudio_identify_ac()
H A Duhub.c238 hd->bDescriptorType = hssd.bDescriptorType; in usbd_get_hub_desc()
H A Dmbim.h593 uByte bDescriptorType; member
H A Dif_urndis.c946 if (desc->bDescriptorType == UDESC_INTERFACE_ASSOC) { in urndis_attach()
955 if (desc->bDescriptorType != UDESC_CS_INTERFACE) { in urndis_attach()
H A Dulpt.c227 if (id->bDescriptorType == UDESC_INTERFACE && in ulpt_attach()
H A Dif_umb.c338 if (desc->bDescriptorType == UDESC_INTERFACE_ASSOC) { in umb_attach()
347 if (desc->bDescriptorType == UDESC_INTERFACE) { in umb_attach()
356 if (desc->bDescriptorType != UDESC_CS_INTERFACE) in umb_attach()
H A Duhso.c764 || desc->bDescriptorType == UDESC_INTERFACE) { in uhso_mux_attach()
769 if (desc->bDescriptorType == UDESC_CS_INTERFACE in uhso_mux_attach()
H A Duhidev.c242 ed->bLength, ed->bDescriptorType, in uhidev_attach()
H A Dxhci.c2038 xhci_ep_get_dci(ed), ed->bDescriptorType, ed->bEndpointAddress, in xhci_open()
2842 dev->ud_ep0desc.bDescriptorType = UDESC_ENDPOINT; in xhci_new_device()
3830 if (ep == 0 && cdcd->bDescriptorType == UDESC_ENDPOINT) { in xhci_get_essc_desc()
3842 if (cdcd != NULL && cdcd->bDescriptorType == UDESC_ENDPOINT_SS_COMP) { in xhci_get_essc_desc()
H A Dusbdi.c990 if (desc->bDescriptorType != UDESC_INTERFACE) in usbd_get_no_alts()
/netbsd-src/sys/external/bsd/dwc2/dist/
H A Ddwc2_hcd.c1674 hub_desc->bDescriptorType = USB_DT_HUB; in dwc2_hcd_hub_control()