Lines Matching refs:bLength
172 USETW(req.wLength, sdesc->bLength); /* the whole string */ in usbd_get_string_desc()
178 if (actlen != sdesc->bLength) { in usbd_get_string_desc()
180 sdesc->bLength, actlen)); in usbd_get_string_desc()
423 d->bLength, d->bDescriptorType)); in usbd_find_idesc()
424 if (d->bLength == 0) /* bad descriptor */ in usbd_find_idesc()
426 p += d->bLength; in usbd_find_idesc()
458 for (p = (char *)d + d->bLength; p < end; ) { in usbd_find_edesc()
460 if (e->bLength == 0) /* bad descriptor */ in usbd_find_edesc()
462 p += e->bLength; in usbd_find_edesc()
501 p = (char *)ifc->idesc + ifc->idesc->bLength; in usbd_fill_iface_data()
506 for (; p < end; p += ed->bLength) { in usbd_fill_iface_data()
509 p, end, ed->bLength, ed->bDescriptorType)); in usbd_fill_iface_data()
510 if (p + ed->bLength <= end && ed->bLength != 0 && in usbd_fill_iface_data()
513 if (ed->bLength == 0 || in usbd_fill_iface_data()
519 ed->bLength == 0 ? "0 length" : in usbd_fill_iface_data()
549 p += ed->bLength; in usbd_fill_iface_data()
1030 dev->def_ep_desc.bLength = USB_ENDPOINT_DESCRIPTOR_SIZE; in usbd_new_device()
1107 dd->bDeviceProtocol, dd->bMaxPacketSize, dd->bLength, in usbd_new_device()
1118 if (dd->bLength < USB_DEVICE_DESCRIPTOR_SIZE) { in usbd_new_device()
1119 DPRINTFN(-1,("usbd_new_device: bad length %d\n", dd->bLength)); in usbd_new_device()