Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dsprd_serial.c121 u32 trans_len; member
215 u32 trans_len; in sprd_stop_tx_dma() local
221 trans_len = state.residue - sp->tx_dma.phys_addr; in sprd_stop_tx_dma()
222 xmit->tail = (xmit->tail + trans_len) & (UART_XMIT_SIZE - 1); in sprd_stop_tx_dma()
223 port->icount.tx += trans_len; in sprd_stop_tx_dma()
225 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_stop_tx_dma()
229 sp->tx_dma.trans_len = 0; in sprd_stop_tx_dma()
238 sp->tx_dma.trans_len = in sprd_tx_buf_remap()
243 sp->tx_dma.trans_len, in sprd_tx_buf_remap()
258 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_complete_tx_dma()
[all …]
/drivers/spi/
Dspi-sprd.c159 u32 trans_len; member
405 u32 trans_len = ss->trans_len, len; in sprd_spi_txrx_bufs() local
408 while (trans_len) { in sprd_spi_txrx_bufs()
409 len = trans_len > SPRD_SPI_FIFO_SIZE ? SPRD_SPI_FIFO_SIZE : in sprd_spi_txrx_bufs()
410 trans_len; in sprd_spi_txrx_bufs()
444 trans_len -= len; in sprd_spi_txrx_bufs()
590 u32 trans_len = ss->trans_len; in sprd_spi_dma_txrx_bufs() local
597 sprd_spi_set_tx_length(ss, trans_len); in sprd_spi_dma_txrx_bufs()
606 sprd_spi_set_rx_length(ss, trans_len); in sprd_spi_dma_txrx_bufs()
615 write_size = ss->write_bufs(ss, trans_len); in sprd_spi_dma_txrx_bufs()
[all …]
/drivers/usb/host/
Dfhci-sched.c45 u32 trans_len; in fhci_transaction_confirm() local
50 trans_len = pkt->len; in fhci_transaction_confirm()
53 if ((td->data + td->actual_len) && trans_len) in fhci_transaction_confirm()
55 trans_len); in fhci_transaction_confirm()
70 td->actual_len = trans_len; in fhci_transaction_confirm()
89 td->actual_len += trans_len; in fhci_transaction_confirm()
111 td->actual_len += trans_len; in fhci_transaction_confirm()