/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/staging/greybus/ |
D | usb.c | 28 __le16 wLength; member 101 char *buf, u16 wLength) in hub_control() argument 111 response_size = sizeof(*response) + wLength; in hub_control() 125 request->wLength = cpu_to_le16(wLength); in hub_control() 131 if (wLength) { in hub_control() 134 memcpy(buf, response->buf, wLength); in hub_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 | 663 u16 wLength; in dwc3_ep0_set_sel() local 670 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 672 if (wLength != 6) { in dwc3_ep0_set_sel() 674 wLength); in dwc3_ep0_set_sel() 697 u16 wLength; in dwc3_ep0_set_isoch_delay() local 702 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 705 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay() 771 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
|
D | trace.h | 91 __field(__u16, wLength) 98 __entry->wLength = le16_to_cpu(ctrl->wLength); 103 __entry->wLength
|
/drivers/usb/host/ |
D | xhci-hub.c | 68 u16 wLength) in xhci_create_usb3_bos_desc() argument 90 memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength)); in xhci_create_usb3_bos_desc() 98 if (wLength < USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE) in xhci_create_usb3_bos_desc() 99 return wLength; in xhci_create_usb3_bos_desc() 120 if (wLength < desc_size) in xhci_create_usb3_bos_desc() 121 return wLength; in xhci_create_usb3_bos_desc() 129 if (wLength < desc_size + ssa_size) in xhci_create_usb3_bos_desc() 130 return wLength; in xhci_create_usb3_bos_desc() 906 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument 935 (wLength < USB_DT_SS_HUB_SIZE || in xhci_hub_control() [all …]
|
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 | 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 | 243 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()
|
D | ohci-at91.c | 336 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument 346 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control() 417 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
|
/drivers/usb/core/ |
D | devio.c | 1085 unsigned wLength; in proc_control() local 1094 wLength = ctrl.wLength; /* To suppress 64k PAGE_SIZE warning */ in proc_control() 1095 if (wLength > PAGE_SIZE) in proc_control() 1111 ctrl.wIndex, ctrl.wLength); in proc_control() 1113 if (ctrl.wLength && !access_ok(VERIFY_WRITE, ctrl.data, in proc_control() 1114 ctrl.wLength)) { in proc_control() 1119 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0); in proc_control() 1124 tbuf, ctrl.wLength, tmo); in proc_control() 1128 if ((i > 0) && ctrl.wLength) { in proc_control() 1135 if (ctrl.wLength) { in proc_control() [all …]
|
D | hcd.c | 489 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local 512 wLength = le16_to_cpu (cmd->wLength); in rh_call_control() 514 if (wLength > urb->transfer_buffer_length) in rh_call_control() 521 tbuf_size = max_t(u16, sizeof(struct usb_hub_descriptor), wLength); in rh_call_control() 629 hcd, ubuf, wLength); in rh_call_control() 691 tbuf, wLength); in rh_call_control() 709 wLength, status); in rh_call_control()
|
/drivers/usb/renesas_usbhs/ |
D | mod_host.c | 1102 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_hub_feature() argument 1119 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_port_feature() argument 1128 if (wIndex > roothub_id || wLength != 0) in __usbhsh_hub_port_feature() 1204 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_get_status() argument 1244 u16 wIndex, char *buf, u16 wLength) in usbhsh_hub_control() argument 1257 wValue, wIndex, buf, wLength); in usbhsh_hub_control() 1264 wValue, wIndex, buf, wLength); in usbhsh_hub_control() 1272 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
|
/drivers/net/irda/ |
D | ks959-sir.c | 310 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()
|
/drivers/usb/gadget/function/ |
D | f_printer.c | 898 u16 w_length = le16_to_cpu(ctrl->wLength); in gprinter_req_match() 943 u16 wLength = le16_to_cpu(ctrl->wLength); in printer_func_setup() local 946 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup() 968 value = min_t(u16, wLength, 1); in printer_func_setup() 991 wValue, wIndex, wLength); in printer_func_setup() 997 req->zero = value < wLength; in printer_func_setup()
|
D | f_uac1.c | 389 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()
|
D | f_ecm.c | 401 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()
|
/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/media/usb/cx231xx/ |
D | cx231xx-core.c | 204 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() 369 unsend_size = ven_req->wLength; in cx231xx_send_vendor_cmd() 403 ven_req->pBuff, ven_req->wLength, HZ); in cx231xx_send_vendor_cmd() 1511 ven_req.wLength = len; in cx231xx_send_gpio_cmd() 1522 memset(ven_req.pBuff, 0x00, ven_req.wLength); in cx231xx_send_gpio_cmd()
|
/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 416 if (!le16_to_cpu(bdc->setup_pkt.wLength) || in setup_first_bd_ep0() 1079 len = le16_to_cpu(setup_pkt->wLength); in bdc_xsf_ep0_setup_recv() 1393 u16 wLength; in ep0_set_sel() local 1396 wLength = le16_to_cpu(setup_pkt->wLength); in ep0_set_sel() 1397 if (unlikely(wLength != 6)) { in ep0_set_sel() 1398 dev_err(bdc->dev, "%s Wrong wLength:%d\n", __func__, wLength); in ep0_set_sel() 1593 if (!le16_to_cpu(setup_pkt->wLength)) { in bdc_xsf_ep0_status_start()
|
/drivers/usb/isp1760/ |
D | isp1760-udc.c | 459 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()
|
/drivers/usb/chipidea/ |
D | udc.c | 1047 if (req.wLength != 0) in isr_setup_packet_handler() 1066 if (req.wLength != 0) in isr_setup_packet_handler() 1080 if (le16_to_cpu(req.wLength) != 2 || in isr_setup_packet_handler() 1088 if (le16_to_cpu(req.wLength) != 0 || in isr_setup_packet_handler() 1099 if (req.wLength != 0) in isr_setup_packet_handler() 1113 if (req.wLength != 0) in isr_setup_packet_handler() 1163 if (req.wLength == 0) /* no data phase */ in isr_setup_packet_handler()
|
/drivers/usb/musb/ |
D | musb_gadget_ep0.c | 154 u16 len = le16_to_cpu(ctrlrequest->wLength); in service_tx_status_request() 619 le16_to_cpu(req->wLength)); in musb_read_setup() 636 if (req->wLength == 0) { in musb_read_setup()
|
D | musb_host.h | 137 char *buf, u16 wLength);
|