Home
last modified time | relevance | path

Searched refs:ep0_urb (Results 1 – 3 of 3) sorted by relevance

/u-boot/drivers/usb/gadget/
A Dpxa27x_udc.c25 static struct urb *ep0_urb; variable
175 ep0_urb->buffer, ep0_urb->buffer_length, ep0_urb->actual_length); in udc_read_urb_ep0()
192 ep0_urb->actual_length += n; in udc_read_urb_ep0()
197 if (ep0_urb->actual_length == ep0_urb->device_request.wLength) in udc_read_urb_ep0()
266 ep0_urb->buffer = in udc_handle_ep0()
268 ep0_urb->buffer_length = in udc_handle_ep0()
337 ep0_urb->actual_length) in udc_handle_ep0()
638 if (!ep0_urb) in udc_enable()
658 if (ep0_urb) { in udc_disable()
659 usbd_dealloc_urb(ep0_urb); in udc_disable()
[all …]
A Ddesignware_udc.c33 static struct urb *ep0_urb; variable
308 u8 *datap = (u8 *)&ep0_urb->device_request; in dw_udc_setup()
315 if (ep0_recv_setup(ep0_urb)) { in dw_udc_setup()
326 if (le16_to_cpu(ep0_urb->device_request.wLength)) { in dw_udc_setup()
340 endpoint->tx_urb = ep0_urb; in dw_udc_setup()
367 if ((ep0_urb->device_request.bmRequestType in dw_udc_ep0_rx()
431 if ((endpoint->sent == ep0_urb->actual_length) && in dw_udc_ep0_tx()
432 ((ep0_urb->actual_length == wLength) || in dw_udc_ep0_tx()
761 if (!ep0_urb) { in udc_enable()
762 ep0_urb = in udc_enable()
[all …]
/u-boot/drivers/usb/musb/
A Dmusb_udc.c102 static struct urb *ep0_urb; variable
345 ep0_endpoint->rcv_urb = ep0_urb; in musb_peri_ep0_rx_data_request()
346 ep0_urb->actual_length = 0; in musb_peri_ep0_rx_data_request()
358 ep0_endpoint->tx_urb = ep0_urb; in musb_peri_ep0_tx_data_request()
418 err = ep0_recv_setup(ep0_urb); in musb_peri_ep0_idle()
427 err = ep0_recv_setup(ep0_urb); in musb_peri_ep0_idle()
462 if (0 != ep0_urb->actual_length) { in musb_peri_ep0_rx()
465 ep0_urb->actual_length, in musb_peri_ep0_rx()
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()
[all …]

Completed in 7 milliseconds