Home
last modified time | relevance | path

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

123456

/linux/drivers/usb/common/
H A Ddebug.c15 __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
201 usb_decode_set_sel(__u16 wLength,char * str,size_t size) usb_decode_set_sel() argument
213 usb_decode_ctrl_generic(char * str,size_t size,__u8 bRequestType,__u8 bRequest,__u16 wValue,__u16 wIndex,__u16 wLength) usb_decode_ctrl_generic() argument
232 usb_decode_ctrl_standard(char * str,size_t size,__u8 bRequestType,__u8 bRequest,__u16 wValue,__u16 wIndex,__u16 wLength) usb_decode_ctrl_standard() argument
302 usb_decode_ctrl(char * str,size_t size,__u8 bRequestType,__u8 bRequest,__u16 wValue,__u16 wIndex,__u16 wLength) usb_decode_ctrl() argument
[all...]
/linux/drivers/media/usb/gspca/
H A 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()
290 /* -- bRequest,wValue,wIndex,wLength */
414 /* -- bRequest,wValue,wIndex,wLength */
H A 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/drivers/usb/cdns3/
H A Dcdnsp-ep0.c345 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()
460 len = le16_to_cpu(ctrl->wLength); in cdnsp_setup_analyze()
H A Dcdns3-trace.h177 __field(u16, wLength)
184 __entry->wLength = le16_to_cpu(ctrl->wLength);
189 __entry->wIndex, __entry->wLength)
/linux/include/linux/usb/
H A Daudio-v3.h21 __le16 wLength; member
29 __le16 wLength; member
38 __le16 wLength; member
45 __le16 wLength; member
51 __le16 wLength; member
H A Dch9.h57 __u16 wLength);
/linux/include/uapi/linux/usb/
H A Dcdc.h306 __le16 wLength; member
333 __le16 wLength; member
393 __le16 wLength; member
407 __le16 wLength; member
/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c405 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/sound/usb/
H A Dstream.c342 len = le16_to_cpu(cluster->wLength); in convert_chmap_v3()
354 cs_len = le16_to_cpu(cs_desc->wLength); in convert_chmap_v3()
893 u16 cluster_id, wLength, cluster_wLength; in snd_usb_get_audioformat_uac3() local
999 wLength = le16_to_cpu(hc_header.wLength); in snd_usb_get_audioformat_uac3()
1000 if (wLength < sizeof(cluster)) in snd_usb_get_audioformat_uac3()
1002 cluster = kzalloc(wLength, GFP_KERNEL); in snd_usb_get_audioformat_uac3()
1011 cluster, wLength); in snd_usb_get_audioformat_uac3()
1015 } else if (err != wLength) { in snd_usb_get_audioformat_uac3()
1023 cluster_wLength = le16_to_cpu(cluster->wLength); in snd_usb_get_audioformat_uac3()
1025 cluster_wLength > wLength) { in snd_usb_get_audioformat_uac3()
/linux/drivers/usb/host/
H A Dohci-s3c2410.c166 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()
H A Dohci-da8xx.c35 u16 wValue, u16 wIndex, char *buf, u16 wLength);
302 u16 wIndex, char *buf, u16 wLength) in ohci_da8xx_hub_control() argument
362 wIndex, buf, wLength); in ohci_da8xx_hub_control()
H A Dxhci-hub.c37 u16 wLength) in xhci_create_usb3x_bos_desc() argument
98 if (wLength < USB_DT_BOS_SIZE + USB_DT_USB_SS_CAP_SIZE) in xhci_create_usb3x_bos_desc()
99 return wLength; in xhci_create_usb3x_bos_desc()
122 if (wLength < le16_to_cpu(bos->wTotalLength)) in xhci_create_usb3x_bos_desc()
123 return wLength; in xhci_create_usb3x_bos_desc()
1207 u16 wIndex, char *buf, u16 wLength) in xhci_hub_control() argument
1242 (wLength < USB_DT_SS_HUB_SIZE || in xhci_hub_control()
1258 retval = xhci_create_usb3x_bos_desc(xhci, buf, wLength); in xhci_hub_control()
1287 if (hcd->speed < HCD_USB31 || wLength != 8) { in xhci_hub_control()
/linux/drivers/usb/mtu3/
H A Dmtu3_trace.h96 __field(__u16, wLength)
103 __entry->wLength = le16_to_cpu(setup->wLength);
107 __entry->wValue, __entry->wIndex, __entry->wLength
H A Dmtu3_gadget_ep0.c188 u16 length = le16_to_cpu(setup->wLength); in ep0_set_sel()
191 dev_err(mtu->dev, "%s wrong wLength:%d\n", 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/drivers/usb/dwc3/
H A Dtrace.h80 __field(__u16, wLength)
87 __entry->wLength = le16_to_cpu(ctrl->wLength);
92 __entry->wIndex, __entry->wLength)
/linux/drivers/usb/renesas_usbhs/
H A 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/drivers/usb/gadget/udc/
H A Drenesas_usbf.c2240 u16 wLength; in usbf_req_get_status() local
2245 wLength = le16_to_cpu(ctrlrequest->wLength); in usbf_req_get_status()
2250 if ((wValue != 0) || (wIndex != 0) || (wLength != 2)) in usbf_req_get_status()
2263 if ((wValue != 0) || (wLength != 2)) in usbf_req_get_status()
2276 if ((wValue != 0) || (wLength != 2)) in usbf_req_get_status()
2300 u16 wLength; in usbf_req_clear_set_feature() local
2305 wLength = le16_to_cpu(ctrlrequest->wLength); in usbf_req_clear_set_feature()
2310 if ((wIndex != 0) || (wLength ! in usbf_req_clear_set_feature()
2373 u16 wLength; usbf_req_set_address() local
2409 u16 wLength; usbf_req_set_configuration() local
[all...]
/linux/drivers/usb/core/
H A Ddevio.c1175 unsigned int wLength, actlen; in do_proc_control() local
1184 wLength = ctrl->wLength; /* To suppress 64k PAGE_SIZE warning */ in do_proc_control()
1185 if (wLength > PAGE_SIZE) in do_proc_control()
1207 dr->wLength = cpu_to_le16(ctrl->wLength); in do_proc_control()
1212 "wIndex=%04x wLength=%04x\n", in do_proc_control()
1214 ctrl->wIndex, ctrl->wLength); in do_proc_control()
1216 if ((ctrl->bRequestType & USB_DIR_IN) && wLength) { in do_proc_control()
1219 wLength, NUL in do_proc_control()
[all...]
H A Durb.c410 !setup->wLength; in usb_submit_urb()
414 if (le16_to_cpu(setup->wLength) != urb->transfer_buffer_length) { in usb_submit_urb()
416 le16_to_cpu(setup->wLength), in usb_submit_urb()
/linux/include/linux/
H A Dusbdevice_fs.h42 u16 wLength; member
/linux/drivers/net/usb/
H A Dcdc_ncm.c1144 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp16()
1199 ndp32->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp32) + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_ndp32()
1346 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame()
1352 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame()
1354 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame()
1359 ndp.ndp32->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_fill_tx_frame()
1667 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp16()
1669 le16_to_cpu(ndp16->wLength)); in cdc_ncm_rx_verify_ndp16()
1673 ret = ((le16_to_cpu(ndp16->wLength) - in cdc_ncm_rx_verify_ndp16()
1703 if (le16_to_cpu(ndp32->wLength) < USB_CDC_NCM_NDP32_LENGTH_MI in cdc_ncm_rx_verify_ndp32()
[all...]
/linux/drivers/usb/chipidea/
H A Dhost.c247 u16 wLength in ci_ehci_hub_control() argument
274 buf, wLength, &done, &flags); in ci_ehci_hub_control()
331 return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ci_ehci_hub_control()
/linux/drivers/hid/
H A Dhid-thrustmaster.c134 .wLength = cpu_to_le16(0x0010)
142 .wLength = 0
/linux/drivers/usb/c67x00/
H A 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()

123456