Lines Matching refs:bLength
135 USETW(req.wLength, sdesc->bLength); /* the whole string */ in usbd_get_string_desc()
141 if (actlen != sdesc->bLength) { in usbd_get_string_desc()
143 sdesc->bLength, actlen)); in usbd_get_string_desc()
421 d->bLength, d->bDescriptorType)); in usbd_find_idesc()
422 if (d->bLength == 0) /* bad descriptor */ in usbd_find_idesc()
424 p += d->bLength; in usbd_find_idesc()
456 for (p = (char *)d + d->bLength; p < end; ) { in usbd_find_edesc()
458 if (e->bLength == 0) /* bad descriptor */ in usbd_find_edesc()
460 p += e->bLength; in usbd_find_edesc()
520 p = (char *)ifc->idesc + ifc->idesc->bLength; in usbd_parse_idesc()
524 for (; p < end; p += ed->bLength) { in usbd_parse_idesc()
525 if (p + ed->bLength <= end && ed->bLength != 0 && in usbd_parse_idesc()
529 if (ed->bLength == 0 || in usbd_parse_idesc()
562 p += ed->bLength; in usbd_parse_idesc()
1053 dev->def_ep_desc.bLength = USB_ENDPOINT_DESCRIPTOR_SIZE; in usbd_new_device()
1147 dd->bDeviceProtocol, dd->bMaxPacketSize, dd->bLength, in usbd_new_device()
1151 (dd->bLength < USB_DEVICE_DESCRIPTOR_SIZE)) { in usbd_new_device()