Lines Matching refs:w_length
1786 u16 w_length = le16_to_cpu(ctrl->wLength); in composite_setup() local
1791 if (w_length > USB_COMP_EP0_BUFSIZ) { in composite_setup()
1797 w_length = USB_COMP_EP0_BUFSIZ; in composite_setup()
1847 value = min(w_length, (u16) sizeof cdev->desc); in composite_setup()
1855 value = min_t(int, w_length, in composite_setup()
1866 value = min(w_length, (u16) value); in composite_setup()
1872 value = min(w_length, (u16) value); in composite_setup()
1878 value = min(w_length, (u16) value); in composite_setup()
1903 value = min_t(int, w_length, otg_desc_len); in composite_setup()
1933 value = min(w_length, (u16) 1); in composite_setup()
1979 value = min(w_length, (u16) 1); in composite_setup()
2110 w_length = min_t(u16, w_length, USB_COMP_EP0_OS_DESC_BUFSIZ); in composite_setup()
2111 memset(buf, 0, w_length); in composite_setup()
2124 value = w_length; in composite_setup()
2125 if (w_length > 0x10) { in composite_setup()
2127 value = min_t(u16, w_length, value); in composite_setup()
2144 value = w_length; in composite_setup()
2145 if (w_length > 0x0A) { in composite_setup()
2149 value = min_t(u16, w_length, value); in composite_setup()
2188 if (w_length < WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH + landing_page_length) in composite_setup()
2189 landing_page_length = w_length in composite_setup()
2206 w_value, w_index, w_length); in composite_setup()
2279 req->zero = value < w_length; in composite_setup()
2286 } else if (value == USB_GADGET_DELAYED_STATUS && w_length != 0) { in composite_setup()