Home
last modified time | relevance | path

Searched refs:wLength (Results 1 – 144 of 144) sorted by relevance

/linux-4.4.14/drivers/usb/wusbcore/
Drh.c177 u16 wLength) in wusbhc_rh_get_hub_descr() argument
182 if (wLength < length) in wusbhc_rh_get_hub_descr()
234 u16 wLength) in wusbhc_rh_get_hub_status() argument
340 u32 *_buf, u16 wLength) in wusbhc_rh_get_port_status() argument
361 u16 wIndex, char *buf, u16 wLength) in wusbhc_rh_control() argument
370 (struct usb_hub_descriptor *) buf, wLength); in wusbhc_rh_control()
376 result = wusbhc_rh_get_hub_status(wusbhc, (u32 *)buf, wLength); in wusbhc_rh_control()
389 (u32 *)buf, wLength); in wusbhc_rh_control()
396 wValue, wIndex, buf, wLength); in wusbhc_rh_control()
Dwa-xfer.c679 packet_desc->wLength = cpu_to_le16(sizeof(*packet_desc) + in __wa_setup_isoc_packet_descr()
2483 if (le16_to_cpu(packet_status->wLength) != expected_size) { in wa_process_iso_packet_status()
2485 le16_to_cpu(packet_status->wLength)); in wa_process_iso_packet_status()
/linux-4.4.14/drivers/media/usb/gspca/
Ddtcs033.c30 u16 wLength; member
36 u16 wValue, u16 wIndex, u16 wLength) in reg_rw() argument
49 gspca_dev->usb_buf, wLength, 500); in reg_rw()
70 preq->wValue, preq->wIndex, preq->wLength); in reg_reqs()
81 preq->wLength, in reg_reqs()
85 preq->wLength > 3 ? "...\n" : "\n"); in reg_reqs()
Dkinect.c115 uint16_t wLength) in kinect_write() argument
121 0, 0, data, wLength, CTRL_TIMEOUT); in kinect_write()
124 static int kinect_read(struct usb_device *udev, uint8_t *data, uint16_t wLength) in kinect_read() argument
130 0, 0, data, wLength, CTRL_TIMEOUT); in kinect_read()
/linux-4.4.14/include/uapi/linux/usb/
Dcdc.h301 __le16 wLength; member
319 __le16 wLength; member
379 __le16 wLength; member
393 __le16 wLength; member
Dch9.h190 __le16 wLength; member
/linux-4.4.14/drivers/usb/dwc3/
Dtrace.h90 __field(__le16, wLength)
97 __entry->wLength = ctrl->wLength;
102 le16_to_cpu(__entry->wLength)
Dep0.c652 u16 wLength; in dwc3_ep0_set_sel() local
659 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel()
661 if (wLength != 6) { in dwc3_ep0_set_sel()
663 wLength); in dwc3_ep0_set_sel()
686 u16 wLength; in dwc3_ep0_set_isoch_delay() local
691 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay()
694 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay()
760 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
/linux-4.4.14/drivers/usb/host/
Dohci-s3c2410.c165 u16 wLength) in ohci_s3c2410_hub_control() argument
174 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
181 wIndex, buf, wLength); in ohci_s3c2410_hub_control()
230 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
Dxhci-hub.c64 u16 wLength) in xhci_create_usb3_bos_desc() argument
82 memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength)); in xhci_create_usb3_bos_desc()
90 if (wLength < USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE) in xhci_create_usb3_bos_desc()
91 return wLength; in xhci_create_usb3_bos_desc()
111 if (wLength < desc_size) in xhci_create_usb3_bos_desc()
112 return wLength; in xhci_create_usb3_bos_desc()
120 if (wLength < desc_size + ssa_size) in xhci_create_usb3_bos_desc()
121 return wLength; in xhci_create_usb3_bos_desc()
864 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument
893 (wLength < USB_DT_SS_HUB_SIZE || in xhci_hub_control()
[all …]
Dohci-jz4740.c82 u16 wIndex, char *buf, u16 wLength) in ohci_jz4740_hub_control() argument
101 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_jz4740_hub_control()
Duhci-hub.c243 u16 wIndex, char *buf, u16 wLength) in uhci_hub_control() argument
408 retval = min_t(unsigned int, sizeof(root_hub_hub_des), wLength); in uhci_hub_control()
Dohci-da8xx.c171 u16 wIndex, char *buf, u16 wLength) in ohci_da8xx_hub_control() argument
234 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_da8xx_hub_control()
Dohci-at91.c291 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument
300 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
351 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
Dohci-pxa27x.c195 u16 wIndex, char *buf, u16 wLength) in pxa27x_ohci_hub_control() argument
216 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in pxa27x_ohci_hub_control()
Dehci-tegra.c190 u16 wLength in tegra_ehci_hub_control() argument
291 return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in tegra_ehci_hub_control()
Dfhci-hub.c207 u16 wIndex, char *buf, u16 wLength) in fhci_hub_control() argument
Dfhci.h538 u16 wIndex, char *buf, u16 wLength);
Dsl811-hcd.c1217 u16 wLength in sl811h_hub_control() argument
1237 if (wIndex != 1 || wLength != 0) in sl811h_hub_control()
1296 if (wIndex != 1 || wLength != 0) in sl811h_hub_control()
Dohci.h743 u16 wIndex, char *buf, u16 wLength);
Dehci.h893 u16 wIndex, char *buf, u16 wLength);
Dehci-hub.c822 dr->wLength = cpu_to_le16(USB_DT_DEVICE_SIZE); in ehset_single_step_set_feature()
867 u16 wLength in ehci_hub_control() argument
Dohci-hub.c676 u16 wLength in ohci_hub_control() argument
Dr8a66597-hcd.c2152 u16 wIndex, char *buf, u16 wLength) in r8a66597_hub_control() argument
2177 if (wLength != 0) in r8a66597_hub_control()
2215 if (wLength != 0) in r8a66597_hub_control()
Dxhci.h1931 char *buf, u16 wLength);
Disp116x-hcd.c1004 u16 wValue, u16 wIndex, char *buf, u16 wLength) in isp116x_hub_control() argument
Doxu210hp-hcd.c246 char *buf, u16 wLength);
3154 u16 wValue, u16 wIndex, char *buf, u16 wLength) in oxu_hub_control() argument
Dimx21-hcd.c1529 u16 wValue, u16 wIndex, char *buf, u16 wLength) in imx21_hc_hub_control() argument
Disp1362-hcd.c1562 u16 wIndex, char *buf, u16 wLength) in isp1362_hub_control() argument
Du132-hcd.c2820 u16 wIndex, char *buf, u16 wLength) in u132_hub_control() argument
Dxhci-ring.c3477 le16_to_cpu(setup->wIndex) | le16_to_cpu(setup->wLength) << 16, in xhci_queue_ctrl_tx()
Dfotg210-hcd.c1486 u16 wIndex, char *buf, u16 wLength) in fotg210_hub_control() argument
/linux-4.4.14/include/linux/usb/
Dwusb-wa.h206 __le16 wLength; member
218 __le16 wLength; member
Dhcd.h311 char *buf, u16 wLength);
/linux-4.4.14/drivers/usb/core/
Ddevio.c975 unsigned wLength; in proc_control() local
984 wLength = ctrl.wLength; /* To suppress 64k PAGE_SIZE warning */ in proc_control()
985 if (wLength > PAGE_SIZE) in proc_control()
1001 ctrl.wIndex, ctrl.wLength); in proc_control()
1003 if (ctrl.wLength && !access_ok(VERIFY_WRITE, ctrl.data, in proc_control()
1004 ctrl.wLength)) { in proc_control()
1009 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0); in proc_control()
1014 tbuf, ctrl.wLength, tmo); in proc_control()
1018 if ((i > 0) && ctrl.wLength) { in proc_control()
1025 if (ctrl.wLength) { in proc_control()
[all …]
Dhcd.c468 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local
491 wLength = le16_to_cpu (cmd->wLength); in rh_call_control()
493 if (wLength > urb->transfer_buffer_length) in rh_call_control()
500 tbuf_size = max_t(u16, sizeof(struct usb_hub_descriptor), wLength); in rh_call_control()
604 hcd, ubuf, wLength); in rh_call_control()
660 tbuf, wLength); in rh_call_control()
678 wLength, status); in rh_call_control()
Durb.c369 !setup->wLength; in usb_submit_urb()
Dmessage.c146 dr->wLength = cpu_to_le16(size); in usb_control_msg()
/linux-4.4.14/include/linux/
Dusbdevice_fs.h41 u16 wLength; member
/linux-4.4.14/drivers/usb/renesas_usbhs/
Dmod_host.c1107 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_hub_feature() argument
1124 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_port_feature() argument
1133 if (wIndex > roothub_id || wLength != 0) in __usbhsh_hub_port_feature()
1209 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_get_status() argument
1249 u16 wIndex, char *buf, u16 wLength) in usbhsh_hub_control() argument
1262 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
1269 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
1277 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
Dcommon.c173 req->wLength = usbhs_read(priv, USBLENG); in usbhs_usbreq_get_val()
181 usbhs_write(priv, USBLENG, req->wLength); in usbhs_usbreq_set_val()
/linux-4.4.14/include/linux/uwb/
Dspec.h623 __le16 wLength; member
630 __le16 wLength; member
763 __le16 wLength; member
/linux-4.4.14/drivers/net/irda/
Dks959-sir.c310 kingsun->tx_setuprequest->wLength = cpu_to_le16(padlen); in ks959_submit_tx_fragment()
737 kingsun->rx_setuprequest->wLength = cpu_to_le16(KINGSUN_RCV_FIFO_SIZE); in ks959_probe()
757 kingsun->tx_setuprequest->wLength = 0; in ks959_probe()
769 kingsun->speed_setuprequest->wLength = in ks959_probe()
Dksdazzle-sir.c680 kingsun->speed_setuprequest->wLength = in ksdazzle_probe()
/linux-4.4.14/drivers/usb/gadget/function/
Df_printer.c905 u16 w_length = le16_to_cpu(ctrl->wLength); in gprinter_req_match()
947 u16 wLength = le16_to_cpu(ctrl->wLength); in printer_func_setup() local
950 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup()
972 value = min_t(u16, wLength, 1); in printer_func_setup()
995 wValue, wIndex, wLength); in printer_func_setup()
1001 req->zero = value < wLength; in printer_func_setup()
Df_uac1.c389 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_intf_req()
426 u16 len = le16_to_cpu(ctrl->wLength); in audio_get_intf_req()
462 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_endpoint_req()
498 u16 len = le16_to_cpu(ctrl->wLength); in audio_get_endpoint_req()
528 u16 w_length = le16_to_cpu(ctrl->wLength); in f_audio_setup()
Df_ecm.c401 event->wLength = 0; in ecm_do_notify()
412 event->wLength = cpu_to_le16(8); in ecm_do_notify()
477 u16 w_length = le16_to_cpu(ctrl->wLength); in ecm_setup()
Df_ncm.c126 .wLength = cpu_to_le16(sizeof(ntb_parameters)),
497 event->wLength = 0; in ncm_do_notify()
508 event->wLength = cpu_to_le16(8); in ncm_do_notify()
621 u16 w_length = le16_to_cpu(ctrl->wLength); in ncm_setup()
Df_acm.c347 u16 w_length = le16_to_cpu(ctrl->wLength); in acm_setup()
516 notify->wLength = cpu_to_le16(length); in acm_cdc_notify()
Df_uac2.c1280 u16 w_length = le16_to_cpu(cr->wLength); in in_rq_cur()
1321 u16 w_length = le16_to_cpu(cr->wLength); in in_rq_range()
1371 u16 w_length = le16_to_cpu(cr->wLength); in out_rq_cur()
1410 u16 w_length = le16_to_cpu(cr->wLength); in afunc_setup()
Df_uvc.c247 if (le16_to_cpu(ctrl->wLength) > UVC_MAX_REQUEST_SIZE) in uvc_function_setup()
254 uvc->event_length = le16_to_cpu(ctrl->wLength); in uvc_function_setup()
Df_hid.c400 length = __le16_to_cpu(ctrl->wLength); in hidg_setup()
426 VDBG(cdev, "set_report | wLength=%d\n", ctrl->wLength); in hidg_setup()
Df_eem.c176 u16 w_length = le16_to_cpu(ctrl->wLength); in eem_setup()
Df_fs.c210 req->zero = len < le16_to_cpu(ffs->ev.setup.wLength); in __ffs_ep0_queue_wait()
350 len = min(len, (size_t)le16_to_cpu(ffs->ev.setup.wLength)); in ffs_ep0_write()
493 len = min(len, (size_t)le16_to_cpu(ffs->ev.setup.wLength)); in ffs_ep0_read()
2980 pr_vdebug("creq->wLength = %04x\n", le16_to_cpu(creq->wLength)); in ffs_func_setup()
Df_rndis.c472 u16 w_length = le16_to_cpu(ctrl->wLength); in rndis_setup()
Df_sourcesink.c786 u16 w_length = le16_to_cpu(ctrl->wLength); in sourcesink_setup()
Df_mass_storage.c509 u16 w_length = le16_to_cpu(ctrl->wLength); in fsg_setup()
/linux-4.4.14/drivers/usb/c67x00/
Dc67x00-hcd.c81 u16 wIndex, char *buf, u16 wLength) in c67x00_hub_control() argument
229 len = min_t(unsigned int, sizeof(c67x00_hub_des), wLength); in c67x00_hub_control()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-core.c204 ven_req.wLength = req_data->buf_size; in cx231xx_send_usb_command()
212 memset(req_data->p_buffer, 0x00, ven_req.wLength); in cx231xx_send_usb_command()
345 if ((ven_req->wLength > URB_MAX_CTRL_SIZE)) in cx231xx_send_vendor_cmd()
357 if ((ven_req->wLength > 4) && ((ven_req->bRequest == 0x4) || in cx231xx_send_vendor_cmd()
364 unsend_size = ven_req->wLength; in cx231xx_send_vendor_cmd()
398 ven_req->pBuff, ven_req->wLength, HZ); in cx231xx_send_vendor_cmd()
1453 ven_req.wLength = len; in cx231xx_send_gpio_cmd()
1464 memset(ven_req.pBuff, 0x00, ven_req.wLength); in cx231xx_send_gpio_cmd()
Dcx231xx.h499 u16 wLength; member
/linux-4.4.14/include/uapi/linux/
Dusbdevice_fs.h44 __u16 wLength; member
/linux-4.4.14/drivers/usb/serial/
Dti_usb_3410_5052.h241 __le16 wLength; member
Dopticon.c228 dr->wLength = cpu_to_le16(count); in opticon_write()
Dmos7840.c502 dr->wLength = cpu_to_le16(2); in mos7840_get_reg()
544 dr->wLength = cpu_to_le16(0); in mos7840_set_led_async()
Dti_usb_3410_5052.c1427 header->wLength = cpu_to_le16((__u16)(size in ti_do_download()
Dmos7720.c385 urbtrack->setup->wLength = 0; in write_parport_reg_nonblock()
Dkeyspan.c1969 dr->wLength = cpu_to_le16(sizeof(msg)); in keyspan_usa49_send_setup()
/linux-4.4.14/drivers/usb/musb/
Dmusb_host.h137 char *buf, u16 wLength);
Dmusb_gadget_ep0.c150 u16 len = le16_to_cpu(ctrlrequest->wLength); in service_tx_status_request()
615 le16_to_cpu(req->wLength)); in musb_read_setup()
632 if (req->wLength == 0) { in musb_read_setup()
Dmusb_virthub.c288 u16 wLength) in musb_hub_control() argument
Dmusb_host.c1084 if (!request->wLength) { in musb_h_ep0_continue()
/linux-4.4.14/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c416 if (!le16_to_cpu(bdc->setup_pkt.wLength) || in setup_first_bd_ep0()
1081 len = le16_to_cpu(setup_pkt->wLength); in bdc_xsf_ep0_setup_recv()
1395 u16 wLength; in ep0_set_sel() local
1400 wLength = le16_to_cpu(setup_pkt->wLength); in ep0_set_sel()
1401 if (unlikely(wLength != 6)) { in ep0_set_sel()
1402 dev_err(bdc->dev, "%s Wrong wLength:%d\n", __func__, wLength); in ep0_set_sel()
1597 if (!le16_to_cpu(setup_pkt->wLength)) { in bdc_xsf_ep0_status_start()
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-udc.c459 if (req->wLength != cpu_to_le16(2) || req->wValue != cpu_to_le16(0)) in isp1760_udc_get_status()
543 if (req->wLength != cpu_to_le16(0) || in isp1760_ep0_setup_standard()
587 if (req->wLength != cpu_to_le16(0) || in isp1760_ep0_setup_standard()
679 if (!req.r.wLength) in isp1760_ep0_setup()
687 udc->ep0_length = le16_to_cpu(req.r.wLength); in isp1760_ep0_setup()
695 le16_to_cpu(req.r.wLength)); in isp1760_ep0_setup()
Disp1760-hcd.c1812 u16 wValue, u16 wIndex, char *buf, u16 wLength) in isp1760_hub_control() argument
/linux-4.4.14/drivers/usb/chipidea/
Dudc.c1032 if (req.wLength != 0) in isr_setup_packet_handler()
1051 if (req.wLength != 0) in isr_setup_packet_handler()
1064 if (le16_to_cpu(req.wLength) != 2 || in isr_setup_packet_handler()
1072 if (le16_to_cpu(req.wLength) != 0 || in isr_setup_packet_handler()
1083 if (req.wLength != 0) in isr_setup_packet_handler()
1097 if (req.wLength != 0) in isr_setup_packet_handler()
1147 if (req.wLength == 0) /* no data phase */ in isr_setup_packet_handler()
/linux-4.4.14/drivers/usb/class/
Dcdc-wdm.c248 le16_to_cpu(dr->wIndex), le16_to_cpu(dr->wLength)); in wdm_int_callback()
267 le16_to_cpu(dr->wLength)); in wdm_int_callback()
408 req->wLength = cpu_to_le16(count); in wdm_write()
827 desc->irq->wLength = cpu_to_le16(desc->wMaxCommand); in wdm_create()
Dcdc-acm.c354 dr->wLength, data[0], data[1]); in acm_ctrl_irq()
/linux-4.4.14/drivers/net/usb/
Dcdc_ncm.c1034 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp()
1132 ndplen = le16_to_cpu(ndp16->wLength); in cdc_ncm_fill_tx_frame()
1138 ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame()
1370 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp16()
1372 le16_to_cpu(ndp16->wLength)); in cdc_ncm_rx_verify_ndp16()
1376 ret = ((le16_to_cpu(ndp16->wLength) - in cdc_ncm_rx_verify_ndp16()
Dhso.c203 u16 wLength; member
1510 le16_to_cpu(serial_state_notification->wLength) != W_LENGTH) { in tiocmget_intr_callback()
1793 ctrl_req->wLength = cpu_to_le16(size); in mux_device_request()
1813 ctrl_req->bRequestType, ctrl_req->wLength, port); in mux_device_request()
Drtl8150.c200 req->dr.wLength = cpu_to_le16(size); in async_set_registers()
Dkaweth.c283 dr->wLength = cpu_to_le16(size); in kaweth_control()
Dcatc.c493 dr->wLength = cpu_to_le16(q->len); in catc_ctrl_run()
Dpegasus.c185 req->wLength = cpu_to_le16(3); in update_eth_regs_async()
Dusbnet.c2218 req->wLength = cpu_to_le16(size); in usbnet_write_cmd_async()
/linux-4.4.14/drivers/usb/gadget/udc/
Ds3c2410_udc.c542 crq->wValue, crq->wIndex, crq->wLength); in s3c2410_udc_read_fifo_crq()
563 if (ep_num > 4 || crq->wLength > 2) in s3c2410_udc_get_status()
622 crq->bRequest, crq->bRequestType, crq->wLength); in s3c2410_udc_handle_ep0_idle()
678 if (crq->wValue != USB_ENDPOINT_HALT || crq->wLength != 0) in s3c2410_udc_handle_ep0_idle()
691 if (crq->wValue != USB_ENDPOINT_HALT || crq->wLength != 0) in s3c2410_udc_handle_ep0_idle()
Dfsl_udc_core.c1399 u16 wLength = le16_to_cpu(setup->wLength); in setup_received_irq() local
1410 ch9getstatus(udc, setup->bRequestType, wValue, wIndex, wLength); in setup_received_irq()
1418 ch9setaddress(udc, wValue, wIndex, wLength); in setup_received_irq()
1433 if (wValue != 0 || wLength != 0 || pipe >= udc->max_ep) in setup_received_irq()
1486 if (wLength) { in setup_received_irq()
Datmel_usba_udc.c1248 if (crq->wLength != cpu_to_le16(sizeof(status))) in handle_ep0_setup()
1267 if (crq->wLength != cpu_to_le16(0) in handle_ep0_setup()
1301 if (crq->wLength != cpu_to_le16(0) in handle_ep0_setup()
1340 le16_to_cpu(crq->wLength)); in handle_ep0_setup()
1507 if (crq.crq.wLength != cpu_to_le16(0)) in usba_control_irq()
1524 le16_to_cpu(crq.crq.wLength), ep->state, ret); in usba_control_irq()
Dnet2272.c1806 le16_to_cpus(&u.r.wLength); in net2272_handle_stat0_irqs()
1837 if (!e || u.r.wLength > 2) in net2272_handle_stat0_irqs()
1853 if (u.r.wLength > 2) in net2272_handle_stat0_irqs()
1866 if (u.r.wLength > 2) in net2272_handle_stat0_irqs()
1886 u.r.wLength != 0) in net2272_handle_stat0_irqs()
1913 u.r.wLength != 0) in net2272_handle_stat0_irqs()
Dfsl_qe_udc.c2015 u16 wLength = le16_to_cpu(setup->wLength); in setup_received_handle() local
2032 wLength); in setup_received_handle()
2040 ch9setaddress(udc, wValue, wIndex, wLength); in setup_received_handle()
2055 if (wValue != 0 || wLength != 0 in setup_received_handle()
2075 if (wLength) { in setup_received_handle()
Dmv_udc_core.c1591 if (setup->wValue != 0 || setup->wLength != 0 in ch9clearfeature()
1646 if (setup->wValue != 0 || setup->wLength != 0 in ch9setfeature()
1676 setup->wValue, setup->wIndex, setup->wLength); in handle_setup_packet()
1705 if (setup->wLength) { in handle_setup_packet()
Dbcm63xx_udc.c1354 ctrl.wLength = 0; in bcm63xx_ep0_spoof_set_cfg()
1378 ctrl.wLength = 0; in bcm63xx_ep0_spoof_set_iface()
1526 if (!ctrl->wLength) in bcm63xx_ep0_do_setup()
Dudc-xilinx.c1036 if (udc->setup.wLength) { in __xudc_ep0_queue()
1757 udc->setup.wLength = cpu_to_le16(setup.wLength); in xudc_handle_setup()
Dpxa27x_udc.c1906 le16_to_cpu(u.r.wLength)); in handle_ep0_ctrl_req()
2143 req.wLength = 0; in pxa27x_change_configuration()
2172 req.wLength = 0; in pxa27x_change_interface()
Ddummy_hcd.c2034 u16 wLength in dummy_hub_control() argument
2083 (wLength < USB_DT_SS_HUB_SIZE || in dummy_hub_control()
2277 typeReq, wValue, wIndex, wLength); in dummy_hub_control()
Dpxa25x_udc.c1480 le16_to_cpu(u.r.wLength)); in handle_ep0()
1561 || dev->req_std || u.r.wLength)) in handle_ep0()
Dlpc32xx_udc.c2247 u16 wIndex, wValue, wLength, reqtype, req, tmp; in udc_handle_ep0_setup() local
2263 wLength = le16_to_cpu(ctrlpkt.wLength); in udc_handle_ep0_setup()
Dgoku_udc.c1443 ctrl.wLength = cpu_to_le16((readl(&regs->wLengthH) << 8) in ep0_setup()
1511 le16_to_cpu(ctrl.wLength)); in ep0_setup()
Dmv_u3d_core.c1535 setup->wValue, setup->wIndex, setup->wLength); in mv_u3d_handle_setup_packet()
1565 if (setup->wLength) { in mv_u3d_handle_setup_packet()
Dfusb300_udc.c831 fusb300->ep0_length = ctrl->wLength; in setup_packet()
Dnet2280.c2792 #define w_length le16_to_cpu(r.wLength) in handle_stat0_irqs_superspeed()
3100 #define w_length le16_to_cpu(u.r.wLength) in handle_stat0_irqs()
Dat91_udc.c1099 #define w_length le16_to_cpu(pkt.r.wLength) in handle_setup()
Dgr_udc.c1115 length = le16_to_cpu(u.ctrl.wLength); in gr_ep0_setup()
Domap_udc.c1530 #define w_length le16_to_cpu(u.r.wLength) in ep0_irq()
/linux-4.4.14/drivers/media/rc/
Digorplugusb.c181 ir->request.wLength = cpu_to_le16(sizeof(ir->buf_in)); in igorplugusb_probe()
Dredrat3.c1017 rr3->flash_control.wLength = cpu_to_le16(1); in redrat3_dev_probe()
Dimon.c600 control_req->wLength = cpu_to_le16(0x0008); in send_packet()
/linux-4.4.14/drivers/input/joystick/iforce/
Diforce-usb.c165 iforce->cr.wLength = cpu_to_le16(16); in iforce_usb_probe()
/linux-4.4.14/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h76 u16 wLength; member
/linux-4.4.14/drivers/usb/gadget/legacy/
Ddbgp.c342 u16 length = le16_to_cpu(ctrl->wLength); in dbgp_setup()
Dinode.c1311 u16 w_length = le16_to_cpu(ctrl->wLength); in gadgetfs_setup()
Dtcm_usb_gadget.c430 u16 w_length = le16_to_cpu(ctrl->wLength); in usbg_bot_setup()
/linux-4.4.14/drivers/usb/usbip/
Dvhci_hcd.c48 u16 wIndex, char *buff, u16 wLength);
229 u16 wIndex, char *buf, u16 wLength) in vhci_hub_control() argument
Dstub_rx.c421 !setup->wLength; in masking_bogus_flags()
Dusbip_common.c183 cmd->wValue, cmd->wIndex, cmd->wLength); in usbip_dump_usb_ctrlrequest()
/linux-4.4.14/drivers/bluetooth/
Dbpa10x.c312 dr->wLength = __cpu_to_le16(skb->len); in bpa10x_send_frame()
Dbtusb.c1154 dr->wLength = __cpu_to_le16(skb->len); in alloc_ctrl_urb()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c252 devinfo->ctl_write.wLength = cpu_to_le16p(&size); in brcmf_usb_send_ctl()
284 devinfo->ctl_read.wLength = cpu_to_le16p(&size); in brcmf_usb_recv_ctl()
723 devinfo->ctl_read.wLength = cpu_to_le16p(&size); in brcmf_usb_dl_cmd()
/linux-4.4.14/drivers/input/misc/
Dpowermate.c182 pm->configcr->wLength = 0; in powermate_sync_state()
Dcm109.c742 dev->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in cm109_usb_probe()
Dyealink.c939 yld->ctl_req->wLength = cpu_to_le16(USB_PKT_LEN); in usb_probe()
/linux-4.4.14/drivers/hid/usbhid/
Dusbkbd.c358 kbd->cr->wLength = cpu_to_le16(1); in usb_kbd_probe()
Dhid-core.c407 usbhid->cr->wLength = cpu_to_le16(len); in hid_submit_ctrl()
412 usbhid->cr->wValue, usbhid->cr->wIndex, usbhid->cr->wLength); in hid_submit_ctrl()
/linux-4.4.14/drivers/usb/storage/
Dtransport.c208 us->cr->wLength = cpu_to_le16(size); in usb_stor_control_msg()
342 us->cr->wLength = cpu_to_le16(size); in usb_stor_ctrl_transfer()
/linux-4.4.14/drivers/staging/emxx_udc/
Demxx_udc.c1496 if ((udc->ctrl.wLength != 0x0000) || in _nbu2ss_req_feature()
1595 length = min_t(u16, udc->ctrl.wLength, sizeof(status_data)); in std_req_get_status()
1656 (udc->ctrl.wLength != 0x0000)) { in std_req_set_address()
1677 (udc->ctrl.wLength != 0x0000) || in std_req_set_configuration()
1718 if (p_ctrl->wLength == 0) { in _nbu2ss_decode_request()
/linux-4.4.14/drivers/usb/misc/
Dyurex.c261 dev->cntl_req->wLength = cpu_to_le16(YUREX_BUF_SIZE); in yurex_probe()
Duss720.c177 rq->dr->wLength = cpu_to_le16((request == 3) ? sizeof(rq->reg) : 0); in submit_async_request()
Dusbtest.c1327 req.wLength = cpu_to_le16(len); in test_ctrl_queue()
/linux-4.4.14/drivers/staging/octeon-usb/
Docteon-hcd.c2282 buffer_length = le16_to_cpu(header->wLength); in cvmx_usb_submit_control()
2731 if (header->wLength) in cvmx_usb_poll_channel()
2743 if (header->wLength) in cvmx_usb_poll_channel()
3342 u16 wIndex, char *buf, u16 wLength) in octeon_usb_hub_control() argument
/linux-4.4.14/tools/usb/
Dffs-test.c536 printf("wLength = %d\n", le16_to_cpu(setup->wLength)); in handle_setup()
/linux-4.4.14/drivers/isdn/hisax/
Dst5481_usb.c78 ctrl_msg->dr.wLength = 0; in usb_ctrl_msg()
Dhfc_usb.c1180 hfc->ctrl_read.wLength = cpu_to_le16(1); in hfc_usb_init()
1183 hfc->ctrl_write.wLength = 0; in hfc_usb_init()
/linux-4.4.14/drivers/isdn/gigaset/
Dbas-gigaset.c580 ucs->dr_cmd_in.wLength = cpu_to_le16(ucs->rcvbuf_size); in atread_submit()
1615 ucs->dr_ctrl.wLength = 0; in req_submit()
1880 ucs->dr_cmd_out.wLength = cpu_to_le16(len); in atwrite_submit()
/linux-4.4.14/drivers/net/ieee802154/
Datusb.c352 atusb->tx_dr.wLength = cpu_to_le16(skb->len); in atusb_xmit()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00usb.c204 rd->cr.wLength = cpu_to_le16(sizeof(u32)); in rt2x00usb_register_read_async()
/linux-4.4.14/drivers/usb/dwc2/
Dgadget.c1009 if (le16_to_cpu(ctrl->wLength) != 2) in dwc2_hsotg_process_req_status()
1208 ctrl->wIndex, ctrl->wLength); in dwc2_hsotg_process_control()
1210 if (ctrl->wLength == 0) { in dwc2_hsotg_process_control()
/linux-4.4.14/drivers/usb/early/
Dehci-dbgp.c346 req.wLength = cpu_to_le16(size); in dbgp_control_msg()
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcsusb.c1728 hw->ctrl_read.wLength = cpu_to_le16(1); in setup_hfcsusb()
1731 hw->ctrl_write.wLength = 0; in setup_hfcsusb()
/linux-4.4.14/Documentation/usb/
Dusbmon.txt152 bRequest, wValue, wIndex, wLength, as specified by the USB Specification 2.0.
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dusb.c99 dr->wLength = cpu_to_le16(len); in _usbctrl_vendorreq_async_write()
/linux-4.4.14/sound/usb/
Dmixer_quirks.c290 mixer->rc_setup_packet->wLength = cpu_to_le16(len); in snd_usb_soundblaster_remote_init()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c151 dr->wLength = cpu_to_le16(len); in rtl8187_iowrite_async()
/linux-4.4.14/drivers/usb/gadget/
Dcomposite.c1466 u16 w_length = le16_to_cpu(ctrl->wLength); in composite_setup()
/linux-4.4.14/drivers/media/usb/usbvision/
Dusbvision-core.c1446 usbvision->ctrl_urb_setup.wLength = cpu_to_le16(len); in usbvision_write_reg_irq()
/linux-4.4.14/drivers/usb/atm/
Dueagle-atm.c552 __le16 wLength; member