Lines Matching refs:w_length
1466 u16 w_length = le16_to_cpu(ctrl->wLength); in composite_setup() local
1511 value = min(w_length, (u16) sizeof cdev->desc); in composite_setup()
1519 value = min_t(int, w_length, in composite_setup()
1530 value = min(w_length, (u16) value); in composite_setup()
1536 value = min(w_length, (u16) value); in composite_setup()
1541 value = min(w_length, (u16) value); in composite_setup()
1566 value = min_t(int, w_length, otg_desc_len); in composite_setup()
1596 value = min(w_length, (u16) 1); in composite_setup()
1635 value = min(w_length, (u16) 1); in composite_setup()
1711 memset(buf, 0, w_length); in composite_setup()
1718 if (w_length == 0x10) { in composite_setup()
1725 value = w_length; in composite_setup()
1735 value = w_length; in composite_setup()
1743 if (w_length == 0x0A) { in composite_setup()
1751 value = w_length; in composite_setup()
1765 value = w_length; in composite_setup()
1771 req->zero = value < w_length; in composite_setup()
1784 w_value, w_index, w_length); in composite_setup()
1850 req->zero = value < w_length; in composite_setup()
1857 } else if (value == USB_GADGET_DELAYED_STATUS && w_length != 0) { in composite_setup()