Searched refs:bLength (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/sys/dev/usb/
H A Duvideoreg.h88 uByte bLength; member in struct:__anon3590
95 uByte bLength; member in struct:__anon3591
108 uByte bLength; member in struct:__anon3592
120 uByte bLength; member in struct:__anon3593
132 uByte bLength; member in struct:__anon3594
167 uByte bLength; member in struct:__anon3595
179 uByte bLength; member in struct:__anon3596
200 uByte bLength; member in struct:__anon3597
218 uByte bLength; member in struct:__anon3598
254 uByte bLength; member in struct:__anon3599
276 uByte bLength; member in struct:__anon3600
294 uByte bLength; member in struct:__anon3602
336 uByte bLength; member in struct:__anon3603
373 uByte bLength; member in struct:__anon3607
381 uByte bLength; member in struct:__anon3608
411 uByte bLength; member in struct:__anon3609
426 uByte bLength; member in struct:__anon3610
447 uByte bLength; member in struct:__anon3611
462 uByte bLength; member in struct:__anon3612
481 uByte bLength; member in struct:__anon3613
497 uByte bLength; member in struct:__anon3614
514 uByte bLength; member in struct:__anon3615
[all...]
H A Duaudioreg.h57 uByte bLength; member in struct:__anon3581
70 * UAC2 no longer uses these extra fields. Check bLength to
79 uByte bLength; member in struct:__anon3582
85 uByte bLength; member in struct:usb_audio_control_descriptor
95 uByte bLength; member in struct:usb_audio_streaming_interface_v1_descriptor
104 uByte bLength; member in struct:usb_audio_streaming_interface_v2_descriptor
122 uByte bLength; member in struct:usb_audio_streaming_endpoint_descriptor
134 uByte bLength; member in struct:usb_audio_streaming_type1_v1_descriptor
150 uByte bLength; member in struct:usb_audio_streaming_type1_v2_descriptor
222 uByte bLength; member in struct:usb_audio_unit
230 uByte bLength; member in struct:usb_audio_input_v1_terminal
242 uByte bLength; member in struct:usb_audio_input_v2_terminal
263 uByte bLength; member in struct:usb_audio_output_v1_terminal
273 uByte bLength; member in struct:usb_audio_output_v2_terminal
292 uByte bLength; member in struct:usb_audio_mixer_unit
333 uByte bLength; member in struct:usb_audio_selector_unit
344 uByte bLength; member in struct:usb_audio_feature_v1_unit
354 uByte bLength; member in struct:usb_audio_feature_v2_unit
370 uByte bLength; member in struct:usb_audio_processing_unit
396 uByte bLength; member in struct:usb_audio_extension_unit
418 uByte bLength; member in struct:usb_audio_clksrc_unit
430 uByte bLength; member in struct:usb_audio_clksel_unit
442 uByte bLength; member in struct:usb_audio_clkmult_unit
[all...]
H A Dusbcdc.h56 uByte bLength; member in struct:__anon44
63 uByte bLength; member in struct:__anon45
73 uByte bLength; member in struct:__anon46
84 uByte bLength; member in struct:__anon47
92 uByte bLength; member in struct:__anon48
H A Dusbroothub.c97 p->bLength = 2 * strlen(s) + 2;
114 p->bLength = 4;
128 .bLength = sizeof(usb_device_descriptor_t),
146 .bLength = USB_CONFIG_DESCRIPTOR_SIZE,
156 .bLength = USB_INTERFACE_DESCRIPTOR_SIZE,
167 .bLength = USB_ENDPOINT_DESCRIPTOR_SIZE,
178 .bLength = sizeof(usb_device_descriptor_t),
195 .bLength = sizeof(usb_device_descriptor_t),
212 .bLength = USB_DEVICE_QUALIFIER_SIZE,
224 .bLength
[all...]
H A Duvideo.c533 KASSERT(ifdesc->bLength >= USB_INTERFACE_DESCRIPTOR_SIZE);
539 ifdesc->bLength,
555 ifdesc->bLength,
590 ifdesc->bLength,
803 desc->bLength < sizeof(*uvdesc))
831 desc->bLength < sizeof(*uvdesc))
910 if (desc->bLength < sizeof(*input))
915 if (desc->bLength < sizeof(*camera))
941 if (desc->bLength < sizeof(*selector))
949 if (desc->bLength < sizeo
[all...]
H A Dusbhid.h54 uByte bLength; member in struct:usb_hid_descriptor
H A Dusb.h213 uByte bLength; member in struct:__anon49
220 uByte bLength; member in struct:__anon50
243 uByte bLength; member in struct:__anon51
260 uByte bLength; member in struct:__anon52
273 uByte bLength; member in struct:__anon53
285 uByte bLength; member in struct:__anon54
314 uByte bLength; member in struct:__anon55
331 uByte bLength; member in struct:__anon56
340 uByte bLength; member in struct:__anon57
363 uByte bLength; member in struct:__anon58
380 uByte bLength; member in struct:__anon59
398 uByte bLength; member in struct:__anon60
407 uByte bLength; member in struct:__anon61
418 uByte bLength; member in struct:__anon62
440 uByte bLength; member in struct:__anon63
528 uByte bLength; member in struct:__anon65
542 uByte bLength; member in struct:__anon66
555 uByte bLength; member in struct:__anon67
568 uByte bLength; member in struct:__anon68
[all...]
H A Dusbdi_util.c106 confidx, d->bLength, d->bDescriptorType, 0);
134 confidx, d->bLength, d->bDescriptorType, 0);
208 if (sdesc->bLength > sizeof(*sdesc))
210 USETW(req.wLength, sdesc->bLength); /* the whole string */
216 if (actlen != sdesc->bLength) {
217 DPRINTF("expected %jd, got %jd", sdesc->bLength, actlen, 0, 0);
599 p = (char *)idesc + idesc->bLength;
602 for (; end - p >= sizeof(*hd); p += hd->bLength) {
604 if (hd->bLength < sizeof(*hd) || hd->bLength > en
[all...]
H A Dusb_subr.c334 DPRINTFN(4, "len=%jd type=%jd", desc->bLength,
337 if (desc->bLength < USB_DESCRIPTOR_SIZE)
339 if (desc->bLength > end - p)
341 p += desc->bLength;
345 if (desc->bLength < USB_INTERFACE_DESCRIPTOR_SIZE)
381 for (p = (char *)idesc + idesc->bLength; end - p >= sizeof(*edesc);) {
384 if (desc->bLength < USB_DESCRIPTOR_SIZE)
386 if (desc->bLength > end - p)
388 p += desc->bLength;
395 if (desc->bLength < USB_ENDPOINT_DESCRIPTOR_SIZ
[all...]
H A Dusbdi_util.h97 uByte bLength; member in struct:__anon1
H A Dusb_quirks.c60 /* bLength */ sizeof(desc_ep_pn533_in),
69 /* bLength */ sizeof(desc_ep_pn533_in),
78 /* bLength */ sizeof(desc_iface_pn533),
90 /* bLength */ sizeof(desc_conf_pn533),
147 if (ub->bLength > len) {
148 DPRINTF("%04jx/%04jx: short buf len = %jd, bLength = %jd",
150 type, ub->bLength);
154 memcpy(desc, ub, ub->bLength);
159 desc = (char *)desc + ub->bLength;
160 len -= ub->bLength;
[all...]
H A Dumidi.c75 uByte bLength; member in struct:__anon105
81 uByte bLength; member in struct:__anon106
90 uByte bLength; member in struct:__anon107
98 uByte bLength; member in struct:__anon108
108 #define NEXT_D(desc) TO_D((char *)(desc)+(desc)->bLength)
893 KASSERT(idesc->bLength >= sizeof(*idesc));
894 KASSERT(idesc->bLength <= end - (char *)idesc);
908 desc->bLength < sizeof(*desc) ||
909 desc->bLength > end - (char *)desc)
914 desc->bLength < sizeo
[all...]
H A Duirdavar.h66 uByte bLength; member in struct:__anon10
H A Duaudio.c649 *offsp, d->bLength, size,
654 *offsp += d->bLength;
1552 nchan = (d->v1.bLength - 7) / ctlsize;
1600 nchan = (d->v2.bLength - 6) / 4;
2106 if (*offsp + desc->bLength > size)
2116 DPRINTF("asid: bTerminalLink=%d wFormatTag=%d bmFormats=0x%x bLength=%d\n",
2118 UGETDW(asid->v2.bmFormats), asid->v1.bLength);
2143 DPRINTF("endpoint[0] bLength=%d bDescriptorType=%d "
2146 ed->bLength, ed->bDescriptorType, ed->bEndpointAddress,
2149 ed->bLength >
[all...]
H A Dmbim.h592 uByte bLength; member in struct:mbim_descriptor
H A Dusbdi.c986 for (n = 0; end - p >= sizeof(*desc); p += desc->bLength) {
988 if (desc->bLength < sizeof(*desc) || desc->bLength > end - p)
992 if (desc->bLength < sizeof(*idesc))
H A Dif_umb.c339 if (desc->bLength < sizeof(*ad))
348 if (desc->bLength < sizeof(*id))
358 if (desc->bLength < sizeof(*csdesc))
363 if (desc->bLength < sizeof(*ud))
369 if (desc->bLength < sizeof(*md))
H A Duirda.c269 sc->sc_irdadesc.bLength,
H A Dif_urndis.c947 if (desc->bLength < sizeof(*ad))
H A Duhidev.c239 DPRINTFN(10,("uhidev_attach: bLength=%d bDescriptorType=%d "
242 ed->bLength, ed->bDescriptorType,
H A Dxhci.c2843 dev->ud_ep0desc.bLength = USB_ENDPOINT_DESCRIPTOR_SIZE;
2997 dd->bMaxPacketSize, dd->bLength, dd->bNumConfigurations,
H A Duhso.c770 && desc->bLength == 3) {

Completed in 394 milliseconds