• Home
  • Raw
  • Download

Lines Matching refs:trans_len

117 	u32 trans_len;  member
210 u32 trans_len; in sprd_stop_tx_dma() local
216 trans_len = state.residue - sp->tx_dma.phys_addr; in sprd_stop_tx_dma()
217 uart_xmit_advance(port, trans_len); in sprd_stop_tx_dma()
219 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_stop_tx_dma()
223 sp->tx_dma.trans_len = 0; in sprd_stop_tx_dma()
232 sp->tx_dma.trans_len = in sprd_tx_buf_remap()
237 sp->tx_dma.trans_len, in sprd_tx_buf_remap()
252 sp->tx_dma.trans_len, DMA_TO_DEVICE); in sprd_complete_tx_dma()
254 uart_xmit_advance(port, sp->tx_dma.trans_len); in sprd_complete_tx_dma()
261 sp->tx_dma.trans_len = 0; in sprd_complete_tx_dma()
267 struct sprd_uart_dma *ud, u32 trans_len, in sprd_uart_dma_submit() argument
279 dma_des = dmaengine_prep_slave_single(ud->chn, ud->phys_addr, trans_len, in sprd_uart_dma_submit()
300 u32 burst = sp->tx_dma.trans_len > SPRD_TX_FIFO_FULL ? in sprd_tx_dma_config()
301 SPRD_TX_FIFO_FULL : sp->tx_dma.trans_len; in sprd_tx_dma_config()
314 return sprd_uart_dma_submit(port, &sp->tx_dma, sp->tx_dma.trans_len, in sprd_tx_dma_config()
336 if (sp->tx_dma.trans_len) in sprd_start_tx_dma()
340 sp->tx_dma.trans_len = 0; in sprd_start_tx_dma()
390 port->icount.rx += sp->rx_dma.trans_len; in sprd_uart_dma_rx()
391 tty_insert_flip_string(tty, sp->rx_buf_tail, sp->rx_dma.trans_len); in sprd_uart_dma_rx()
411 sp->rx_dma.trans_len = SPRD_UART_RX_SIZE + in sprd_uart_dma_irq()
415 sp->rx_dma.trans_len = state.residue - sp->pos; in sprd_uart_dma_irq()
420 sp->rx_buf_tail += sp->rx_dma.trans_len; in sprd_uart_dma_irq()
443 sp->rx_dma.trans_len = SPRD_UART_RX_SIZE + in sprd_complete_rx_dma()
446 sp->rx_buf_tail += sp->rx_dma.trans_len; in sprd_complete_rx_dma()