| /linux/drivers/usb/usbip/ |
| H A D | vudc_transfer.c | 64 unsigned int w_index; in handle_control_request() local 67 w_index = le16_to_cpu(setup->wIndex); in handle_control_request() 101 ep2 = vudc_find_endpoint(udc, w_index); in handle_control_request() 134 ep2 = vudc_find_endpoint(udc, w_index); in handle_control_request() 158 ep2 = vudc_find_endpoint(udc, w_index); in handle_control_request()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_acm.c | 338 u16 w_index = le16_to_cpu(ctrl->wIndex); in acm_setup() local 356 || w_index != acm->ctrl_id) in acm_setup() 367 if (w_index != acm->ctrl_id) in acm_setup() 378 if (w_index != acm->ctrl_id) in acm_setup() 392 if (w_index != acm->ctrl_id) in acm_setup() 403 w_value, w_index, w_length); in acm_setup() 411 w_value, w_index, w_length); in acm_setup()
|
| H A D | f_ncm.c | 685 u16 w_index = le16_to_cpu(ctrl->wIndex); in ncm_setup() local 700 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 724 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 735 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 746 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 761 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 773 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 795 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 807 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 835 w_value, w_index, w_length); in ncm_setup() [all …]
|
| H A D | f_rndis.c | 461 u16 w_index = le16_to_cpu(ctrl->wIndex); in rndis_setup() local 475 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 486 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 509 w_value, w_index, w_length); in rndis_setup() 516 w_value, w_index, w_length); in rndis_setup()
|
| H A D | f_ecm.c | 466 u16 w_index = le16_to_cpu(ctrl->wIndex); in ecm_setup() local 479 if (w_length != 0 || w_index != ecm->ctrl_id) in ecm_setup() 503 w_value, w_index, w_length); in ecm_setup() 510 w_value, w_index, w_length); in ecm_setup()
|
| H A D | f_sourcesink.c | 775 u16 w_index = le16_to_cpu(ctrl->wIndex); in sourcesink_setup() local 798 if (w_value || w_index) in sourcesink_setup() 808 if (w_value || w_index) in sourcesink_setup() 821 w_value, w_index, w_length); in sourcesink_setup() 828 w_value, w_index, w_length); in sourcesink_setup()
|
| H A D | f_eem.c | 175 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup() local 181 w_value, w_index, w_length); in eem_setup()
|
| H A D | f_printer.c | 973 u16 w_index = le16_to_cpu(ctrl->wIndex); in gprinter_req_match() local 986 w_index >>= 8; in gprinter_req_match() 1003 return w_index == dev->interface; in gprinter_req_match()
|
| H A D | f_mass_storage.c | 462 u16 w_index = le16_to_cpu(ctrl->wIndex); in fsg_setup() local 480 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup() 496 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup() 510 le16_to_cpu(ctrl->wValue), w_index, w_length); in fsg_setup()
|
| /linux/drivers/usb/gadget/ |
| H A D | composite.c | 1760 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup() local 1761 u8 intf = w_index & 0xFF; in composite_setup() 1847 w_index, w_value & 0xff); in composite_setup() 1933 value = f->set_alt(f, w_index, w_value); in composite_setup() 1953 value = f->get_alt ? f->get_alt(f, w_index) : 0; in composite_setup() 1961 (w_index == OTG_STS_SELECTOR)) { in composite_setup() 2022 value = f->func_suspend(f, w_index >> 8); in composite_setup() 2027 (w_index & USB_INTRF_FUNC_SUSPEND_RW)) in composite_setup() 2030 f->func_wakeup_armed = !!(w_index & in composite_setup() 2033 if (w_index & USB_INTRF_FUNC_SUSPEND_LP) { in composite_setup() [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | omap_udc.c | 1525 #define w_index le16_to_cpu(u.r.wIndex) in ep0_irq() macro 1565 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1567 if (w_index & USB_DIR_IN) in ep0_irq() 1594 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1595 if (w_index & USB_DIR_IN) in ep0_irq() 1626 if (!(w_index & 0xf)) in ep0_irq() 1630 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1631 if (w_index & USB_DIR_IN) in ep0_irq() 1659 VDBG("GET_STATUS, interface %d\n", w_index); in ep0_irq() 1676 w_value, w_index, w_length); in ep0_irq() [all …]
|
| H A D | m66592-udc.c | 969 u16 w_index = le16_to_cpu(ctrl->wIndex); in get_status() local 979 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status() 1012 u16 w_index = le16_to_cpu(ctrl->wIndex); in clear_feature() local 1014 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature() 1069 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local 1071 ep = m66592->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
|
| H A D | net2280.c | 2871 #define w_index le16_to_cpu(r.wIndex) in handle_stat0_irqs_superspeed() macro 2894 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 2954 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 3020 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 3044 w_value, w_index, w_length, in handle_stat0_irqs_superspeed() 3066 #undef w_index in handle_stat0_irqs_superspeed() 3178 #define w_index le16_to_cpu(u.r.wIndex) in handle_stat0_irqs() macro 3220 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() 3246 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() 3271 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() [all …]
|
| H A D | dummy_hcd.c | 1653 unsigned w_index; in handle_control_request() local 1656 w_index = le16_to_cpu(setup->wIndex); in handle_control_request() 1713 ep2 = find_endpoint(dum, w_index); in handle_control_request() 1761 ep2 = find_endpoint(dum, w_index); in handle_control_request() 1785 ep2 = find_endpoint(dum, w_index); in handle_control_request()
|