Lines Matching refs:wLength
56 u16 wLength) in xhci_create_usb3_bos_desc() argument
87 memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength)); in xhci_create_usb3_bos_desc()
95 if (wLength < USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE) in xhci_create_usb3_bos_desc()
96 return wLength; in xhci_create_usb3_bos_desc()
117 if (wLength < desc_size) in xhci_create_usb3_bos_desc()
118 return wLength; in xhci_create_usb3_bos_desc()
126 if (wLength < desc_size + ssa_size) in xhci_create_usb3_bos_desc()
127 return wLength; in xhci_create_usb3_bos_desc()
1091 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument
1124 (wLength < USB_DT_SS_HUB_SIZE || in xhci_hub_control()
1140 retval = xhci_create_usb3_bos_desc(xhci, buf, wLength); in xhci_hub_control()
1167 if (hcd->speed < HCD_USB31 || wLength != 8) { in xhci_hub_control()