| /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 …]
|
| /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()
|
| /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()
|
| /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() 460 len = le16_to_cpu(ctrl->wLength); in cdnsp_setup_analyze()
|
| H A D | cdns3-ep0.c | 434 if (le16_to_cpu(ctrl_req->wLength) != 6) { in cdns3_req_ep0_set_sel() 436 ctrl_req->wLength); in cdns3_req_ep0_set_sel() 455 if (ctrl_req->wIndex || ctrl_req->wLength) in cdns3_req_ep0_set_isoch_delay() 550 if (le16_to_cpu(ctrl->wLength)) in cdns3_ep0_setup_phase()
|
| /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);
|
| /linux/include/uapi/linux/usb/ |
| H A D | cdc.h | 310 __le16 wLength; member 337 __le16 wLength; member 397 __le16 wLength; member 411 __le16 wLength; member
|
| H A D | tmc.h | 49 __u16 wLength; member
|
| /linux/sound/usb/ |
| H A D | stream.c | 343 len = le16_to_cpu(cluster->wLength); in convert_chmap_v3() 355 cs_len = le16_to_cpu(cs_desc->wLength); in convert_chmap_v3() 890 u16 cluster_id, wLength, cluster_wLength; in snd_usb_get_audioformat_uac3() 996 wLength = le16_to_cpu(hc_header.wLength); in snd_usb_get_audioformat_uac3() 997 if (wLength < sizeof(*cluster)) in snd_usb_get_audioformat_uac3() 999 cluster = kzalloc(wLength, GFP_KERNEL); in snd_usb_get_audioformat_uac3() 1008 cluster, wLength); in snd_usb_get_audioformat_uac3() 1012 } else if (err != wLength) { in snd_usb_get_audioformat_uac3() 1020 cluster_wLength = le16_to_cpu(cluster->wLength); in snd_usb_get_audioformat_uac3() 899 u16 cluster_id, wLength, cluster_wLength; snd_usb_get_audioformat_uac3() local [all...] |
| /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()
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | renesas_usbf.c | 2239 u16 wLength; in usbf_req_get_status() local 2244 wLength = le16_to_cpu(ctrlrequest->wLength); in usbf_req_get_status() 2249 if ((wValue != 0) || (wIndex != 0) || (wLength != 2)) in usbf_req_get_status() 2262 if ((wValue != 0) || (wLength != 2)) in usbf_req_get_status() 2275 if ((wValue != 0) || (wLength != 2)) in usbf_req_get_status() 2299 u16 wLength; in usbf_req_clear_set_feature() local 2304 wLength = le16_to_cpu(ctrlrequest->wLength); in usbf_req_clear_set_feature() 2309 if ((wIndex != 0) || (wLength != 0)) in usbf_req_clear_set_feature() 2319 if (wLength != 0) in usbf_req_clear_set_feature() 2372 u16 wLength; in usbf_req_set_address() local [all …]
|
| /linux/include/linux/ |
| H A D | usbdevice_fs.h | 42 u16 wLength; member
|
| /linux/drivers/usb/host/ |
| H A D | ehci-brcm.c | 58 u16 wLength) in ehci_brcm_hub_control() argument 91 retval = ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ehci_brcm_hub_control()
|
| H A D | ohci-da8xx.c | 34 u16 wValue, u16 wIndex, char *buf, u16 wLength); 285 u16 wIndex, char *buf, u16 wLength) in ohci_da8xx_hub_control() argument 345 wIndex, buf, wLength); in ohci_da8xx_hub_control()
|
| H A D | ohci-at91.c | 352 u16 wIndex, char *buf, u16 wLength) in ohci_at91_hub_control() argument 362 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control() 431 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
|
| H A D | uhci-hub.c | 244 u16 wIndex, char *buf, u16 wLength) in uhci_hub_control() argument 409 retval = min_t(unsigned int, sizeof(root_hub_hub_des), wLength); in uhci_hub_control()
|
| /linux/drivers/net/wwan/ |
| H A D | mhi_wwan_mbim.c | 136 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) in mbim_tx_fixup() 235 if (le16_to_cpu(ndp16->wLength) < USB_CDC_NCM_NDP16_LENGTH_MIN) { in mbim_rx_verify_ndp16() 237 le16_to_cpu(ndp16->wLength)); in mbim_rx_verify_ndp16() 241 ret = ((le16_to_cpu(ndp16->wLength) - sizeof(struct usb_cdc_ncm_ndp16)) in mbim_rx_verify_ndp16()
|
| /linux/drivers/usb/mtu3/ |
| H A D | mtu3_gadget_ep0.c | 188 u16 length = le16_to_cpu(setup->wLength); 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/core/ |
| H A D | urb.c | 410 !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/drivers/usb/c67x00/ |
| H A D | c67x00-hcd.c | 67 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()
|
| /linux/drivers/hid/ |
| H A D | hid-thrustmaster.c | 134 .wLength = cpu_to_le16(0x0010) 142 .wLength = 0
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_printer.c | 975 u16 w_length = le16_to_cpu(ctrl->wLength); in gprinter_req_match() 1020 u16 wLength = le16_to_cpu(ctrl->wLength); in printer_func_setup() local 1023 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_func_setup() 1051 value = min_t(u16, wLength, 1); in printer_func_setup() 1074 wValue, wIndex, wLength); in printer_func_setup() 1080 req->zero = value < wLength; in printer_func_setup()
|
| /linux/drivers/media/usb/cx231xx/ |
| H A D | cx231xx-core.c | 188 ven_req.wLength = req_data->buf_size; in cx231xx_send_usb_command() 196 memset(req_data->p_buffer, 0x00, ven_req.wLength); in cx231xx_send_usb_command() 328 if ((ven_req->wLength > URB_MAX_CTRL_SIZE)) in cx231xx_send_vendor_cmd() 340 if ((ven_req->wLength > 4) && ((ven_req->bRequest == 0x4) || in cx231xx_send_vendor_cmd() 352 unsend_size = ven_req->wLength; in cx231xx_send_vendor_cmd() 386 ven_req->pBuff, ven_req->wLength, HZ); in cx231xx_send_vendor_cmd() 1497 ven_req.wLength = len; in cx231xx_send_gpio_cmd() 1508 memset(ven_req.pBuff, 0x00, ven_req.wLength); in cx231xx_send_gpio_cmd()
|