/u-boot/drivers/usb/dwc3/ |
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()
|
/u-boot/drivers/usb/musb/ |
A D | musb_hcd.c | 465 u16 wLength; in musb_submit_rh_msg() local 476 wLength = swap_16(cmd->length); in musb_submit_rh_msg() 480 bmRType_bReq, wValue, wIndex, wLength); in musb_submit_rh_msg() 640 debug("RH_GET_DESCRIPTOR: %x, %d\n", wValue, wLength); in musb_submit_rh_msg() 647 wLength)); in musb_submit_rh_msg() 655 wLength)); in musb_submit_rh_msg() 663 wLength)); in musb_submit_rh_msg() 671 wLength)); in musb_submit_rh_msg() 700 min_t(unsigned int, data_buf[0], wLength)); in musb_submit_rh_msg()
|
A D | musb_udc.c | 417 if (ep0_urb->device_request.wLength == 0) { in musb_peri_ep0_idle() 466 ep0_urb->device_request.wLength); in musb_peri_ep0_rx() 470 if (ep0_urb->device_request.wLength == ep0_urb->actual_length) { in musb_peri_ep0_rx()
|
/u-boot/drivers/usb/host/ |
A D | r8a66597-hcd.c | 574 __u16 wLength; in r8a66597_submit_rh_msg() local 586 wLength = cpu_to_le16 (cmd->length); in r8a66597_submit_rh_msg() 645 wLength)); in r8a66597_submit_rh_msg() 653 wLength)); in r8a66597_submit_rh_msg() 662 wLength)); in r8a66597_submit_rh_msg() 670 wLength)); in r8a66597_submit_rh_msg() 707 min_t(unsigned int, data[0], wLength)); in r8a66597_submit_rh_msg()
|
A D | sl811-hcd.c | 539 __u16 wLength = le16_to_cpu (cmd->length); in sl811_rh_submit_urb() local 552 bmRType_bReq, bmRType_bReq, wValue, wIndex, wLength); in sl811_rh_submit_urb() 676 len = usb_root_hub_string(wValue & 0xff, (int)(long)0, "SL811HS", data, wLength); in sl811_rh_submit_urb()
|
A D | dwc2.c | 612 uint16_t wLength = cpu_to_le16(cmd->length); in dwc_otg_submit_rh_msg_in_descriptor() local 618 len = min3(txlen, (int)sizeof(root_hub_dev_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 622 len = min3(txlen, (int)sizeof(root_hub_config_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 629 (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 634 (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 671 len = min3(txlen, (int)data[0], (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
|
A D | ohci-hcd.c | 1258 __u16 wLength; in ohci_submit_rh_msg() local 1275 wLength = le16_to_cpu(cmd->length); in ohci_submit_rh_msg() 1278 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg() 1365 wLength)); in ohci_submit_rh_msg() 1372 wLength)); in ohci_submit_rh_msg() 1380 wLength)); in ohci_submit_rh_msg() 1389 wLength)); in ohci_submit_rh_msg() 1430 min_t(unsigned int, databuf[0], wLength)); in ohci_submit_rh_msg()
|
/u-boot/drivers/usb/gadget/ |
A D | ep0.c | 364 min(report_descriptor->wLength, in ep0_get_descriptor() 451 le16_to_cpu (request->wLength), in ep0_recv_setup() 529 le16_to_cpu (request->wLength), in ep0_recv_setup()
|
A D | ether.c | 1188 event->wLength = 0; in issue_start_status() 1251 u16 wLength = le16_to_cpu(ctrl->wLength); in eth_setup() local 1290 value = min(wLength, (u16) value); in eth_setup() 1298 value = min(wLength, (u16) value); in eth_setup() 1317 value = min(wLength, (u16) 1); in eth_setup() 1408 value = min(wLength, (u16) 1); in eth_setup() 1419 || wLength != 0 in eth_setup() 1445 || wLength > USB_BUFSIZ in eth_setup() 1451 value = wLength; in eth_setup() 1483 wValue, wIndex, wLength); in eth_setup() [all …]
|
A D | dwc2_udc_otg_xfer_dma.c | 916 if (crq->wLength > 2) { in dwc2_udc_get_status() 1168 if (usb_ctrl->wLength != 0) { in dwc2_udc_clear_feature() 1232 if (usb_ctrl->wLength != 0) { in dwc2_udc_set_feature() 1311 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup() 1329 usb_ctrl->wLength != 1) { in dwc2_ep0_setup() 1335 usb_ctrl->wLength); in dwc2_ep0_setup() 1342 usb_ctrl->wLength != 0) { in dwc2_ep0_setup() 1346 __func__, usb_ctrl->wLength); in dwc2_ep0_setup()
|
A D | designware_udc.c | 326 if (le16_to_cpu(ep0_urb->device_request.wLength)) { in dw_udc_setup() 414 int wLength = le16_to_cpu(request->wLength); in dw_udc_ep0_tx() local 432 ((ep0_urb->actual_length == wLength) || in dw_udc_ep0_tx()
|
A D | f_dfu.c | 321 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_idle() 424 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_dnload_idle() 511 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_upload_idle() 591 u16 len = le16_to_cpu(ctrl->wLength); in dfu_handle()
|
A D | pxa27x_udc.c | 197 if (ep0_urb->actual_length == ep0_urb->device_request.wLength) in udc_read_urb_ep0() 250 if (ep0_urb->device_request.wLength == 0) { in udc_handle_ep0() 336 if (ep0_urb->device_request.wLength == in udc_handle_ep0()
|
A D | atmel_usba_udc.c | 744 if (crq->wLength != cpu_to_le16(sizeof(status))) in handle_ep0_setup() 763 if (crq->wLength != cpu_to_le16(0) || in handle_ep0_setup() 797 if (crq->wLength != cpu_to_le16(0) || in handle_ep0_setup() 836 le16_to_cpu(crq->wLength)); in handle_ep0_setup() 998 if (crq.crq.wLength != cpu_to_le16(0)) in usba_control_irq() 1015 le16_to_cpu(crq.crq.wLength), ep->state, ret); in usba_control_irq()
|
A D | ci_udc.c | 693 r.wValue, r.wLength); in handle_setup() 703 if (r.wLength) { in handle_setup() 720 if ((r.wValue == 0) && (r.wLength == 0)) { in handle_setup()
|
A D | f_thor.c | 643 u16 len = le16_to_cpu(ctrl->wLength); in thor_func_setup() 647 ctrl->wLength); in thor_func_setup()
|
A D | max3420_udc.c | 575 udc->setup.wLength = cpu_to_le16(setup.wLength); in max3420_handle_setup()
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_host.h | 70 char *buf, u16 wLength);
|
A D | musb_gadget_ep0.c | 135 u16 len = le16_to_cpu(ctrlrequest->wLength); in service_tx_status_request() 598 le16_to_cpu(req->wLength)); in musb_read_setup() 615 if (req->wLength == 0) { in musb_read_setup()
|
/u-boot/include/linux/usb/ |
A D | cdc.h | 223 __le16 wLength; member
|
A D | ch9.h | 185 __le16 wLength; member 404 u16 wLength; member
|
/u-boot/drivers/usb/mtu3/ |
A D | mtu3_gadget_ep0.c | 210 u16 length = le16_to_cpu(setup->wLength); in ep0_set_sel() 638 le16_to_cpu(setup->wLength)); in ep0_read_setup() 645 if (le16_to_cpu(setup->wLength) == 0) { in ep0_read_setup() 685 le16_to_cpu(setup.wLength) ? 0 : EP0_SETUPPKTRDY); in ep0_handle_setup() 704 } else if (le16_to_cpu(setup.wLength) == 0) { /* no data stage */ in ep0_handle_setup()
|
/u-boot/drivers/usb/cdns3/ |
A D | ep0.c | 467 if (ctrl_req->wLength != 6) { in cdns3_req_ep0_set_sel() 469 ctrl_req->wLength); in cdns3_req_ep0_set_sel() 488 if (ctrl_req->wIndex || ctrl_req->wLength) in cdns3_req_ep0_set_isoch_delay() 587 if (le16_to_cpu(ctrl->wLength)) in cdns3_ep0_setup_phase()
|
/u-boot/include/ |
A D | usbdevice.h | 350 u16 wLength; member 755 serial_printf("\twLength 0x%4.4x\n", r->wLength); in print_usb_device_request()
|
A D | usbdescriptors.h | 461 u16 wLength; member
|