/drivers/usb/wusbcore/ |
D | rh.c | 177 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()
|
/drivers/media/usb/gspca/ |
D | dtcs033.c | 30 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()
|
D | kinect.c | 115 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()
|
/drivers/usb/dwc3/ |
D | ep0.c | 642 u16 wLength; in dwc3_ep0_set_sel() local 649 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 651 if (wLength != 6) { in dwc3_ep0_set_sel() 653 wLength); in dwc3_ep0_set_sel() 676 u16 wLength; in dwc3_ep0_set_isoch_delay() local 681 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 684 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay() 750 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
|
D | trace.h | 80 __field(__le16, wLength) 87 __entry->wLength = ctrl->wLength; 92 le16_to_cpu(__entry->wLength)
|
/drivers/usb/host/ |
D | ohci-s3c2410.c | 165 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()
|
D | fhci-hub.c | 207 u16 wIndex, char *buf, u16 wLength) in fhci_hub_control() argument 276 len = (buf[0] < wLength) ? buf[0] : wLength; in fhci_hub_control()
|
D | ohci-jz4740.c | 82 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()
|
D | ohci-at91.c | 280 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument 289 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control() 340 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
|
D | ohci-da8xx.c | 171 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()
|
D | uhci-hub.c | 242 u16 wIndex, char *buf, u16 wLength) in uhci_hub_control() argument 407 retval = min_t(unsigned int, sizeof(root_hub_hub_des), wLength); in uhci_hub_control()
|
/drivers/usb/core/ |
D | devio.c | 971 unsigned wLength; in proc_control() local 980 wLength = ctrl.wLength; /* To suppress 64k PAGE_SIZE warning */ in proc_control() 981 if (wLength > PAGE_SIZE) in proc_control() 997 ctrl.wIndex, ctrl.wLength); in proc_control() 999 if (ctrl.wLength && !access_ok(VERIFY_WRITE, ctrl.data, in proc_control() 1000 ctrl.wLength)) { in proc_control() 1005 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0); in proc_control() 1010 tbuf, ctrl.wLength, tmo); in proc_control() 1014 if ((i > 0) && ctrl.wLength) { in proc_control() 1021 if (ctrl.wLength) { in proc_control() [all …]
|
D | hcd.c | 467 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local 490 wLength = le16_to_cpu (cmd->wLength); in rh_call_control() 492 if (wLength > urb->transfer_buffer_length) in rh_call_control() 499 tbuf_size = max_t(u16, sizeof(struct usb_hub_descriptor), wLength); in rh_call_control() 603 hcd, ubuf, wLength); in rh_call_control() 659 tbuf, wLength); in rh_call_control() 677 wLength, status); in rh_call_control()
|
/drivers/usb/renesas_usbhs/ |
D | mod_host.c | 1107 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 1248 u16 wIndex, char *buf, u16 wLength) in usbhsh_hub_control() argument 1261 wValue, wIndex, buf, wLength); in usbhsh_hub_control() 1268 wValue, wIndex, buf, wLength); in usbhsh_hub_control() 1276 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
|
/drivers/net/irda/ |
D | ks959-sir.c | 311 kingsun->tx_setuprequest->wLength = cpu_to_le16(padlen); in ks959_submit_tx_fragment() 740 kingsun->rx_setuprequest->wLength = cpu_to_le16(KINGSUN_RCV_FIFO_SIZE); in ks959_probe() 760 kingsun->tx_setuprequest->wLength = 0; in ks959_probe() 772 kingsun->speed_setuprequest->wLength = in ks959_probe()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 212 ven_req.wLength = req_data->buf_size; in cx231xx_send_usb_command() 220 memset(req_data->p_buffer, 0x00, ven_req.wLength); in cx231xx_send_usb_command() 354 if ((ven_req->wLength > URB_MAX_CTRL_SIZE)) in cx231xx_send_vendor_cmd() 366 if ((ven_req->wLength > 4) && ((ven_req->bRequest == 0x4) || in cx231xx_send_vendor_cmd() 378 unsend_size = ven_req->wLength; in cx231xx_send_vendor_cmd() 412 ven_req->pBuff, ven_req->wLength, HZ); in cx231xx_send_vendor_cmd() 1457 ven_req.wLength = len; in cx231xx_send_gpio_cmd() 1468 memset(ven_req.pBuff, 0x00, ven_req.wLength); in cx231xx_send_gpio_cmd()
|
/drivers/usb/gadget/function/ |
D | f_uac1.c | 385 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_intf_req() 422 u16 len = le16_to_cpu(ctrl->wLength); in audio_get_intf_req() 458 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_endpoint_req() 494 u16 len = le16_to_cpu(ctrl->wLength); in audio_get_endpoint_req() 524 u16 w_length = le16_to_cpu(ctrl->wLength); in f_audio_setup()
|
/drivers/usb/gadget/legacy/ |
D | printer.c | 931 u16 wLength = le16_to_cpu(ctrl->wLength); in printer_func_setup() local 934 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup() 956 value = min(wLength, (u16) 1); in printer_func_setup() 979 wValue, wIndex, wLength); in printer_func_setup() 985 req->zero = value < wLength; in printer_func_setup()
|
/drivers/usb/c67x00/ |
D | c67x00-hcd.c | 81 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()
|
/drivers/usb/chipidea/ |
D | udc.c | 1018 if (req.wLength != 0) in isr_setup_packet_handler() 1037 if (req.wLength != 0) in isr_setup_packet_handler() 1050 if (le16_to_cpu(req.wLength) != 2 || in isr_setup_packet_handler() 1058 if (le16_to_cpu(req.wLength) != 0 || in isr_setup_packet_handler() 1069 if (req.wLength != 0) in isr_setup_packet_handler() 1083 if (req.wLength != 0) in isr_setup_packet_handler() 1126 if (req.wLength == 0) /* no data phase */ in isr_setup_packet_handler()
|
/drivers/net/usb/ |
D | cdc_ncm.c | 1006 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp() 1095 ndplen = le16_to_cpu(ndp16->wLength); in cdc_ncm_fill_tx_frame() 1101 ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame() 1322 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp16() 1324 le16_to_cpu(ndp16->wLength)); in cdc_ncm_rx_verify_ndp16() 1328 ret = ((le16_to_cpu(ndp16->wLength) - in cdc_ncm_rx_verify_ndp16()
|
/drivers/usb/musb/ |
D | musb_gadget_ep0.c | 150 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()
|
D | musb_host.h | 137 char *buf, u16 wLength);
|
/drivers/usb/serial/ |
D | ti_usb_3410_5052.h | 237 __le16 wLength; member
|
/drivers/usb/class/ |
D | cdc-wdm.c | 248 le16_to_cpu(dr->wIndex), le16_to_cpu(dr->wLength)); in wdm_int_callback() 267 le16_to_cpu(dr->wLength)); in wdm_int_callback() 414 req->wLength = cpu_to_le16(count); in wdm_write() 826 desc->irq->wLength = cpu_to_le16(desc->wMaxCommand); in wdm_create()
|