Home
last modified time | relevance | path

Searched refs:rcv_urb (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/drivers/usb/gadget/
H A Dcore.c342 struct urb *rcv_urb; in usbd_rcv_complete() local
347 if ((rcv_urb = endpoint->rcv_urb)) { in usbd_rcv_complete()
357 rcv_urb->actual_length += len; in usbd_rcv_complete()
361 rcv_urb->actual_length, rcv_urb->buffer_length, urb_bad); in usbd_rcv_complete()
363 rcv_urb->actual_length = 0; in usbd_rcv_complete()
364 rcv_urb->status = RECV_ERROR; in usbd_rcv_complete()
H A Daspeed_usbtty.c242 urb = endpoint->rcv_urb; in aspeed_udc_ep0_rx()
362 endpoint->rcv_urb = ep0_urb; in aspeed_udc_ep0_in()
419 endpoint->rcv_urb = ep0_urb; in aspeed_udc_setup_handle()
643 ast_ep_write(ep_reg, endpoint->rcv_urb->buffer, AST_EP_DMA_BUFF); in udc_setup_ep()
H A Dpxa27x_udc.c137 struct urb *urb = endpoint->rcv_urb; in udc_read_urb()
H A Ddesignware_udc.c472 urb = endpoint->rcv_urb; in dw_udc_epn_rx()
/openbmc/u-boot/drivers/serial/
H A Dusbtty.c717 endpoint_instance[i].rcv_urb = in usbtty_init_instances()
917 if (endpoint->rcv_urb && endpoint->rcv_urb->actual_length) { in fill_buffer()
919 char *src = (char *) endpoint->rcv_urb->buffer; in fill_buffer()
922 if(rx_avail >= endpoint->rcv_urb->actual_length){ in fill_buffer()
924 nb = endpoint->rcv_urb->actual_length; in fill_buffer()
926 endpoint->rcv_urb->actual_length = 0; in fill_buffer()
/openbmc/linux/drivers/usb/atm/
H A Dcxacru.c187 struct urb *rcv_urb; member
631 ret = usb_submit_urb(instance->rcv_urb, GFP_KERNEL); in cxacru_cm()
664 ret = cxacru_start_wait_urb(instance->rcv_urb, &instance->rcv_done, &actlen); in cxacru_cm()
1164 instance->rcv_urb = usb_alloc_urb(0, GFP_KERNEL); in cxacru_bind()
1165 if (!instance->rcv_urb) { in cxacru_bind()
1196 usb_fill_int_urb(instance->rcv_urb, in cxacru_bind()
1206 usb_fill_bulk_urb(instance->rcv_urb, in cxacru_bind()
1231 usb_free_urb(instance->rcv_urb); in cxacru_bind()
1266 usb_kill_urb(instance->rcv_urb); in cxacru_unbind()
1268 usb_free_urb(instance->rcv_urb); in cxacru_unbind()
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_udc.c340 ep0_endpoint->rcv_urb = ep0_urb; in musb_peri_ep0_rx_data_request()
484 if (endpoint && endpoint->rcv_urb) { in musb_peri_ep0_rx()
485 struct urb *urb = endpoint->rcv_urb; in musb_peri_ep0_rx()
645 if (endpoint && endpoint->rcv_urb) { in musb_peri_rx_ep()
646 struct urb *urb = endpoint->rcv_urb; in musb_peri_rx_ep()
/openbmc/u-boot/include/
H A Dusbdevice.h502 struct urb *rcv_urb; /* active urb */ member