Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/drivers/usb/common/
Ddebug.c14 __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 …]
/Linux-v5.4/drivers/staging/wusbcore/
Drh.c163 u16 wLength) in wusbhc_rh_get_hub_descr() argument
168 if (wLength < length) in wusbhc_rh_get_hub_descr()
220 u16 wLength) in wusbhc_rh_get_hub_status() argument
326 u32 *_buf, u16 wLength) in wusbhc_rh_get_port_status() argument
347 u16 wIndex, char *buf, u16 wLength) in wusbhc_rh_control() argument
356 (struct usb_hub_descriptor *) buf, wLength); in wusbhc_rh_control()
362 result = wusbhc_rh_get_hub_status(wusbhc, (u32 *)buf, wLength); in wusbhc_rh_control()
375 (u32 *)buf, wLength); in wusbhc_rh_control()
382 wValue, wIndex, buf, wLength); in wusbhc_rh_control()
/Linux-v5.4/drivers/staging/greybus/
Dusb.c26 __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-v5.4/drivers/media/usb/gspca/
Ddtcs033.c21 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()
Dkinect.c102 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-v5.4/include/linux/usb/
Daudio-v3.h21 __le16 wLength; member
29 __le16 wLength; member
38 __le16 wLength; member
45 __le16 wLength; member
51 __le16 wLength; member
Dch9.h97 __u16 wLength);
/Linux-v5.4/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c339 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local
343 wLength = le16_to_cpu(crq->wLength); in ast_vhub_std_hub_request()
395 wLength); in ast_vhub_std_hub_request()
398 wIndex, wLength); in ast_vhub_std_hub_request()
701 u16 wValue, wIndex, wLength; in ast_vhub_class_hub_request() local
705 wLength = le16_to_cpu(crq->wLength); in ast_vhub_class_hub_request()
718 return ast_vhub_rep_desc(ep, USB_DT_HUB, wLength); in ast_vhub_class_hub_request()
/Linux-v5.4/include/uapi/linux/usb/
Dcdc.h302 __le16 wLength; member
320 __le16 wLength; member
380 __le16 wLength; member
394 __le16 wLength; member
/Linux-v5.4/drivers/usb/dwc3/
Dep0.c701 u16 wLength; in dwc3_ep0_set_sel() local
706 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel()
708 if (wLength != 6) { in dwc3_ep0_set_sel()
710 wLength); in dwc3_ep0_set_sel()
733 u16 wLength; in dwc3_ep0_set_isoch_delay() local
738 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay()
741 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay()
795 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
Dtrace.h79 __field(__u16, wLength)
87 __entry->wLength = le16_to_cpu(ctrl->wLength);
92 __entry->wIndex, __entry->wLength)
/Linux-v5.4/drivers/usb/host/
Dohci-s3c2410.c168 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()
Dxhci-hub.c56 u16 wLength) in xhci_create_usb3_bos_desc() argument
78 memcpy(buf, &usb_bos_descriptor, min(desc_size, wLength)); in xhci_create_usb3_bos_desc()
86 if (wLength < USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE) in xhci_create_usb3_bos_desc()
87 return wLength; in xhci_create_usb3_bos_desc()
108 if (wLength < desc_size) in xhci_create_usb3_bos_desc()
109 return wLength; in xhci_create_usb3_bos_desc()
117 if (wLength < desc_size + ssa_size) in xhci_create_usb3_bos_desc()
118 return wLength; in xhci_create_usb3_bos_desc()
1069 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument
1102 (wLength < USB_DT_SS_HUB_SIZE || in xhci_hub_control()
[all …]
Dohci-da8xx.c34 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-v5.4/drivers/usb/mtu3/
Dmtu3_trace.h98 __field(__u16, wLength)
105 __entry->wLength = le16_to_cpu(setup->wLength);
109 __entry->wValue, __entry->wIndex, __entry->wLength
Dmtu3_gadget_ep0.c179 u16 length = le16_to_cpu(setup->wLength); in ep0_set_sel()
609 le16_to_cpu(setup->wLength)); in ep0_read_setup()
616 if (le16_to_cpu(setup->wLength) == 0) { in ep0_read_setup()
658 le16_to_cpu(setup.wLength) ? 0 : EP0_SETUPPKTRDY); in ep0_handle_setup()
669 } else if (le16_to_cpu(setup.wLength) == 0) { /* no data stage */ in ep0_handle_setup()
/Linux-v5.4/drivers/staging/wusbcore/include/
Dwusb-wa.h207 __le16 wLength; member
219 __le16 wLength; member
/Linux-v5.4/sound/usb/
Dstream.c339 len = le16_to_cpu(cluster->wLength); in convert_chmap_v3()
348 cs_len = le16_to_cpu(cs_desc->wLength); in convert_chmap_v3()
872 u16 cluster_id, wLength; in snd_usb_get_audioformat_uac3() local
977 wLength = le16_to_cpu(hc_header.wLength); in snd_usb_get_audioformat_uac3()
978 cluster = kzalloc(wLength, GFP_KERNEL); in snd_usb_get_audioformat_uac3()
987 cluster, wLength); in snd_usb_get_audioformat_uac3()
991 } else if (err != wLength) { in snd_usb_get_audioformat_uac3()
/Linux-v5.4/drivers/usb/core/
Ddevio.c1089 unsigned wLength; in proc_control() local
1098 wLength = ctrl.wLength; /* To suppress 64k PAGE_SIZE warning */ in proc_control()
1099 if (wLength > PAGE_SIZE) in proc_control()
1115 ctrl.wIndex, ctrl.wLength); in proc_control()
1117 if (ctrl.wLength && !access_ok(ctrl.data, in proc_control()
1118 ctrl.wLength)) { in proc_control()
1123 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0); in proc_control()
1128 tbuf, ctrl.wLength, tmo); in proc_control()
1132 if ((i > 0) && ctrl.wLength) { in proc_control()
1139 if (ctrl.wLength) { in proc_control()
[all …]
/Linux-v5.4/drivers/usb/renesas_usbhs/
Dmod_host.c1093 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-v5.4/include/linux/
Dusbdevice_fs.h42 u16 wLength; member
/Linux-v5.4/drivers/staging/uwb/include/
Dspec.h609 __le16 wLength; member
616 __le16 wLength; member
749 __le16 wLength; member
/Linux-v5.4/drivers/usb/cdns3/
Dtrace.h174 __field(u16, wLength)
182 __entry->wLength = le16_to_cpu(ctrl->wLength);
187 __entry->wIndex, __entry->wLength)
/Linux-v5.4/drivers/usb/gadget/function/
Df_printer.c898 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()
974 value = min_t(u16, wLength, 1); in printer_func_setup()
997 wValue, wIndex, wLength); in printer_func_setup()
1003 req->zero = value < wLength; in printer_func_setup()
/Linux-v5.4/drivers/usb/c67x00/
Dc67x00-hcd.c67 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()

1234567