| /OK3568_Linux_fs/kernel/drivers/usb/common/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/usb/ |
| H A D | cdc.h | 302 __le16 wLength; member 320 __le16 wLength; member 380 __le16 wLength; member 394 __le16 wLength; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/usb/ |
| H A D | cdc.h | 302 __le16 wLength; member 320 __le16 wLength; member 380 __le16 wLength; member 394 __le16 wLength; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/usb/ |
| H A D | cdc.h | 302 __le16 wLength; member 320 __le16 wLength; member 380 __le16 wLength; member 394 __le16 wLength; member
|
| /OK3568_Linux_fs/u-boot/drivers/usb/dwc3/ |
| H A D | ep0.c | 642 u16 wLength; in dwc3_ep0_set_sel() local 647 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 649 if (wLength != 6) { in dwc3_ep0_set_sel() 651 wLength); in dwc3_ep0_set_sel() 674 u16 wLength; in dwc3_ep0_set_isoch_delay() local 679 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 682 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay() 746 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/musb/ |
| H A D | musb_hcd.c | 470 u16 wLength; in musb_submit_rh_msg() local 481 wLength = swap_16(cmd->length); in musb_submit_rh_msg() 485 bmRType_bReq, wValue, wIndex, wLength); in musb_submit_rh_msg() 645 debug("RH_GET_DESCRIPTOR: %x, %d\n", wValue, wLength); in musb_submit_rh_msg() 652 wLength)); in musb_submit_rh_msg() 660 wLength)); in musb_submit_rh_msg() 668 wLength)); in musb_submit_rh_msg() 676 wLength)); in musb_submit_rh_msg() 705 min_t(unsigned int, data_buf[0], wLength)); in musb_submit_rh_msg()
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc3/ |
| H A D | ep0.c | 743 u16 wLength; in dwc3_ep0_set_sel() local 748 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 750 if (wLength != 6) { in dwc3_ep0_set_sel() 752 wLength); in dwc3_ep0_set_sel() 775 u16 wLength; in dwc3_ep0_set_isoch_delay() local 780 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 783 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay() 838 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
|
| H A D | trace.h | 79 __field(__u16, wLength) 87 __entry->wLength = le16_to_cpu(ctrl->wLength); 92 __entry->wIndex, __entry->wLength)
|
| /OK3568_Linux_fs/kernel/drivers/usb/mtu3/ |
| H A D | mtu3_trace.h | 98 __field(__u16, wLength) 105 __entry->wLength = le16_to_cpu(setup->wLength); 109 __entry->wValue, __entry->wIndex, __entry->wLength
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A 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()
|
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | ether.c | 1142 event->wLength = __constant_cpu_to_le16(8); in eth_status_complete() 1192 event->wLength = 0; in issue_start_status() 1255 u16 wLength = le16_to_cpu(ctrl->wLength); in eth_setup() local 1274 value = min(wLength, (u16) sizeof device_desc); in eth_setup() 1280 value = min(wLength, (u16) sizeof dev_qualifier); in eth_setup() 1294 value = min(wLength, (u16) value); in eth_setup() 1302 value = min(wLength, (u16) value); in eth_setup() 1321 value = min(wLength, (u16) 1); in eth_setup() 1412 value = min(wLength, (u16) 1); in eth_setup() 1423 || wLength != 0 in eth_setup() [all …]
|
| H A D | ep0.c | 318 min(report_descriptor->wLength, in ep0_get_descriptor() 405 le16_to_cpu (request->wLength), in ep0_recv_setup() 483 le16_to_cpu (request->wLength), in ep0_recv_setup()
|
| H A D | dwc2_udc_otg_xfer_dma.c | 913 if (crq->wLength > 2) { in dwc2_udc_get_status() 1165 if (usb_ctrl->wLength != 0) { in dwc2_udc_clear_feature() 1229 if (usb_ctrl->wLength != 0) { in dwc2_udc_set_feature() 1308 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup() 1326 usb_ctrl->wLength != 1) { in dwc2_ep0_setup() 1332 usb_ctrl->wLength); in dwc2_ep0_setup() 1339 usb_ctrl->wLength != 0) { in dwc2_ep0_setup() 1343 __func__, usb_ctrl->wLength); in dwc2_ep0_setup()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | r8a66597-hcd.c | 572 __u16 wLength; in r8a66597_submit_rh_msg() local 584 wLength = cpu_to_le16 (cmd->length); in r8a66597_submit_rh_msg() 643 wLength)); in r8a66597_submit_rh_msg() 651 wLength)); in r8a66597_submit_rh_msg() 660 wLength)); in r8a66597_submit_rh_msg() 668 wLength)); in r8a66597_submit_rh_msg() 705 min_t(unsigned int, data[0], wLength)); in r8a66597_submit_rh_msg()
|
| /OK3568_Linux_fs/kernel/sound/usb/ |
| H A D | stream.c | 344 len = le16_to_cpu(cluster->wLength); in convert_chmap_v3() 353 cs_len = le16_to_cpu(cs_desc->wLength); in convert_chmap_v3() 881 u16 cluster_id, wLength; in snd_usb_get_audioformat_uac3() local 986 wLength = le16_to_cpu(hc_header.wLength); in snd_usb_get_audioformat_uac3() 987 cluster = kzalloc(wLength, GFP_KERNEL); in snd_usb_get_audioformat_uac3() 996 cluster, wLength); in snd_usb_get_audioformat_uac3() 1000 } else if (err != wLength) { in snd_usb_get_audioformat_uac3()
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A D | devio.c | 1111 unsigned wLength; in do_proc_control() local 1118 wLength = ctrl->wLength; /* To suppress 64k PAGE_SIZE warning */ in do_proc_control() 1119 if (wLength > PAGE_SIZE) in do_proc_control() 1135 ctrl->wIndex, ctrl->wLength); in do_proc_control() 1136 if ((ctrl->bRequestType & USB_DIR_IN) && ctrl->wLength) { in do_proc_control() 1138 snoop_urb(dev, NULL, pipe, ctrl->wLength, tmo, SUBMIT, NULL, 0); in do_proc_control() 1143 tbuf, ctrl->wLength, tmo); in do_proc_control() 1147 if ((i > 0) && ctrl->wLength) { in do_proc_control() 1154 if (ctrl->wLength) { in do_proc_control() 1155 if (copy_from_user(tbuf, ctrl->data, ctrl->wLength)) { in do_proc_control() [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/net/usb/ |
| H A D | cdc_ncm.c | 1123 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp16() 1178 ndp32->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp32) + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_ndp32() 1327 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame() 1333 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame() 1335 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame() 1340 ndp.ndp32->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_fill_tx_frame() 1643 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp16() 1645 le16_to_cpu(ndp16->wLength)); in cdc_ncm_rx_verify_ndp16() 1649 ret = ((le16_to_cpu(ndp16->wLength) - in cdc_ncm_rx_verify_ndp16() 1679 if (le16_to_cpu(ndp32->wLength) < USB_CDC_NCM_NDP32_LENGTH_MIN) { in cdc_ncm_rx_verify_ndp32() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/mips/mach-au1x00/ |
| H A D | au1x00_usb_ohci.c | 894 __u16 wLength; in ohci_submit_rh_msg() local 910 wLength = m16_swap (cmd->length); in ohci_submit_rh_msg() 913 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg() 999 wLength)); in ohci_submit_rh_msg() 1006 wLength)); in ohci_submit_rh_msg() 1014 wLength)); in ohci_submit_rh_msg() 1023 wLength)); in ohci_submit_rh_msg() 1061 min_t(unsigned int, data_buf [0], wLength)); in ohci_submit_rh_msg()
|