Home
last modified time | relevance | path

Searched refs:xfer_len (Results 1 – 6 of 6) sorted by relevance

/u-boot/drivers/usb/host/
A Ddwc2.c865 *pid, xfer_len, num_packets); in transfer_chunk()
872 if (xfer_len) { in transfer_chunk()
877 roundup(xfer_len, ARCH_DMA_MINALIGN)); in transfer_chunk()
905 xfer_len -= sub; in transfer_chunk()
913 *actual_len = xfer_len; in transfer_chunk()
932 uint32_t xfer_len; in chunk_msg() local
976 xfer_len = len - done; in chunk_msg()
978 if (xfer_len > max_xfer_len) in chunk_msg()
979 xfer_len = max_xfer_len; in chunk_msg()
980 else if (xfer_len > max) in chunk_msg()
[all …]
/u-boot/drivers/dma/
A Dti-edma3.c488 int xfer_len; in __edma3_fill() local
494 xfer_len = len; in __edma3_fill()
495 if (xfer_len > max_xfer) in __edma3_fill()
496 xfer_len = max_xfer; in __edma3_fill()
499 edma_fill_buffer, xfer_len, in __edma3_fill()
501 len -= xfer_len; in __edma3_fill()
502 dst += xfer_len; in __edma3_fill()
/u-boot/drivers/spi/
A Dti_qspi.c193 u8 xfer_len = 0; in ti_qspi_xfer() local
212 xfer_len = QSPI_WLEN_MAX_BYTES; in ti_qspi_xfer()
215 xfer_len = 1; in ti_qspi_xfer()
229 txp += xfer_len; in ti_qspi_xfer()
246 xfer_len = 1; in ti_qspi_xfer()
250 words -= xfer_len; in ti_qspi_xfer()
A Dich.c430 uint xfer_len = min(len, SPIBAR_FDATA_FIFO_SIZE); in get_xfer_len() local
434 xfer_len = min(xfer_len, bytes_left); in get_xfer_len()
436 return xfer_len; in get_xfer_len()
571 uint xfer_len = get_xfer_len(offset, len, page_size); in ich_spi_exec_op_hwseq() local
574 fill_xfer_fifo(regs, buf, xfer_len); in ich_spi_exec_op_hwseq()
576 ret = exec_sync_hwseq_xfer(regs, cycle, offset, xfer_len); in ich_spi_exec_op_hwseq()
581 drain_xfer_fifo(regs, buf, xfer_len); in ich_spi_exec_op_hwseq()
583 offset += xfer_len; in ich_spi_exec_op_hwseq()
584 buf += xfer_len; in ich_spi_exec_op_hwseq()
585 len -= xfer_len; in ich_spi_exec_op_hwseq()
A Dstm32_spi.c308 static int stm32_spi_set_fthlv(struct udevice *dev, u32 xfer_len) in stm32_spi_set_fthlv() argument
317 fthlv = (half_fifo > xfer_len) ? xfer_len : half_fifo; in stm32_spi_set_fthlv()
/u-boot/drivers/usb/musb-new/
A Dmusb_host.c1442 size_t xfer_len; in musb_host_rx() local
1456 xfer_len = 0; in musb_host_rx()
1534 xfer_len = dma->actual_len; in musb_host_rx()
1565 xfer_len = dma->actual_len; in musb_host_rx()
1570 xfer_len, dma ? ", dma" : ""); in musb_host_rx()
1579 xfer_len = dma->actual_len; in musb_host_rx()
1592 d->actual_length = xfer_len; in musb_host_rx()
1607 done = (urb->actual_length + xfer_len >= in musb_host_rx()
1773 urb->actual_length += xfer_len; in musb_host_rx()
1774 qh->offset += xfer_len; in musb_host_rx()

Completed in 22 milliseconds