/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_acm.c | 334 u16 w_index = le16_to_cpu(ctrl->wIndex); in acm_setup() local 352 || w_index != acm->ctrl_id) in acm_setup() 363 if (w_index != acm->ctrl_id) in acm_setup() 374 if (w_index != acm->ctrl_id) in acm_setup() 388 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()
|
H A D | f_ncm.c | 673 u16 w_index = le16_to_cpu(ctrl->wIndex); in ncm_setup() local 688 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 712 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 723 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 734 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 749 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 761 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 783 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 795 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 823 w_value, w_index, w_lengt in ncm_setup() [all...] |
H A D | f_uac1.c | 436 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur() local 438 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_cur() 487 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_min() local 489 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_min() 534 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_max() local 536 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_max() 581 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_res() local 583 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_res() 629 u16 w_index = le16_to_cpu(cr->wIndex); in out_rq_cur_complete() local 631 u8 entity_id = (w_index >> in out_rq_cur_complete() 683 u16 w_index = le16_to_cpu(cr->wIndex); out_rq_cur() local 832 u16 w_index = le16_to_cpu(ctrl->wIndex); f_audio_setup() local [all...] |
H A D | f_uac2.c | 1364 u16 w_index, w_value; in afunc_notify() local 1387 w_index = unit_id << 8 | uac2->ac_intf; in afunc_notify() 1392 msg->wIndex = cpu_to_le16(w_index); in afunc_notify() 1520 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur() local 1522 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_cur() 1597 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_range() local 1599 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_range() 1720 u16 w_index = le16_to_cpu(cr->wIndex); in out_rq_cur_complete() local 1722 u8 entity_id = (w_index >> 8) & 0xff; in out_rq_cur_complete() 1769 u16 w_index in out_rq_cur() local 1804 u16 w_index = le16_to_cpu(cr->wIndex); setup_rq_inf() local [all...] |
H A D | f_rndis.c | 458 u16 w_index = le16_to_cpu(ctrl->wIndex); in rndis_setup() local 472 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 483 if (w_value || w_index != rndis->ctrl_id) in rndis_setup() 506 w_value, w_index, w_length); in rndis_setup() 513 w_value, w_index, w_length); in rndis_setup()
|
H A D | f_ecm.c | 463 u16 w_index = le16_to_cpu(ctrl->wIndex); in ecm_setup() local 476 if (w_length != 0 || w_index != ecm->ctrl_id) in ecm_setup() 500 w_value, w_index, w_length); in ecm_setup() 507 w_value, w_index, w_length); in ecm_setup()
|
H A D | f_sourcesink.c | 768 u16 w_index = le16_to_cpu(ctrl->wIndex); in sourcesink_setup() local 791 if (w_value || w_index) in sourcesink_setup() 801 if (w_value || w_index) in sourcesink_setup() 814 w_value, w_index, w_length); in sourcesink_setup() 821 w_value, w_index, w_length); in sourcesink_setup()
|
H A D | f_eem.c | 174 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup() local 180 w_value, w_index, w_length); in eem_setup()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/ |
H A D | composite.c | 1783 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup() local 1784 u8 intf = w_index & 0xFF; in composite_setup() 1870 w_index, w_value & 0xff); in composite_setup() 1955 value = f->set_alt(f, w_index, w_value); in composite_setup() 1975 value = f->get_alt ? f->get_alt(f, w_index) : 0; in composite_setup() 1983 (w_index == OTG_STS_SELECTOR)) { in composite_setup() 2046 value = f->func_suspend(f, w_index >> 8); in composite_setup() 2051 (w_index & USB_INTRF_FUNC_SUSPEND_RW)) in composite_setup() 2054 f->func_wakeup_armed = !!(w_index & in composite_setup() 2057 if (w_index in composite_setup() [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_acm.c | 342 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()
|
H A D | f_ncm.c | 694 u16 w_index = le16_to_cpu(ctrl->wIndex); in ncm_setup() local 709 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 733 if (w_length == 0 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 744 if (w_length < 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 755 if (w_length != 4 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 770 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 782 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 804 if (w_length < 2 || w_value != 0 || w_index != ncm->ctrl_id) in ncm_setup() 816 if (w_length != 0 || w_index != ncm->ctrl_id) in ncm_setup() 844 w_value, w_index, w_lengt in ncm_setup() [all...] |
H A D | f_rndis.c | 471 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()
|
H A D | f_uac2.c | 891 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_cur() local 893 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_cur() 932 u16 w_index = le16_to_cpu(cr->wIndex); in in_rq_range() local 934 u8 entity_id = (w_index >> 8) & 0xff; in in_rq_range() 996 u16 w_index = le16_to_cpu(cr->wIndex); in setup_rq_inf() local 997 u8 intf = w_index & 0xff; in setup_rq_inf()
|
H A D | f_ecm.c | 474 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()
|
H A D | f_sourcesink.c | 769 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()
|
H A D | f_eem.c | 174 u16 w_index = le16_to_cpu(ctrl->wIndex); in eem_setup() local 180 w_value, w_index, w_length); in eem_setup()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/ |
H A D | composite.c | 1644 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup() local 1645 u8 intf = w_index & 0xFF; in composite_setup() 1730 w_index, w_value & 0xff); in composite_setup() 1815 value = f->set_alt(f, w_index, w_value); in composite_setup() 1835 value = f->get_alt ? f->get_alt(f, w_index) : 0; in composite_setup() 1843 (w_index == OTG_STS_SELECTOR)) { in composite_setup() 1895 value = f->func_suspend(f, w_index >> 8); in composite_setup() 1928 if (w_index != 0x4 || (w_value >> 8)) in composite_setup() 1930 buf[6] = w_index; in composite_setup() 1944 if (w_index ! in composite_setup() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | at91_udc.c | 1080 #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() macro
|
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_lengt in ep0_irq() 1679 #undef w_index ep0_irq() macro [all...] |
H A D | net2280.c | 2868 #define w_index le16_to_cpu(r.wIndex) in handle_stat0_irqs_superspeed() macro 2891 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 2951 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 3017 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs_superspeed() 3041 w_value, w_index, w_length, in handle_stat0_irqs_superspeed() 3061 #undef w_index in handle_stat0_irqs_superspeed() macro 3173 #define w_index le16_to_cpu(u.r.wIndex) in handle_stat0_irqs() macro 3215 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() 3241 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() 3266 e = get_ep_by_addr(dev, w_index); in handle_stat0_irqs() 3307 #undef w_index handle_stat0_irqs() macro [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | at91_udc.c | 1082 #define w_index le16_to_cpu(pkt.r.wIndex) in handle_setup() macro 1088 w_value, w_index, w_length); in handle_setup() 1175 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1181 if ((w_index & USB_DIR_IN)) { in handle_setup() 1198 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1204 if ((w_index & USB_DIR_IN)) { in handle_setup() 1217 tmp = w_index & USB_ENDPOINT_NUMBER_MASK; in handle_setup() 1225 if ((w_index & USB_DIR_IN)) { in handle_setup() 1243 #undef w_index in handle_setup() macro
|
H A D | omap_udc.c | 1530 #define w_index le16_to_cpu(u.r.wIndex) in ep0_irq() macro 1570 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1572 if (w_index & USB_DIR_IN) in ep0_irq() 1599 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1600 if (w_index & USB_DIR_IN) in ep0_irq() 1631 if (!(w_index & 0xf)) in ep0_irq() 1635 ep = &udc->ep[w_index & 0xf]; in ep0_irq() 1636 if (w_index & USB_DIR_IN) in ep0_irq() 1664 VDBG("GET_STATUS, interface %d\n", w_index); in ep0_irq() 1681 w_value, w_index, w_lengt in ep0_irq() 1684 #undef w_index ep0_irq() macro [all...] |
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() macro 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() 3314 #undef w_index handle_stat0_irqs() macro [all...] |