Home
last modified time | relevance | path

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

/linux/drivers/usb/usbip/
A Dvudc_transfer.c64 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/
A Df_uac1.c406 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur() local
408 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_cur()
457 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_min() local
459 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_min()
504 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_max() local
506 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_max()
553 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_res()
601 u8 entity_id = (w_index >> 8) & 0xff; in out_rq_cur_complete()
655 u8 entity_id = (w_index >> 8) & 0xff; in out_rq_cur()
801 w_value, w_index, w_length); in f_audio_setup()
[all …]
A Df_ncm.c690 u16 w_index = le16_to_cpu(ctrl->wIndex); in ncm_setup() local
705 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
729 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
740 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
751 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
766 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
778 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
800 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup()
812 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup()
840 w_value, w_index, w_length); in ncm_setup()
[all …]
A Df_acm.c342 u16 w_index = le16_to_cpu(ctrl->wIndex); in acm_setup() local
360 || w_index != acm->ctrl_id) in acm_setup()
371 if (w_index != acm->ctrl_id) in acm_setup()
382 if (w_index != acm->ctrl_id) in acm_setup()
399 w_value, w_index, w_length); in acm_setup()
407 w_value, w_index, w_length); in acm_setup()
A Df_uac2.c1273 u16 w_index, w_value; in afunc_notify() local
1301 msg->wIndex = cpu_to_le16(w_index); in afunc_notify()
1421 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur() local
1423 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_cur()
1498 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_range() local
1500 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_range()
1591 u16 w_index = le16_to_cpu(cr->wIndex); in out_rq_cur_complete() local
1593 u8 entity_id = (w_index >> 8) & 0xff; in out_rq_cur_complete()
1639 u16 w_index = le16_to_cpu(cr->wIndex); in out_rq_cur() local
1641 u8 entity_id = (w_index >> 8) & 0xff; in out_rq_cur()
[all …]
A Df_rndis.c471 u16 w_index = le16_to_cpu(ctrl->wIndex); in rndis_setup() local
485 if (w_value || w_index != rndis->ctrl_id) in rndis_setup()
496 if (w_value || w_index != rndis->ctrl_id) in rndis_setup()
519 w_value, w_index, w_length); in rndis_setup()
526 w_value, w_index, w_length); in rndis_setup()
A Df_ecm.c474 u16 w_index = le16_to_cpu(ctrl->wIndex); in ecm_setup() local
487 if (w_length != 0 || w_index != ecm->ctrl_id) in ecm_setup()
511 w_value, w_index, w_length); in ecm_setup()
518 w_value, w_index, w_length); in ecm_setup()
A Df_sourcesink.c769 u16 w_index = le16_to_cpu(ctrl->wIndex); in sourcesink_setup() local
792 if (w_value || w_index) in sourcesink_setup()
802 if (w_value || w_index) in sourcesink_setup()
815 w_value, w_index, w_length); in sourcesink_setup()
822 w_value, w_index, w_length); in sourcesink_setup()
A Df_eem.c174 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup() local
180 w_value, w_index, w_length); in eem_setup()
A Df_uac1_legacy.c528 u16 w_index = le16_to_cpu(ctrl->wIndex); in f_audio_setup() local
555 w_value, w_index, w_length); in f_audio_setup()
562 w_value, w_index, w_length); in f_audio_setup()
A Df_printer.c943 u16 w_index = le16_to_cpu(ctrl->wIndex); in gprinter_req_match() local
956 w_index >>= 8; in gprinter_req_match()
973 return w_index == dev->interface; in gprinter_req_match()
A Df_mass_storage.c460 u16 w_index = le16_to_cpu(ctrl->wIndex); in fsg_setup() local
478 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup()
494 if (w_index != fsg->interface_number || w_value != 0 || in fsg_setup()
508 le16_to_cpu(ctrl->wValue), w_index, w_length); in fsg_setup()
A Df_fs.c2246 u16 w_index = le16_to_cpu(desc->wIndex); in __ffs_do_os_desc_header() local
2253 switch (w_index) { in __ffs_do_os_desc_header()
2261 pr_vdebug("unsupported os descriptor type: %d", w_index); in __ffs_do_os_desc_header()
/linux/drivers/usb/gadget/
A Dcomposite.c1675 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup() local
1676 u8 intf = w_index & 0xFF; in composite_setup()
1761 w_index, w_value & 0xff); in composite_setup()
1846 value = f->set_alt(f, w_index, w_value); in composite_setup()
1874 (w_index == OTG_STS_SELECTOR)) { in composite_setup()
1959 if (w_index != 0x4 || (w_value >> 8)) in composite_setup()
1961 buf[6] = w_index; in composite_setup()
1975 if (w_index != 0x5 || (w_value >> 8)) in composite_setup()
1978 buf[6] = w_index; in composite_setup()
2001 w_value, w_index, w_length); in composite_setup()
[all …]
/linux/drivers/usb/gadget/udc/
A Dat91_udc.c1080 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup() macro
1086 w_value, w_index, w_length); in handle_setup()
1173 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1179 if ((w_index & USB_DIR_IN)) { in handle_setup()
1196 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1202 if ((w_index & USB_DIR_IN)) { in handle_setup()
1215 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup()
1223 if ((w_index & USB_DIR_IN)) { in handle_setup()
1241 #undef w_index in handle_setup()
A Domap_udc.c1525 #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 …]
A Dm66592-udc.c969 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()
A Dnet2280.c2877 #define w_index le16_to_cpu(r.wIndex) in handle_stat0_irqs_superspeed() macro
2900 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed()
2960 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed()
3026 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed()
3050 w_value, w_index, w_length, in handle_stat0_irqs_superspeed()
3072 #undef w_index in handle_stat0_irqs_superspeed()
3226 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs()
3252 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs()
3277 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs()
3295 w_value, w_index, w_length, in handle_stat0_irqs()
[all …]
A Dr8a66597-udc.c1166 u16 w_index = le16_to_cpu(ctrl->wIndex); in get_status() local
1176 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in get_status()
1210 u16 w_index = le16_to_cpu(ctrl->wIndex); in clear_feature() local
1212 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in clear_feature()
1270 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local
1272 ep = r8a66597->epaddr2ep[w_index & USB_ENDPOINT_NUMBER_MASK]; in set_feature()
A Dfusb300_udc.c689 u16 w_index = ctrl->wIndex; in get_status() local
699 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in get_status()
735 u16 w_index = le16_to_cpu(ctrl->wIndex); in set_feature() local
737 ep = w_index & USB_ENDPOINT_NUMBER_MASK; in set_feature()
A Ddummy_hcd.c1619 unsigned w_index; in handle_control_request() local
1622 w_index = le16_to_cpu(setup->wIndex); in handle_control_request()
1679 ep2 = find_endpoint(dum, w_index); in handle_control_request()
1727 ep2 = find_endpoint(dum, w_index); in handle_control_request()
1751 ep2 = find_endpoint(dum, w_index); in handle_control_request()

Completed in 65 milliseconds