Home
last modified time | relevance | path

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

12

/u-boot/drivers/usb/dwc3/
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()
/u-boot/drivers/usb/musb/
A Dmusb_hcd.c465 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 Dmusb_udc.c417 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 Dr8a66597-hcd.c574 __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 Dsl811-hcd.c539 __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 Ddwc2.c612 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 Dohci-hcd.c1258 __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 Dep0.c364 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 Dether.c1188 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 Ddwc2_udc_otg_xfer_dma.c916 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 Ddesignware_udc.c326 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 Df_dfu.c321 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 Dpxa27x_udc.c197 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 Datmel_usba_udc.c744 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 Dci_udc.c693 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 Df_thor.c643 u16 len = le16_to_cpu(ctrl->wLength); in thor_func_setup()
647 ctrl->wLength); in thor_func_setup()
A Dmax3420_udc.c575 udc->setup.wLength = cpu_to_le16(setup.wLength); in max3420_handle_setup()
/u-boot/drivers/usb/musb-new/
A Dmusb_host.h70 char *buf, u16 wLength);
A Dmusb_gadget_ep0.c135 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 Dcdc.h223 __le16 wLength; member
A Dch9.h185 __le16 wLength; member
404 u16 wLength; member
/u-boot/drivers/usb/mtu3/
A Dmtu3_gadget_ep0.c210 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 Dep0.c467 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 Dusbdevice.h350 u16 wLength; member
755 serial_printf("\twLength 0x%4.4x\n", r->wLength); in print_usb_device_request()
A Dusbdescriptors.h461 u16 wLength; member

Completed in 51 milliseconds

12