Lines Matching refs:wLength
64 u16 wLength) in xhci_create_usb3_bos_desc() argument
82 memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength)); in xhci_create_usb3_bos_desc()
90 if (wLength < USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE) in xhci_create_usb3_bos_desc()
91 return wLength; in xhci_create_usb3_bos_desc()
111 if (wLength < desc_size) in xhci_create_usb3_bos_desc()
112 return wLength; in xhci_create_usb3_bos_desc()
120 if (wLength < desc_size + ssa_size) in xhci_create_usb3_bos_desc()
121 return wLength; in xhci_create_usb3_bos_desc()
864 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument
893 (wLength < USB_DT_SS_HUB_SIZE || in xhci_hub_control()
909 retval = xhci_create_usb3_bos_desc(xhci, buf, wLength); in xhci_hub_control()
935 if (hcd->speed < HCD_USB31 || wLength != 8) { in xhci_hub_control()