Searched refs:w_value (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | composite.c | 231 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc() argument 235 u8 type = w_value >> 8; in config_desc() 250 w_value &= 0xff; in config_desc() 266 if (w_value == 0) in config_desc() 268 w_value--; in config_desc() 798 u16 w_value = le16_to_cpu(ctrl->wValue); in composite_setup() local 829 switch (w_value >> 8) { in composite_setup() 871 value = config_desc(cdev, w_value); in composite_setup() 877 w_index, w_value & 0xff); in composite_setup() 920 value = set_config(cdev, ctrl, w_value); in composite_setup() [all …]
|
| H A D | f_dfu.c | 319 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_idle() local 331 f_dfu->blk_seq_num = w_value; in state_dfu_idle() 422 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_dnload_idle() local 429 f_dfu->blk_seq_num = w_value; in state_dfu_dnload_idle() 509 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_upload_idle() local 516 f_dfu->blk_seq_num = w_value; in state_dfu_upload_idle() 591 u16 w_value = le16_to_cpu(ctrl->wValue); in dfu_handle() local 595 debug("w_value: 0x%x len: 0x%x\n", w_value, len); in dfu_handle() 601 (w_value >> 8) == DFU_DT_FUNC) { in dfu_handle()
|
| H A D | at91_udc.c | 885 #define w_value le16_to_cpu(pkt.r.wValue) in handle_setup() macro 890 w_value, w_index, w_length); in handle_setup() 905 udc->addr = w_value; in handle_setup() 939 if (w_value != USB_DEVICE_REMOTE_WAKEUP) in handle_setup() 947 if (w_value != USB_DEVICE_REMOTE_WAKEUP) in handle_setup() 1002 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup() 1021 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup() 1044 #undef w_value in handle_setup()
|
| H A D | f_sdp.c | 421 u16 w_value = le16_to_cpu(ctrl->wValue); in sdp_setup() local 425 debug("w_value: 0x%04x len: 0x%04x\n", w_value, len); in sdp_setup() 439 int report = w_value & HID_REPORT_ID_MASK; in sdp_setup()
|
| H A D | f_mass_storage.c | 538 u16 w_value = get_unaligned_le16(&ctrl->wValue); in fsg_setup() local 550 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup() 563 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup()
|