Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/drivers/usb/common/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A 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()
/OK3568_Linux_fs/kernel/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()
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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/include/uapi/linux/usb/
H A Dcdc.h302 __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 Dcdc.h302 __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 Dcdc.h302 __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 Dep0.c642 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 Dhub.c381 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 Dmusb_hcd.c470 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 Dep0.c743 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 Dtrace.h79 __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 Dmtu3_trace.h98 __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 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()
H A Dxhci-hub.c56 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 Dether.c1142 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 Dep0.c318 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 Ddwc2_udc_otg_xfer_dma.c913 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 Dr8a66597-hcd.c572 __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 Dstream.c344 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 Ddevio.c1111 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 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()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dcdc_ncm.c1123 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 Dau1x00_usb_ohci.c894 __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()

123456789