/openbmc/linux/drivers/usb/common/ |
H A 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 …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A 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()
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/usb/cdns3/ |
H A 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() 448 len = le16_to_cpu(ctrl->wLength); in cdnsp_setup_analyze()
|
/openbmc/linux/include/linux/usb/ |
H A D | audio-v3.h | 21 __le16 wLength; member 29 __le16 wLength; member 38 __le16 wLength; member 45 __le16 wLength; member 51 __le16 wLength; member
|
H A D | ch9.h | 57 __u16 wLength);
|
/openbmc/linux/include/uapi/linux/usb/ |
H A D | cdc.h | 306 __le16 wLength; member 333 __le16 wLength; member 393 __le16 wLength; member 407 __le16 wLength; member
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | ep0.c | 638 u16 wLength; in dwc3_ep0_set_sel() local 643 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 645 if (wLength != 6) { in dwc3_ep0_set_sel() 647 wLength); in dwc3_ep0_set_sel() 670 u16 wLength; in dwc3_ep0_set_isoch_delay() local 675 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 678 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay() 742 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 404 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local 408 wLength = le16_to_cpu(crq->wLength); in ast_vhub_std_hub_request() 462 wLength); in ast_vhub_std_hub_request() 465 wIndex, wLength); in ast_vhub_std_hub_request() 768 u16 wValue, wIndex, wLength; in ast_vhub_class_hub_request() local 772 wLength = le16_to_cpu(crq->wLength); in ast_vhub_class_hub_request() 785 return ast_vhub_rep_desc(ep, USB_DT_HUB, wLength); in ast_vhub_class_hub_request()
|
/openbmc/u-boot/drivers/usb/musb/ |
H A D | musb_hcd.c | 469 u16 wLength; in musb_submit_rh_msg() local 480 wLength = swap_16(cmd->length); in musb_submit_rh_msg() 484 bmRType_bReq, wValue, wIndex, wLength); in musb_submit_rh_msg() 644 debug("RH_GET_DESCRIPTOR: %x, %d\n", wValue, wLength); in musb_submit_rh_msg() 651 wLength)); in musb_submit_rh_msg() 659 wLength)); in musb_submit_rh_msg() 667 wLength)); in musb_submit_rh_msg() 675 wLength)); in musb_submit_rh_msg() 704 min_t(unsigned int, data_buf[0], wLength)); in musb_submit_rh_msg()
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | ep0.c | 741 u16 wLength; in dwc3_ep0_set_sel() local 746 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 748 if (wLength != 6) { in dwc3_ep0_set_sel() 750 wLength); in dwc3_ep0_set_sel() 773 u16 wLength; in dwc3_ep0_set_isoch_delay() local 778 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 781 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay() 835 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
|
H A D | trace.h | 80 __field(__u16, wLength) 87 __entry->wLength = le16_to_cpu(ctrl->wLength); 92 __entry->wIndex, __entry->wLength)
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3_trace.h | 96 __field(__u16, wLength) 103 __entry->wLength = le16_to_cpu(setup->wLength); 107 __entry->wValue, __entry->wIndex, __entry->wLength
|
/openbmc/linux/drivers/usb/host/ |
H A 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()
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 599 __u16 wLength; in r8a66597_submit_rh_msg() local 611 wLength = cpu_to_le16 (cmd->length); in r8a66597_submit_rh_msg() 670 wLength)); in r8a66597_submit_rh_msg() 678 wLength)); in r8a66597_submit_rh_msg() 687 wLength)); in r8a66597_submit_rh_msg() 695 wLength)); in r8a66597_submit_rh_msg() 731 min_t(unsigned int, data[0], wLength)); in r8a66597_submit_rh_msg()
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ether.c | 1137 event->wLength = __constant_cpu_to_le16(8); in eth_status_complete() 1187 event->wLength = 0; in issue_start_status() 1250 u16 wLength = le16_to_cpu(ctrl->wLength); in eth_setup() local 1269 value = min(wLength, (u16) sizeof device_desc); in eth_setup() 1275 value = min(wLength, (u16) sizeof dev_qualifier); in eth_setup() 1289 value = min(wLength, (u16) value); in eth_setup() 1297 value = min(wLength, (u16) value); in eth_setup() 1316 value = min(wLength, (u16) 1); in eth_setup() 1407 value = min(wLength, (u16) 1); in eth_setup() 1418 || wLength != 0 in eth_setup() [all …]
|
H A D | ep0.c | 317 min(report_descriptor->wLength, in ep0_get_descriptor() 404 le16_to_cpu (request->wLength), in ep0_recv_setup() 482 le16_to_cpu (request->wLength), in ep0_recv_setup()
|
H A D | aspeed_usbtty.c | 339 int wLength = le16_to_cpu(request->wLength); in aspeed_udc_ep0_in() local 357 (ep0_urb->actual_length == wLength || in aspeed_udc_ep0_in() 418 if (ep0_urb->device_request.wLength) { in aspeed_udc_setup_handle()
|
/openbmc/linux/sound/usb/ |
H A D | stream.c | 342 len = le16_to_cpu(cluster->wLength); in convert_chmap_v3() 351 cs_len = le16_to_cpu(cs_desc->wLength); in convert_chmap_v3() 879 u16 cluster_id, wLength; in snd_usb_get_audioformat_uac3() local 984 wLength = le16_to_cpu(hc_header.wLength); in snd_usb_get_audioformat_uac3() 985 cluster = kzalloc(wLength, GFP_KERNEL); in snd_usb_get_audioformat_uac3() 994 cluster, wLength); in snd_usb_get_audioformat_uac3() 998 } else if (err != wLength) { in snd_usb_get_audioformat_uac3()
|
/openbmc/linux/drivers/usb/renesas_usbhs/ |
H A 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()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | renesas_usbf.c | 2240 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 != 0)) in usbf_req_clear_set_feature() 2320 if (wLength != 0) in usbf_req_clear_set_feature() 2373 u16 wLength; in usbf_req_set_address() local [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | devio.c | 1172 unsigned int wLength, actlen; in do_proc_control() local 1181 wLength = ctrl->wLength; /* To suppress 64k PAGE_SIZE warning */ in do_proc_control() 1182 if (wLength > PAGE_SIZE) in do_proc_control() 1204 dr->wLength = cpu_to_le16(ctrl->wLength); in do_proc_control() 1211 ctrl->wIndex, ctrl->wLength); in do_proc_control() 1213 if ((ctrl->bRequestType & USB_DIR_IN) && wLength) { in do_proc_control() 1216 wLength, NULL, NULL); in do_proc_control() 1217 snoop_urb(dev, NULL, pipe, wLength, tmo, SUBMIT, NULL, 0); in do_proc_control() 1234 if (wLength) { in do_proc_control() 1235 if (copy_from_user(tbuf, ctrl->data, wLength)) { in do_proc_control() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | cdc_ncm.c | 1140 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp16() 1195 ndp32->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp32) + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_ndp32() 1342 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame() 1348 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame() 1350 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame() 1355 ndp.ndp32->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_fill_tx_frame() 1663 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp16() 1665 le16_to_cpu(ndp16->wLength)); in cdc_ncm_rx_verify_ndp16() 1669 ret = ((le16_to_cpu(ndp16->wLength) - in cdc_ncm_rx_verify_ndp16() 1699 if (le16_to_cpu(ndp32->wLength) < USB_CDC_NCM_NDP32_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp32() [all …]
|
/openbmc/linux/include/linux/ |
H A D | usbdevice_fs.h | 42 u16 wLength; member
|