Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dep0.c643 u16 wLength; in dwc3_ep0_set_sel() local
648 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel()
650 if (wLength != 6) { in dwc3_ep0_set_sel()
652 wLength); in dwc3_ep0_set_sel()
675 u16 wLength; in dwc3_ep0_set_isoch_delay() local
680 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay()
683 if (wIndex || wLength) in dwc3_ep0_set_isoch_delay()
747 len = le16_to_cpu(ctrl->wLength); in dwc3_ep0_inspect_setup()
/rk3399_rockchip-uboot/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()
H A Dmusb_udc.c415 if (ep0_urb->device_request.wLength == 0) { in musb_peri_ep0_idle()
464 ep0_urb->device_request.wLength); in musb_peri_ep0_rx()
468 if (ep0_urb->device_request.wLength == ep0_urb->actual_length) { in musb_peri_ep0_rx()
/rk3399_rockchip-uboot/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()
H 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()
H A Ddwc2.c614 uint16_t wLength = cpu_to_le16(cmd->length); in dwc_otg_submit_rh_msg_in_descriptor() local
620 len = min3(txlen, (int)sizeof(root_hub_dev_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
624 len = min3(txlen, (int)sizeof(root_hub_config_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
631 (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
636 (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
673 len = min3(txlen, (int)data[0], (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
H A Dohci-hcd.c1257 __u16 wLength; in ohci_submit_rh_msg() local
1274 wLength = le16_to_cpu(cmd->length); in ohci_submit_rh_msg()
1277 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
1364 wLength)); in ohci_submit_rh_msg()
1371 wLength)); in ohci_submit_rh_msg()
1379 wLength)); in ohci_submit_rh_msg()
1388 wLength)); in ohci_submit_rh_msg()
1429 min_t(unsigned int, databuf[0], wLength)); in ohci_submit_rh_msg()
/rk3399_rockchip-uboot/drivers/usb/gadget/
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 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 Ddwc2_udc_otg_xfer_dma.c914 if (crq->wLength > 2) { in dwc2_udc_get_status()
1166 if (usb_ctrl->wLength != 0) { in dwc2_udc_clear_feature()
1230 if (usb_ctrl->wLength != 0) { in dwc2_udc_set_feature()
1309 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup()
1327 usb_ctrl->wLength != 1) { in dwc2_ep0_setup()
1333 usb_ctrl->wLength); in dwc2_ep0_setup()
1340 usb_ctrl->wLength != 0) { in dwc2_ep0_setup()
1344 __func__, usb_ctrl->wLength); in dwc2_ep0_setup()
H A Df_dfu.c320 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_idle()
423 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_dnload_idle()
510 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_upload_idle()
590 u16 len = le16_to_cpu(ctrl->wLength); in dfu_handle()
H A Ddesignware_udc.c324 if (le16_to_cpu(ep0_urb->device_request.wLength)) { in dw_udc_setup()
412 int wLength = le16_to_cpu(request->wLength); in dw_udc_ep0_tx() local
430 ((ep0_urb->actual_length == wLength) || in dw_udc_ep0_tx()
H 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()
H 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()
H A Dci_udc.c684 r.wValue, r.wLength); in handle_setup()
694 if (r.wLength) { in handle_setup()
711 if ((r.wValue == 0) && (r.wLength == 0)) { in handle_setup()
H A Df_thor.c639 u16 len = le16_to_cpu(ctrl->wLength); in thor_func_setup()
643 ctrl->wLength); in thor_func_setup()
H A Df_sdp.c420 u16 len = le16_to_cpu(ctrl->wLength); in sdp_setup()
/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_host.h71 char *buf, u16 wLength);
H A Dmusb_gadget_ep0.c132 u16 len = le16_to_cpu(ctrlrequest->wLength); in service_tx_status_request()
595 le16_to_cpu(req->wLength)); in musb_read_setup()
612 if (req->wLength == 0) { in musb_read_setup()
/rk3399_rockchip-uboot/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()
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dep0.c462 if (ctrl_req->wLength != 6) { in cdns3_req_ep0_set_sel()
464 ctrl_req->wLength); in cdns3_req_ep0_set_sel()
483 if (ctrl_req->wIndex || ctrl_req->wLength) in cdns3_req_ep0_set_isoch_delay()
578 if (le16_to_cpu(ctrl->wLength)) in cdns3_ep0_setup_phase()
/rk3399_rockchip-uboot/include/linux/usb/
H A Dcdc.h223 __le16 wLength; member
H A Dch9.h185 __le16 wLength; member
404 u16 wLength; member
/rk3399_rockchip-uboot/include/
H A Dusbdevice.h356 u16 wLength; member
771 serial_printf("\twLength 0x%4.4x\n", r->wLength); in print_usb_device_request()
H A Dusbdescriptors.h462 u16 wLength; member

12