| /Linux-v6.1/drivers/usb/common/ |
| D | debug.c | 15 __u16 wLength, char *str, size_t size) in usb_decode_get_status() argument 19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status() 24 wIndex, wLength); in usb_decode_get_status() 107 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor() argument 167 s, wValue & 0xff, wLength); in usb_decode_get_set_descriptor() 170 static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size) in usb_decode_get_configuration() argument 172 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration() 180 static void usb_decode_get_intf(__u16 wIndex, __u16 wLength, char *str, in usb_decode_get_intf() argument 184 wIndex, wLength); in usb_decode_get_intf() 194 static void usb_decode_synch_frame(__u16 wIndex, __u16 wLength, in usb_decode_synch_frame() argument [all …]
|
| /Linux-v6.1/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()
|
| /Linux-v6.1/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()
|
| /Linux-v6.1/drivers/usb/cdns3/ |
| D | cdnsp-ep0.c | 345 u16 wLength; in cdnsp_ep0_set_sel() local 350 wLength = le16_to_cpu(ctrl->wLength); in cdnsp_ep0_set_sel() 352 if (wLength != 6) { in cdnsp_ep0_set_sel() 354 wLength); in cdnsp_ep0_set_sel() 371 if (le16_to_cpu(ctrl->wIndex) || le16_to_cpu(ctrl->wLength)) in cdnsp_ep0_set_isoch_delay() 463 len = le16_to_cpu(ctrl->wLength); in cdnsp_setup_analyze()
|
| /Linux-v6.1/include/linux/usb/ |
| D | audio-v3.h | 21 __le16 wLength; member 29 __le16 wLength; member 38 __le16 wLength; member 45 __le16 wLength; member 51 __le16 wLength; member
|
| D | ch9.h | 60 __u16 wLength);
|
| /Linux-v6.1/include/uapi/linux/usb/ |
| D | cdc.h | 306 __le16 wLength; member 333 __le16 wLength; member 393 __le16 wLength; member 407 __le16 wLength; member
|
| /Linux-v6.1/drivers/usb/gadget/udc/aspeed-vhub/ |
| D | hub.c | 405 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local 409 wLength = le16_to_cpu(crq->wLength); in ast_vhub_std_hub_request() 463 wLength); in ast_vhub_std_hub_request() 466 wIndex, wLength); in ast_vhub_std_hub_request() 769 u16 wValue, wIndex, wLength; in ast_vhub_class_hub_request() local 773 wLength = le16_to_cpu(crq->wLength); in ast_vhub_class_hub_request() 786 return ast_vhub_rep_desc(ep, USB_DT_HUB, wLength); in ast_vhub_class_hub_request()
|
| /Linux-v6.1/drivers/usb/mtu3/ |
| D | mtu3_trace.h | 96 __field(__u16, wLength) 103 __entry->wLength = le16_to_cpu(setup->wLength); 107 __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()
|
| /Linux-v6.1/drivers/usb/host/ |
| D | ohci-s3c2410.c | 166 u16 wLength) in ohci_s3c2410_hub_control() argument 175 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control() 182 wIndex, buf, wLength); in ohci_s3c2410_hub_control() 231 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
|
| D | ehci-brcm.c | 58 u16 wLength) in ehci_brcm_hub_control() argument 91 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()
|
| /Linux-v6.1/drivers/usb/dwc3/ |
| D | ep0.c | 732 u16 wLength; in dwc3_ep0_set_sel() local 737 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 739 if (wLength != 6) { in dwc3_ep0_set_sel() 741 wLength); in dwc3_ep0_set_sel() 764 u16 wLength; in dwc3_ep0_set_isoch_delay() local 769 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 772 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay() 826 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
|
| D | trace.h | 81 __field(__u16, wLength) 89 __entry->wLength = le16_to_cpu(ctrl->wLength); 94 __entry->wIndex, __entry->wLength)
|
| /Linux-v6.1/sound/usb/ |
| D | stream.c | 339 len = le16_to_cpu(cluster->wLength); in convert_chmap_v3() 348 cs_len = le16_to_cpu(cs_desc->wLength); in convert_chmap_v3() 876 u16 cluster_id, wLength; in snd_usb_get_audioformat_uac3() local 981 wLength = le16_to_cpu(hc_header.wLength); in snd_usb_get_audioformat_uac3() 982 cluster = kzalloc(wLength, GFP_KERNEL); in snd_usb_get_audioformat_uac3() 991 cluster, wLength); in snd_usb_get_audioformat_uac3() 995 } else if (err != wLength) { in snd_usb_get_audioformat_uac3()
|
| /Linux-v6.1/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()
|
| /Linux-v6.1/drivers/usb/core/ |
| D | devio.c | 1163 unsigned int wLength, actlen; in do_proc_control() local 1172 wLength = ctrl->wLength; /* To suppress 64k PAGE_SIZE warning */ in do_proc_control() 1173 if (wLength > PAGE_SIZE) in do_proc_control() 1195 dr->wLength = cpu_to_le16(ctrl->wLength); in do_proc_control() 1202 ctrl->wIndex, ctrl->wLength); in do_proc_control() 1204 if ((ctrl->bRequestType & USB_DIR_IN) && wLength) { in do_proc_control() 1207 wLength, NULL, NULL); in do_proc_control() 1208 snoop_urb(dev, NULL, pipe, wLength, tmo, SUBMIT, NULL, 0); in do_proc_control() 1225 if (wLength) { in do_proc_control() 1226 if (copy_from_user(tbuf, ctrl->data, wLength)) { in do_proc_control() [all …]
|
| /Linux-v6.1/include/linux/ |
| D | usbdevice_fs.h | 42 u16 wLength; member
|
| /Linux-v6.1/drivers/net/usb/ |
| D | cdc_ncm.c | 1136 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp16() 1191 ndp32->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp32) + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_ndp32() 1340 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame() 1346 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame() 1348 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame() 1353 ndp.ndp32->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_fill_tx_frame() 1656 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp16() 1658 le16_to_cpu(ndp16->wLength)); in cdc_ncm_rx_verify_ndp16() 1662 ret = ((le16_to_cpu(ndp16->wLength) - in cdc_ncm_rx_verify_ndp16() 1692 if (le16_to_cpu(ndp32->wLength) < USB_CDC_NCM_NDP32_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp32() [all …]
|
| /Linux-v6.1/drivers/net/wwan/ |
| D | mhi_wwan_mbim.c | 125 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) in mbim_tx_fixup() 224 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in mbim_rx_verify_ndp16() 226 le16_to_cpu(ndp16->wLength)); in mbim_rx_verify_ndp16() 230 ret = ((le16_to_cpu(ndp16->wLength) - sizeof(struct usb_cdc_ncm_ndp16)) in mbim_rx_verify_ndp16()
|
| /Linux-v6.1/drivers/usb/chipidea/ |
| D | host.c | 246 u16 wLength in ci_ehci_hub_control() argument 267 buf, wLength, &done, &flags); in ci_ehci_hub_control() 324 return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ci_ehci_hub_control()
|
| /Linux-v6.1/drivers/hid/ |
| D | hid-thrustmaster.c | 134 .wLength = cpu_to_le16(0x0010) 142 .wLength = 0
|
| /Linux-v6.1/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()
|