Lines Matching refs:w_length
1336 u16 w_length = le16_to_cpu(ctrl->wLength); in gadgetfs_setup() local
1338 if (w_length > RBUF_SIZE) { in gadgetfs_setup()
1344 w_length = RBUF_SIZE; in gadgetfs_setup()
1386 value = min (w_length, (u16) sizeof *dev->dev); in gadgetfs_setup()
1393 value = min (w_length, (u16) in gadgetfs_setup()
1403 value = min (w_length, (u16) value); in gadgetfs_setup()
1466 value = min (w_length, (u16) 1); in gadgetfs_setup()
1475 w_value, le16_to_cpu(ctrl->wIndex), w_length); in gadgetfs_setup()
1483 dev->setup_wLength = w_length; in gadgetfs_setup()
1488 if (unlikely (!dev->setup_in && w_length)) { in gadgetfs_setup()
1490 w_length); in gadgetfs_setup()
1521 req->zero = value < w_length; in gadgetfs_setup()