/drivers/usb/common/ |
D | debug.c | 14 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument 18 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status() 23 wIndex, wLength); in usb_decode_get_status() 106 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument 166 s, wValue & 0xff, wLength); in usb_decode_get_set_descriptor() 169 static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size) in usb_decode_get_configuration() argument 171 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration() 179 static void usb_decode_get_intf(__u16 wIndex, __u16 wLength, char *str, in usb_decode_get_intf() argument 183 wIndex, wLength); in usb_decode_get_intf() 193 static void usb_decode_synch_frame(__u16 wIndex, __u16 wLength, in usb_decode_synch_frame() argument [all …]
|
/drivers/staging/greybus/ |
D | usb.c | 26 __le16 wLength; member 99 char *buf, u16 wLength) in hub_control() argument 109 response_size = sizeof(*response) + wLength; in hub_control() 123 request->wLength = cpu_to_le16(wLength); in hub_control() 129 if (wLength) { in hub_control() 132 memcpy(buf, response->buf, wLength); in hub_control()
|
/drivers/media/usb/gspca/ |
D | dtcs033.c | 21 u16 wLength; member 27 u16 wValue, u16 wIndex, u16 wLength) in reg_rw() argument 40 gspca_dev->usb_buf, wLength, 500); in reg_rw() 61 preq->wValue, preq->wIndex, preq->wLength); in reg_reqs() 72 preq->wLength, in reg_reqs() 74 preq->wLength > 3 ? "...\n" : "\n"); in reg_reqs()
|
D | kinect.c | 102 uint16_t wLength) in kinect_write() argument 108 0, 0, data, wLength, CTRL_TIMEOUT); in kinect_write() 111 static int kinect_read(struct usb_device *udev, uint8_t *data, uint16_t wLength) in kinect_read() argument 117 0, 0, data, wLength, CTRL_TIMEOUT); in kinect_read()
|
/drivers/usb/gadget/udc/aspeed-vhub/ |
D | hub.c | 381 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local 385 wLength = le16_to_cpu(crq->wLength); in ast_vhub_std_hub_request() 437 wLength); in ast_vhub_std_hub_request() 440 wIndex, wLength); in ast_vhub_std_hub_request() 743 u16 wValue, wIndex, wLength; in ast_vhub_class_hub_request() local 747 wLength = le16_to_cpu(crq->wLength); in ast_vhub_class_hub_request() 760 return ast_vhub_rep_desc(ep, USB_DT_HUB, wLength); in ast_vhub_class_hub_request()
|
/drivers/usb/dwc3/ |
D | ep0.c | 733 u16 wLength; in dwc3_ep0_set_sel() local 738 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 740 if (wLength != 6) { in dwc3_ep0_set_sel() 742 wLength); in dwc3_ep0_set_sel() 765 u16 wLength; in dwc3_ep0_set_isoch_delay() local 770 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 773 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay() 827 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
|
D | trace.h | 79 __field(__u16, wLength) 87 __entry->wLength = le16_to_cpu(ctrl->wLength); 92 __entry->wIndex, __entry->wLength)
|
/drivers/usb/mtu3/ |
D | mtu3_trace.h | 98 __field(__u16, wLength) 105 __entry->wLength = le16_to_cpu(setup->wLength); 109 __entry->wValue, __entry->wIndex, __entry->wLength
|
D | mtu3_gadget_ep0.c | 188 u16 length = le16_to_cpu(setup->wLength); in ep0_set_sel() 617 le16_to_cpu(setup->wLength)); in ep0_read_setup() 624 if (le16_to_cpu(setup->wLength) == 0) { in ep0_read_setup() 665 le16_to_cpu(setup.wLength) ? 0 : EP0_SETUPPKTRDY); in ep0_handle_setup() 684 } else if (le16_to_cpu(setup.wLength) == 0) { /* no data stage */ in ep0_handle_setup()
|
/drivers/usb/host/ |
D | ohci-s3c2410.c | 168 u16 wLength) in ohci_s3c2410_hub_control() argument 177 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control() 184 wIndex, buf, wLength); in ohci_s3c2410_hub_control() 233 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
|
D | xhci-hub.c | 56 u16 wLength) in xhci_create_usb3_bos_desc() argument 87 memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength)); in xhci_create_usb3_bos_desc() 95 if (wLength < USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE) in xhci_create_usb3_bos_desc() 96 return wLength; in xhci_create_usb3_bos_desc() 117 if (wLength < desc_size) in xhci_create_usb3_bos_desc() 118 return wLength; in xhci_create_usb3_bos_desc() 126 if (wLength < desc_size + ssa_size) in xhci_create_usb3_bos_desc() 127 return wLength; in xhci_create_usb3_bos_desc() 1101 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument 1134 (wLength < USB_DT_SS_HUB_SIZE || in xhci_hub_control() [all …]
|
D | ehci-brcm.c | 58 u16 wLength) in ehci_brcm_hub_control() argument 87 retval = ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ehci_brcm_hub_control()
|
D | ohci-da8xx.c | 34 u16 wValue, u16 wIndex, char *buf, u16 wLength); 301 u16 wIndex, char *buf, u16 wLength) in ohci_da8xx_hub_control() argument 361 wIndex, buf, wLength); in ohci_da8xx_hub_control()
|
D | ohci-at91.c | 327 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument 337 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control() 408 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
|
D | uhci-hub.c | 244 u16 wIndex, char *buf, u16 wLength) in uhci_hub_control() argument 409 retval = min_t(unsigned int, sizeof(root_hub_hub_des), wLength); in uhci_hub_control()
|
/drivers/usb/core/ |
D | devio.c | 1121 unsigned wLength; in do_proc_control() local 1128 wLength = ctrl->wLength; /* To suppress 64k PAGE_SIZE warning */ in do_proc_control() 1129 if (wLength > PAGE_SIZE) in do_proc_control() 1145 ctrl->wIndex, ctrl->wLength); in do_proc_control() 1146 if ((ctrl->bRequestType & USB_DIR_IN) && ctrl->wLength) { in do_proc_control() 1148 snoop_urb(dev, NULL, pipe, ctrl->wLength, tmo, SUBMIT, NULL, 0); in do_proc_control() 1153 tbuf, ctrl->wLength, tmo); in do_proc_control() 1157 if ((i > 0) && ctrl->wLength) { in do_proc_control() 1164 if (ctrl->wLength) { in do_proc_control() 1165 if (copy_from_user(tbuf, ctrl->data, ctrl->wLength)) { in do_proc_control() [all …]
|
/drivers/usb/renesas_usbhs/ |
D | mod_host.c | 1093 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_hub_feature() argument 1110 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_port_feature() argument 1119 if (wIndex > roothub_id || wLength != 0) in __usbhsh_hub_port_feature() 1195 u16 wIndex, char *buf, u16 wLength) in __usbhsh_hub_get_status() argument 1235 u16 wIndex, char *buf, u16 wLength) in usbhsh_hub_control() argument 1248 wValue, wIndex, buf, wLength); in usbhsh_hub_control() 1255 wValue, wIndex, buf, wLength); in usbhsh_hub_control() 1263 wValue, wIndex, buf, wLength); in usbhsh_hub_control()
|
/drivers/net/usb/ |
D | cdc_ncm.c | 1126 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp16() 1181 ndp32->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp32) + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_ndp32() 1328 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame() 1334 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame() 1336 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame() 1341 ndp.ndp32->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_fill_tx_frame() 1649 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp16() 1651 le16_to_cpu(ndp16->wLength)); in cdc_ncm_rx_verify_ndp16() 1655 ret = ((le16_to_cpu(ndp16->wLength) - in cdc_ncm_rx_verify_ndp16() 1685 if (le16_to_cpu(ndp32->wLength) < USB_CDC_NCM_NDP32_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp32() [all …]
|
/drivers/usb/cdns3/ |
D | ep0.c | 434 if (le16_to_cpu(ctrl_req->wLength) != 6) { in cdns3_req_ep0_set_sel() 436 ctrl_req->wLength); in cdns3_req_ep0_set_sel() 455 if (ctrl_req->wIndex || ctrl_req->wLength) in cdns3_req_ep0_set_isoch_delay() 550 if (le16_to_cpu(ctrl->wLength)) in cdns3_ep0_setup_phase()
|
D | trace.h | 180 __field(u16, wLength) 188 __entry->wLength = le16_to_cpu(ctrl->wLength); 193 __entry->wIndex, __entry->wLength)
|
/drivers/usb/gadget/function/ |
D | f_uac1_legacy.c | 391 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_intf_req() 428 u16 len = le16_to_cpu(ctrl->wLength); in audio_get_intf_req() 464 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_endpoint_req() 500 u16 len = le16_to_cpu(ctrl->wLength); in audio_get_endpoint_req() 530 u16 w_length = le16_to_cpu(ctrl->wLength); in f_audio_setup()
|
D | f_printer.c | 946 u16 w_length = le16_to_cpu(ctrl->wLength); in gprinter_req_match() 991 u16 wLength = le16_to_cpu(ctrl->wLength); in printer_func_setup() local 994 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup() 1022 value = min_t(u16, wLength, 1); in printer_func_setup() 1045 wValue, wIndex, wLength); in printer_func_setup() 1051 req->zero = value < wLength; in printer_func_setup()
|
/drivers/usb/c67x00/ |
D | c67x00-hcd.c | 67 u16 wIndex, char *buf, u16 wLength) in c67x00_hub_control() argument 215 len = min_t(unsigned int, sizeof(c67x00_hub_des), wLength); in c67x00_hub_control()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 188 ven_req.wLength = req_data->buf_size; in cx231xx_send_usb_command() 196 memset(req_data->p_buffer, 0x00, ven_req.wLength); in cx231xx_send_usb_command() 328 if ((ven_req->wLength > URB_MAX_CTRL_SIZE)) in cx231xx_send_vendor_cmd() 340 if ((ven_req->wLength > 4) && ((ven_req->bRequest == 0x4) || in cx231xx_send_vendor_cmd() 352 unsend_size = ven_req->wLength; in cx231xx_send_vendor_cmd() 386 ven_req->pBuff, ven_req->wLength, HZ); in cx231xx_send_vendor_cmd() 1500 ven_req.wLength = len; in cx231xx_send_gpio_cmd() 1511 memset(ven_req.pBuff, 0x00, ven_req.wLength); in cx231xx_send_gpio_cmd()
|
/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 410 if (!le16_to_cpu(bdc->setup_pkt.wLength) || in setup_first_bd_ep0() 1075 len = le16_to_cpu(setup_pkt->wLength); in bdc_xsf_ep0_setup_recv() 1389 u16 wLength; in ep0_set_sel() local 1392 wLength = le16_to_cpu(setup_pkt->wLength); in ep0_set_sel() 1393 if (unlikely(wLength != 6)) { in ep0_set_sel() 1394 dev_err(bdc->dev, "%s Wrong wLength:%d\n", __func__, wLength); in ep0_set_sel() 1589 if (!le16_to_cpu(setup_pkt->wLength)) { in bdc_xsf_ep0_status_start()
|