| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ep0.c | 65 urb->actual_length = 2; in ep0_get_status() 79 urb->actual_length = 0; in ep0_get_status() 99 urb->actual_length = 1; /* XXX 2? */ in ep0_get_one() 136 /*urb->buffer_length */ max_buf - urb->actual_length) <= 0) { in copy_config() 148 memcpy (urb->buffer + urb->actual_length, data, length); in copy_config() 149 urb->actual_length += length; in copy_config() 153 urb->actual_length, urb->buffer_length, max_buf, max_length, in copy_config() 184 urb->actual_length = 0; in ep0_get_descriptor() 207 dbg_ep0(3, "copied device configuration, actual_length: 0x%x", urb->actual_length); in ep0_get_descriptor() 316 if (max - urb->actual_length > 0) { in ep0_get_descriptor() [all …]
|
| H A D | pxa27x_udc.c | 64 if (!urb || !urb->actual_length) in udc_write_urb() 67 n = min_t(unsigned int, urb->actual_length - endpoint->sent, in udc_write_urb() 75 urb->buffer, urb->buffer_length, urb->actual_length); in udc_write_urb() 119 if (endpoint->sent >= urb->actual_length) { in udc_write_urb() 120 urb->actual_length = 0; in udc_write_urb() 125 if ((endpoint->sent >= urb->actual_length) && (!ep_num)) { in udc_write_urb() 146 urb->buffer, urb->buffer_length, urb->actual_length); in udc_read_urb() 158 data32[urb->actual_length / 4 + i / 4] = readl(UDCDN(ep_num)); in udc_read_urb() 160 udc_dump_buffer("urb read", (u8 *) data32, urb->actual_length + n); in udc_read_urb() 175 ep0_urb->buffer, ep0_urb->buffer_length, ep0_urb->actual_length); in udc_read_urb_ep0() [all …]
|
| H A D | core.c | 358 rcv_urb->actual_length += len; in usbd_rcv_complete() 362 rcv_urb->actual_length, rcv_urb->buffer_length, urb_bad); in usbd_rcv_complete() 364 rcv_urb->actual_length = 0; in usbd_rcv_complete() 394 if( (endpoint->tx_urb->actual_length - endpoint->sent) <= 0 ) { in usbd_tx_complete() 395 tx_urb->actual_length = 0; in usbd_tx_complete()
|
| H A D | designware_udc.c | 270 urb->buffer, urb->buffer_length, urb->actual_length); in dw_write_noniso_tx_fifo() 272 last = min_t(u32, urb->actual_length - endpoint->sent, in dw_write_noniso_tx_fifo() 429 if ((endpoint->sent == ep0_urb->actual_length) && in dw_udc_ep0_tx() 430 ((ep0_urb->actual_length == wLength) || in dw_udc_ep0_tx() 476 u8 *cp = urb->buffer + urb->actual_length; in dw_udc_epn_rx() 505 (endpoint->tx_urb->actual_length - endpoint->sent - in dw_udc_epn_tx() 512 if (endpoint->tx_urb && endpoint->tx_urb->actual_length) { in dw_udc_epn_tx() 519 if (endpoint->tx_urb && endpoint->tx_urb->actual_length) { in dw_udc_epn_tx() 525 && (endpoint->tx_urb->actual_length == 0)) { in dw_udc_epn_tx()
|
| /rk3399_rockchip-uboot/drivers/usb/musb/ |
| H A D | musb_udc.c | 344 ep0_urb->actual_length = 0; in musb_peri_ep0_rx_data_request() 460 if (0 != ep0_urb->actual_length) { in musb_peri_ep0_rx() 463 ep0_urb->actual_length, in musb_peri_ep0_rx() 468 if (ep0_urb->device_request.wLength == ep0_urb->actual_length) { in musb_peri_ep0_rx() 490 urb->actual_length; in musb_peri_ep0_rx() 501 data += urb->actual_length; in musb_peri_ep0_rx() 546 if (ep0_endpoint->sent >= ep0_urb->actual_length) { in musb_peri_ep0_tx() 551 transfer_size = ep0_urb->actual_length - ep0_endpoint->sent; in musb_peri_ep0_tx() 571 if (ep0_endpoint->sent >= ep0_urb->actual_length) in musb_peri_ep0_tx() 587 if ((ep0_endpoint->sent >= ep0_urb->actual_length) && (p < pm)) in musb_peri_ep0_tx() [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_host.c | 225 buf = urb->transfer_buffer + urb->actual_length; in musb_start_urb() 226 len = urb->transfer_buffer_length - urb->actual_length; in musb_start_urb() 304 urb->actual_length, urb->transfer_buffer_length in musb_giveback() 493 urb->actual_length += length; in musb_host_packet_rx() 494 d->actual_length = length; in musb_host_packet_rx() 512 urb->actual_length += length; in musb_host_packet_rx() 516 done = (urb->actual_length == urb->transfer_buffer_length) in musb_host_packet_rx() 522 && (urb->actual_length in musb_host_packet_rx() 900 fifo_dest = urb->transfer_buffer + urb->actual_length; in musb_h_ep0_continue() 902 urb->actual_length); in musb_h_ep0_continue() [all …]
|
| H A D | usb-compat.h | 41 u32 actual_length; /* (return) actual transfer length */ member
|
| H A D | musb_uboot.c | 32 urb->dev->act_len = urb->actual_length; in musb_host_complete_urb()
|
| /rk3399_rockchip-uboot/drivers/serial/ |
| H A D | usbtty.c | 825 space = current_urb->buffer_length - current_urb->actual_length; in next_urb() 861 if(endpoint->sent < current_urb->actual_length){ in write_buffer() 881 current_urb->actual_length; in write_buffer() 885 current_urb->actual_length; in write_buffer() 893 current_urb->actual_length += popped; in write_buffer() 918 if (endpoint->rcv_urb && endpoint->rcv_urb->actual_length) { in fill_buffer() 923 if(rx_avail >= endpoint->rcv_urb->actual_length){ in fill_buffer() 925 nb = endpoint->rcv_urb->actual_length; in fill_buffer() 927 endpoint->rcv_urb->actual_length = 0; in fill_buffer() 1006 urb->actual_length = sizeof(rs232_desc); in usbtty_cdc_setup()
|
| /rk3399_rockchip-uboot/arch/mips/mach-au1x00/ |
| H A D | au1x00_usb_ohci.c | 164 purb->actual_length, in pkt_print() 178 purb->actual_length, in pkt_print() 181 transfer_len: purb->actual_length; in pkt_print() 419 purb_priv->actual_length = 0; in sohci_submit_job() 746 lurb_priv->actual_length += tdBE - td->data + 1; in dl_transfer_length() 748 lurb_priv->actual_length += tdCBP - td->data; in dl_transfer_length() 897 urb_priv.actual_length = 0; in ohci_submit_rh_msg() 1088 urb_priv.actual_length = transfer_len; in ohci_submit_rh_msg() 1115 urb_priv.actual_length = 0; in submit_common_msg() 1213 urb_priv.actual_length = 0; in submit_control_msg()
|
| H A D | au1x00_usb_ohci.h | 336 int actual_length; member
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ohci-hcd.c | 293 (purb ? purb->actual_length : 0), in pkt_print() 307 (purb ? purb->actual_length : 0), in pkt_print() 310 (purb ? purb->actual_length : 0); in pkt_print() 567 purb_priv->actual_length = 0; in sohci_submit_job() 1059 lurb_priv->actual_length += tdBE - td->data + 1; in dl_transfer_length() 1061 lurb_priv->actual_length += tdCBP - td->data; in dl_transfer_length() 1532 urb->actual_length = 0; in submit_common_msg() 1597 dev->act_len = urb->actual_length; in submit_common_msg()
|
| H A D | ohci.h | 356 int actual_length; member
|
| /rk3399_rockchip-uboot/include/ |
| H A D | usbdevice.h | 479 unsigned int actual_length; member 684 serial_printf("\tactual_length %d\n", u->actual_length); in print_urb()
|
| H A D | usb.h | 264 void *data, int len, int *actual_length, int timeout);
|
| /rk3399_rockchip-uboot/common/ |
| H A D | usb.c | 272 void *data, int len, int *actual_length, int timeout) in usb_bulk_msg() argument 284 *actual_length = dev->act_len; in usb_bulk_msg()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | spi-mem.c | 334 if (msg.actual_length != totalxferlen) in spi_mem_exec_op()
|