Searched refs:w_length (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | composite.c | 796 u16 w_length = le16_to_cpu(ctrl->wLength); in composite_setup() local 856 value = min(w_length, (u16) sizeof cdev->desc); in composite_setup() 863 value = min_t(int, w_length, in composite_setup() 873 value = min(w_length, (u16) value); in composite_setup() 879 value = min(w_length, (u16) value); in composite_setup() 892 value = min(w_length, (u16) value); in composite_setup() 929 value = min(w_length, (u16) 1); in composite_setup() 961 value = min(w_length, (u16) 1); in composite_setup() 967 w_value, w_index, w_length); in composite_setup() 1032 req->zero = value < w_length; in composite_setup()
|
| H A D | at91_udc.c | 886 #define w_length le16_to_cpu(pkt.r.wLength) in handle_setup() macro 890 w_value, w_index, w_length); in handle_setup() 1046 #undef w_length in handle_setup()
|
| H A D | f_mass_storage.c | 539 u16 w_length = get_unaligned_le16(&ctrl->wLength); in fsg_setup() local 569 req->length = min((u16)1, w_length); in fsg_setup() 577 get_unaligned_le16(&ctrl->wValue), w_index, w_length); in fsg_setup()
|