Lines Matching refs:wLength
68 u16 wLength) in xhci_create_usb3_bos_desc() argument
90 memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength)); in xhci_create_usb3_bos_desc()
98 if (wLength < USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE) in xhci_create_usb3_bos_desc()
99 return wLength; in xhci_create_usb3_bos_desc()
120 if (wLength < desc_size) in xhci_create_usb3_bos_desc()
121 return wLength; in xhci_create_usb3_bos_desc()
129 if (wLength < desc_size + ssa_size) in xhci_create_usb3_bos_desc()
130 return wLength; in xhci_create_usb3_bos_desc()
906 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument
935 (wLength < USB_DT_SS_HUB_SIZE || in xhci_hub_control()
951 retval = xhci_create_usb3_bos_desc(xhci, buf, wLength); in xhci_hub_control()
977 if (hcd->speed < HCD_USB31 || wLength != 8) { in xhci_hub_control()