Home
last modified time | relevance | path

Searched refs:w_index (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dcomposite.c797 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup() local
800 u8 intf = w_index & 0xFF; in composite_setup()
877 w_index, w_value & 0xff); in composite_setup()
939 if (!cdev->config || w_index >= MAX_CONFIG_INTERFACES) in composite_setup()
946 value = f->set_alt(f, w_index, w_value); in composite_setup()
951 if (!cdev->config || w_index >= MAX_CONFIG_INTERFACES) in composite_setup()
957 value = f->get_alt ? f->get_alt(f, w_index) : 0; in composite_setup()
967 w_value, w_index, w_length); in composite_setup()
987 endp = ((w_index & 0x80) >> 3) | (w_index & 0x0f); in composite_setup()
H A Dat91_udc.c884 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup() macro
890 w_value, w_index, w_length); in handle_setup()
977 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
983 if ((w_index & USB_DIR_IN)) { in handle_setup()
1000 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1006 if ((w_index & USB_DIR_IN)) { in handle_setup()
1019 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1027 if ((w_index & USB_DIR_IN)) { in handle_setup()
1045 #undef w_index in handle_setup()
H A Df_mass_storage.c537 u16 w_index = get_unaligned_le16(&ctrl->wIndex); 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()
577 get_unaligned_le16(&ctrl->wValue), w_index, w_length); in fsg_setup()