w_index 1590 drivers/usb/gadget/composite.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 1591 drivers/usb/gadget/composite.c u8 intf = w_index & 0xFF; w_index 1664 drivers/usb/gadget/composite.c w_index, w_value & 0xff); w_index 1749 drivers/usb/gadget/composite.c value = f->set_alt(f, w_index, w_value); w_index 1769 drivers/usb/gadget/composite.c value = f->get_alt ? f->get_alt(f, w_index) : 0; w_index 1777 drivers/usb/gadget/composite.c (w_index == OTG_STS_SELECTOR)) { w_index 1829 drivers/usb/gadget/composite.c value = f->func_suspend(f, w_index >> 8); w_index 1862 drivers/usb/gadget/composite.c if (w_index != 0x4 || (w_value >> 8)) w_index 1864 drivers/usb/gadget/composite.c buf[6] = w_index; w_index 1878 drivers/usb/gadget/composite.c if (w_index != 0x5 || (w_value >> 8)) w_index 1881 drivers/usb/gadget/composite.c buf[6] = w_index; w_index 1904 drivers/usb/gadget/composite.c w_value, w_index, w_length); w_index 1935 drivers/usb/gadget/composite.c endp = ((w_index & 0x80) >> 3) | (w_index & 0x0f); w_index 342 drivers/usb/gadget/function/f_acm.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 360 drivers/usb/gadget/function/f_acm.c || w_index != acm->ctrl_id) w_index 371 drivers/usb/gadget/function/f_acm.c if (w_index != acm->ctrl_id) w_index 382 drivers/usb/gadget/function/f_acm.c if (w_index != acm->ctrl_id) w_index 399 drivers/usb/gadget/function/f_acm.c w_value, w_index, w_length); w_index 407 drivers/usb/gadget/function/f_acm.c w_value, w_index, w_length); w_index 474 drivers/usb/gadget/function/f_ecm.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 487 drivers/usb/gadget/function/f_ecm.c if (w_length != 0 || w_index != ecm->ctrl_id) w_index 511 drivers/usb/gadget/function/f_ecm.c w_value, w_index, w_length); w_index 518 drivers/usb/gadget/function/f_ecm.c w_value, w_index, w_length); w_index 169 drivers/usb/gadget/function/f_eem.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 175 drivers/usb/gadget/function/f_eem.c w_value, w_index, w_length); w_index 2261 drivers/usb/gadget/function/f_fs.c u16 w_index = le16_to_cpu(desc->wIndex); w_index 2268 drivers/usb/gadget/function/f_fs.c switch (w_index) { w_index 2276 drivers/usb/gadget/function/f_fs.c pr_vdebug("unsupported os descriptor type: %d", w_index); w_index 491 drivers/usb/gadget/function/f_mass_storage.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 509 drivers/usb/gadget/function/f_mass_storage.c if (w_index != fsg->interface_number || w_value != 0 || w_index 525 drivers/usb/gadget/function/f_mass_storage.c if (w_index != fsg->interface_number || w_value != 0 || w_index 539 drivers/usb/gadget/function/f_mass_storage.c le16_to_cpu(ctrl->wValue), w_index, w_length); w_index 690 drivers/usb/gadget/function/f_ncm.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 705 drivers/usb/gadget/function/f_ncm.c if (w_length != 0 || w_index != ncm->ctrl_id) w_index 729 drivers/usb/gadget/function/f_ncm.c if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) w_index 740 drivers/usb/gadget/function/f_ncm.c if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) w_index 751 drivers/usb/gadget/function/f_ncm.c if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) w_index 766 drivers/usb/gadget/function/f_ncm.c if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) w_index 778 drivers/usb/gadget/function/f_ncm.c if (w_length != 0 || w_index != ncm->ctrl_id) w_index 800 drivers/usb/gadget/function/f_ncm.c if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) w_index 812 drivers/usb/gadget/function/f_ncm.c if (w_length != 0 || w_index != ncm->ctrl_id) w_index 840 drivers/usb/gadget/function/f_ncm.c w_value, w_index, w_length); w_index 849 drivers/usb/gadget/function/f_ncm.c w_value, w_index, w_length); w_index 896 drivers/usb/gadget/function/f_printer.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 909 drivers/usb/gadget/function/f_printer.c w_index >>= 8; w_index 926 drivers/usb/gadget/function/f_printer.c return w_index == dev->interface; w_index 469 drivers/usb/gadget/function/f_rndis.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 483 drivers/usb/gadget/function/f_rndis.c if (w_value || w_index != rndis->ctrl_id) w_index 494 drivers/usb/gadget/function/f_rndis.c if (w_value || w_index != rndis->ctrl_id) w_index 517 drivers/usb/gadget/function/f_rndis.c w_value, w_index, w_length); w_index 524 drivers/usb/gadget/function/f_rndis.c w_value, w_index, w_length); w_index 767 drivers/usb/gadget/function/f_sourcesink.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 790 drivers/usb/gadget/function/f_sourcesink.c if (w_value || w_index) w_index 800 drivers/usb/gadget/function/f_sourcesink.c if (w_value || w_index) w_index 813 drivers/usb/gadget/function/f_sourcesink.c w_value, w_index, w_length); w_index 820 drivers/usb/gadget/function/f_sourcesink.c w_value, w_index, w_length); w_index 391 drivers/usb/gadget/function/f_uac1.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 410 drivers/usb/gadget/function/f_uac1.c w_value, w_index, w_length); w_index 417 drivers/usb/gadget/function/f_uac1.c w_value, w_index, w_length); w_index 526 drivers/usb/gadget/function/f_uac1_legacy.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 553 drivers/usb/gadget/function/f_uac1_legacy.c w_value, w_index, w_length); w_index 560 drivers/usb/gadget/function/f_uac1_legacy.c w_value, w_index, w_length); w_index 818 drivers/usb/gadget/function/f_uac2.c u16 w_index = le16_to_cpu(cr->wIndex); w_index 820 drivers/usb/gadget/function/f_uac2.c u8 entity_id = (w_index >> 8) & 0xff; w_index 859 drivers/usb/gadget/function/f_uac2.c u16 w_index = le16_to_cpu(cr->wIndex); w_index 861 drivers/usb/gadget/function/f_uac2.c u8 entity_id = (w_index >> 8) & 0xff; w_index 923 drivers/usb/gadget/function/f_uac2.c u16 w_index = le16_to_cpu(cr->wIndex); w_index 924 drivers/usb/gadget/function/f_uac2.c u8 intf = w_index & 0xff; w_index 1086 drivers/usb/gadget/udc/at91_udc.c w_value, w_index, w_length); w_index 1173 drivers/usb/gadget/udc/at91_udc.c tmp = w_index & USB_ENDPOINT_NUMBER_MASK; w_index 1179 drivers/usb/gadget/udc/at91_udc.c if ((w_index & USB_DIR_IN)) { w_index 1196 drivers/usb/gadget/udc/at91_udc.c tmp = w_index & USB_ENDPOINT_NUMBER_MASK; w_index 1202 drivers/usb/gadget/udc/at91_udc.c if ((w_index & USB_DIR_IN)) { w_index 1215 drivers/usb/gadget/udc/at91_udc.c tmp = w_index & USB_ENDPOINT_NUMBER_MASK; w_index 1223 drivers/usb/gadget/udc/at91_udc.c if ((w_index & USB_DIR_IN)) { w_index 1600 drivers/usb/gadget/udc/dummy_hcd.c unsigned w_index; w_index 1603 drivers/usb/gadget/udc/dummy_hcd.c w_index = le16_to_cpu(setup->wIndex); w_index 1660 drivers/usb/gadget/udc/dummy_hcd.c ep2 = find_endpoint(dum, w_index); w_index 1708 drivers/usb/gadget/udc/dummy_hcd.c ep2 = find_endpoint(dum, w_index); w_index 1732 drivers/usb/gadget/udc/dummy_hcd.c ep2 = find_endpoint(dum, w_index); w_index 689 drivers/usb/gadget/udc/fusb300_udc.c u16 w_index = ctrl->wIndex; w_index 699 drivers/usb/gadget/udc/fusb300_udc.c ep = w_index & USB_ENDPOINT_NUMBER_MASK; w_index 735 drivers/usb/gadget/udc/fusb300_udc.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 737 drivers/usb/gadget/udc/fusb300_udc.c ep = w_index & USB_ENDPOINT_NUMBER_MASK; w_index 969 drivers/usb/gadget/udc/m66592-udc.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 979 drivers/usb/gadget/udc/m66592-udc.c ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; w_index 1012 drivers/usb/gadget/udc/m66592-udc.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 1014 drivers/usb/gadget/udc/m66592-udc.c ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; w_index 1069 drivers/usb/gadget/udc/m66592-udc.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 1071 drivers/usb/gadget/udc/m66592-udc.c ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; w_index 2893 drivers/usb/gadget/udc/net2280.c e = get_ep_by_addr(dev, w_index); w_index 2953 drivers/usb/gadget/udc/net2280.c e = get_ep_by_addr(dev, w_index); w_index 3019 drivers/usb/gadget/udc/net2280.c e = get_ep_by_addr(dev, w_index); w_index 3043 drivers/usb/gadget/udc/net2280.c w_value, w_index, w_length, w_index 3217 drivers/usb/gadget/udc/net2280.c e = get_ep_by_addr(dev, w_index); w_index 3243 drivers/usb/gadget/udc/net2280.c e = get_ep_by_addr(dev, w_index); w_index 3268 drivers/usb/gadget/udc/net2280.c e = get_ep_by_addr(dev, w_index); w_index 3286 drivers/usb/gadget/udc/net2280.c w_value, w_index, w_length, w_index 1565 drivers/usb/gadget/udc/omap_udc.c ep = &udc->ep[w_index & 0xf]; w_index 1567 drivers/usb/gadget/udc/omap_udc.c if (w_index & USB_DIR_IN) w_index 1594 drivers/usb/gadget/udc/omap_udc.c ep = &udc->ep[w_index & 0xf]; w_index 1595 drivers/usb/gadget/udc/omap_udc.c if (w_index & USB_DIR_IN) w_index 1626 drivers/usb/gadget/udc/omap_udc.c if (!(w_index & 0xf)) w_index 1630 drivers/usb/gadget/udc/omap_udc.c ep = &udc->ep[w_index & 0xf]; w_index 1631 drivers/usb/gadget/udc/omap_udc.c if (w_index & USB_DIR_IN) w_index 1659 drivers/usb/gadget/udc/omap_udc.c VDBG("GET_STATUS, interface %d\n", w_index); w_index 1676 drivers/usb/gadget/udc/omap_udc.c w_value, w_index, w_length); w_index 1166 drivers/usb/gadget/udc/r8a66597-udc.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 1176 drivers/usb/gadget/udc/r8a66597-udc.c ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; w_index 1210 drivers/usb/gadget/udc/r8a66597-udc.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 1212 drivers/usb/gadget/udc/r8a66597-udc.c ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; w_index 1270 drivers/usb/gadget/udc/r8a66597-udc.c u16 w_index = le16_to_cpu(ctrl->wIndex); w_index 1272 drivers/usb/gadget/udc/r8a66597-udc.c ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; w_index 64 drivers/usb/usbip/vudc_transfer.c unsigned int w_index; w_index 67 drivers/usb/usbip/vudc_transfer.c w_index = le16_to_cpu(setup->wIndex); w_index 101 drivers/usb/usbip/vudc_transfer.c ep2 = vudc_find_endpoint(udc, w_index); w_index 134 drivers/usb/usbip/vudc_transfer.c ep2 = vudc_find_endpoint(udc, w_index); w_index 158 drivers/usb/usbip/vudc_transfer.c ep2 = vudc_find_endpoint(udc, w_index);