w_index
u16 w_index = le16_to_cpu(ctrl->wIndex);
u8 intf = w_index & 0xFF;
w_index, w_value & 0xff);
value = f->set_alt(f, w_index, w_value);
value = f->get_alt ? f->get_alt(f, w_index) : 0;
(w_index == OTG_STS_SELECTOR)) {
value = f->func_suspend(f, w_index >> 8);
(w_index & USB_INTRF_FUNC_SUSPEND_RW))
f->func_wakeup_armed = !!(w_index &
if (w_index & USB_INTRF_FUNC_SUSPEND_LP) {
if (w_index != 0x4 || (w_value >> 8))
buf[6] = w_index;
if (w_index != 0x5 || (w_value >> 8))
buf[6] = w_index;
w_index == WEBUSB_GET_URL &&
w_value, w_index, w_length);
endp = ((w_index & 0x80) >> 3) | (w_index & 0x0f);
u16 w_index = le16_to_cpu(ctrl->wIndex);
|| w_index != acm->ctrl_id)
if (w_index != acm->ctrl_id)
if (w_index != acm->ctrl_id)
if (w_index != acm->ctrl_id)
w_value, w_index, w_length);
w_value, w_index, w_length);
u16 w_index = le16_to_cpu(ctrl->wIndex);
if (w_length != 0 || w_index != ecm->ctrl_id)
w_value, w_index, w_length);
w_value, w_index, w_length);
u16 w_index = le16_to_cpu(ctrl->wIndex);
w_value, w_index, w_length);
u16 w_index = le16_to_cpu(desc->wIndex);
switch (w_index) {
pr_vdebug("unsupported os descriptor type: %d", w_index);
u16 w_index = le16_to_cpu(ctrl->wIndex);
if (w_index != fsg->interface_number || w_value != 0 ||
if (w_index != fsg->interface_number || w_value != 0 ||
le16_to_cpu(ctrl->wValue), w_index, w_length);
u16 w_index = le16_to_cpu(ctrl->wIndex);
if (w_length != 0 || w_index != ncm->ctrl_id)
if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id)
if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id)
if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id)
if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id)
if (w_length != 0 || w_index != ncm->ctrl_id)
if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id)
if (w_length != 0 || w_index != ncm->ctrl_id)
w_value, w_index, w_length);
w_value, w_index, w_length);
u16 w_index = le16_to_cpu(ctrl->wIndex);
w_index >>= 8;
return w_index == dev->interface;
u16 w_index = le16_to_cpu(ctrl->wIndex);
if (w_value || w_index != rndis->ctrl_id)
if (w_value || w_index != rndis->ctrl_id)
w_value, w_index, w_length);
w_value, w_index, w_length);
u16 w_index = le16_to_cpu(ctrl->wIndex);
if (w_value || w_index)
if (w_value || w_index)
w_value, w_index, w_length);
w_value, w_index, w_length);
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(ctrl->wIndex);
w_value, w_index, w_length);
w_value, w_index, w_length);
u16 w_index = le16_to_cpu(ctrl->wIndex);
w_value, w_index, w_length);
w_value, w_index, w_length);
u16 w_index, w_value;
w_index = unit_id << 8 | uac2->ac_intf;
msg->wIndex = cpu_to_le16(w_index);
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 entity_id = (w_index >> 8) & 0xff;
u8 clock_id = w_index >> 8;
u16 w_index = le16_to_cpu(cr->wIndex);
u8 intf = w_index & 0xff;
w_value, w_index, w_length);
tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
if ((w_index & USB_DIR_IN)) {
tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
if ((w_index & USB_DIR_IN)) {
tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
if ((w_index & USB_DIR_IN)) {
unsigned w_index;
w_index = le16_to_cpu(setup->wIndex);
ep2 = find_endpoint(dum, w_index);
ep2 = find_endpoint(dum, w_index);
ep2 = find_endpoint(dum, w_index);
u16 w_index = le16_to_cpu(ctrl->wIndex);
ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
u16 w_index = le16_to_cpu(ctrl->wIndex);
ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
u16 w_index = le16_to_cpu(ctrl->wIndex);
ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
e = get_ep_by_addr(dev, w_index);
e = get_ep_by_addr(dev, w_index);
e = get_ep_by_addr(dev, w_index);
w_value, w_index, w_length,
e = get_ep_by_addr(dev, w_index);
e = get_ep_by_addr(dev, w_index);
e = get_ep_by_addr(dev, w_index);
w_value, w_index, w_length,
ep = &udc->ep[w_index & 0xf];
if (w_index & USB_DIR_IN)
ep = &udc->ep[w_index & 0xf];
if (w_index & USB_DIR_IN)
if (!(w_index & 0xf))
ep = &udc->ep[w_index & 0xf];
if (w_index & USB_DIR_IN)
VDBG("GET_STATUS, interface %d\n", w_index);
w_value, w_index, w_length);
u16 w_index = le16_to_cpu(ctrl->wIndex);
ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
u16 w_index = le16_to_cpu(ctrl->wIndex);
ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
u16 w_index = le16_to_cpu(ctrl->wIndex);
ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK];
ep2 = vudc_find_endpoint(udc, w_index);
ep2 = vudc_find_endpoint(udc, w_index);
ep2 = vudc_find_endpoint(udc, w_index);
unsigned int w_index;
w_index = le16_to_cpu(setup->wIndex);