Searched refs:actual_length (Results 1 – 15 of 15) sorted by relevance
| /u-boot/drivers/usb/gadget/ |
| A D | ep0.c | 111 urb->actual_length = 2; in ep0_get_status() 125 urb->actual_length = 0; in ep0_get_status() 145 urb->actual_length = 1; /* XXX 2? */ in ep0_get_one() 195 urb->actual_length += length; in copy_config() 230 urb->actual_length = 0; in ep0_get_descriptor() 362 if (max - urb->actual_length > 0) { in ep0_get_descriptor() 365 max - urb->actual_length); in ep0_get_descriptor() 366 memcpy (urb->buffer + urb->actual_length, in ep0_get_descriptor() 368 urb->actual_length += length; in ep0_get_descriptor() 389 urb->actual_length); in ep0_get_descriptor() [all …]
|
| 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() 183 data32[ep0_urb->actual_length / 4 + i] = readl(UDCDN(0)); in udc_read_urb_ep0() 192 ep0_urb->actual_length += n; in udc_read_urb_ep0() 270 ep0_urb->actual_length = 0; in udc_handle_ep0() [all …]
|
| A D | core.c | 322 rcv_urb->actual_length += len; in usbd_rcv_complete() 326 rcv_urb->actual_length, rcv_urb->buffer_length, urb_bad); in usbd_rcv_complete() 328 rcv_urb->actual_length = 0; in usbd_rcv_complete() 358 if( (endpoint->tx_urb->actual_length - endpoint->sent) <= 0 ) { in usbd_tx_complete() 359 tx_urb->actual_length = 0; in usbd_tx_complete()
|
| A D | designware_udc.c | 272 urb->buffer, urb->buffer_length, urb->actual_length); in dw_write_noniso_tx_fifo() 274 last = min_t(u32, urb->actual_length - endpoint->sent, in dw_write_noniso_tx_fifo() 431 if ((endpoint->sent == ep0_urb->actual_length) && in dw_udc_ep0_tx() 432 ((ep0_urb->actual_length == wLength) || in dw_udc_ep0_tx() 478 u8 *cp = urb->buffer + urb->actual_length; in dw_udc_epn_rx() 507 (endpoint->tx_urb->actual_length - endpoint->sent - in dw_udc_epn_tx() 514 if (endpoint->tx_urb && endpoint->tx_urb->actual_length) { in dw_udc_epn_tx() 521 if (endpoint->tx_urb && endpoint->tx_urb->actual_length) { in dw_udc_epn_tx() 527 && (endpoint->tx_urb->actual_length == 0)) { in dw_udc_epn_tx()
|
| /u-boot/drivers/usb/musb/ |
| A D | musb_udc.c | 346 ep0_urb->actual_length = 0; in musb_peri_ep0_rx_data_request() 462 if (0 != ep0_urb->actual_length) { in musb_peri_ep0_rx() 465 ep0_urb->actual_length, in musb_peri_ep0_rx() 492 urb->actual_length; in musb_peri_ep0_rx() 503 data += urb->actual_length; in musb_peri_ep0_rx() 548 if (ep0_endpoint->sent >= ep0_urb->actual_length) { in musb_peri_ep0_tx() 553 transfer_size = ep0_urb->actual_length - ep0_endpoint->sent; in musb_peri_ep0_tx() 573 if (ep0_endpoint->sent >= ep0_urb->actual_length) in musb_peri_ep0_tx() 653 urb->actual_length; in musb_peri_rx_ep() 664 data += urb->actual_length; in musb_peri_rx_ep() [all …]
|
| /u-boot/drivers/usb/musb-new/ |
| A D | musb_host.c | 497 urb->actual_length += length; in musb_host_packet_rx() 498 d->actual_length = length; in musb_host_packet_rx() 516 urb->actual_length += length; in musb_host_packet_rx() 526 && (urb->actual_length in musb_host_packet_rx() 906 urb->actual_length); in musb_h_ep0_continue() 941 urb->actual_length); in musb_h_ep0_continue() 944 + urb->actual_length); in musb_h_ep0_continue() 1274 d->actual_length = length; in musb_host_tx() 1655 + urb->actual_length, in musb_host_rx() 1687 urb->actual_length; in musb_host_rx() [all …]
|
| A D | usb-compat.h | 42 u32 actual_length; /* (return) actual transfer length */ member
|
| A D | musb_uboot.c | 33 urb->dev->act_len = urb->actual_length; in musb_host_complete_urb()
|
| /u-boot/drivers/serial/ |
| A D | usbtty.c | 826 space = current_urb->buffer_length - current_urb->actual_length; in next_urb() 854 if(endpoint->sent < endpoint->tx_urb->actual_length){ in write_buffer() 876 current_urb->actual_length; in write_buffer() 880 current_urb->actual_length; in write_buffer() 888 current_urb->actual_length += popped; in write_buffer() 913 if (endpoint->rcv_urb && endpoint->rcv_urb->actual_length) { in fill_buffer() 918 if(rx_avail >= endpoint->rcv_urb->actual_length){ in fill_buffer() 920 nb = endpoint->rcv_urb->actual_length; in fill_buffer() 922 endpoint->rcv_urb->actual_length = 0; in fill_buffer() 1001 urb->actual_length = sizeof(rs232_desc); in usbtty_cdc_setup()
|
| /u-boot/include/ |
| A D | usbdevice.h | 469 unsigned int actual_length; member 668 serial_printf("\tactual_length %d\n", u->actual_length); in print_urb()
|
| A D | usb.h | 269 void *data, int len, int *actual_length, int timeout);
|
| /u-boot/drivers/usb/host/ |
| A D | ohci-hcd.c | 295 (purb ? purb->actual_length : 0), in pkt_print() 309 (purb ? purb->actual_length : 0), in pkt_print() 312 (purb ? purb->actual_length : 0); in pkt_print() 569 purb_priv->actual_length = 0; in sohci_submit_job() 1060 lurb_priv->actual_length += tdBE - td->data + 1; in dl_transfer_length() 1062 lurb_priv->actual_length += tdCBP - td->data; in dl_transfer_length() 1533 urb->actual_length = 0; in submit_common_msg() 1598 dev->act_len = urb->actual_length; in submit_common_msg()
|
| A D | ohci.h | 357 int actual_length; member
|
| /u-boot/common/ |
| A D | usb.c | 277 void *data, int len, int *actual_length, int timeout) in usb_bulk_msg() argument 289 *actual_length = dev->act_len; in usb_bulk_msg()
|
| /u-boot/drivers/spi/ |
| A D | spi-mem.c | 342 if (msg.actual_length != totalxferlen) in spi_mem_exec_op()
|
Completed in 31 milliseconds