Lines Matching full:tx_chan
93 struct dma_chan *tx_chan; member
297 if (dma && dma->tx_chan && ourport->tx_in_progress == S3C24XX_TX_DMA) { in s3c24xx_serial_stop_tx()
298 dmaengine_pause(dma->tx_chan); in s3c24xx_serial_stop_tx()
299 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state); in s3c24xx_serial_stop_tx()
300 dmaengine_terminate_all(dma->tx_chan); in s3c24xx_serial_stop_tx()
330 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state); in s3c24xx_serial_tx_dma_complete()
420 dma->tx_desc = dmaengine_prep_slave_single(dma->tx_chan, in s3c24xx_serial_start_tx_dma()
434 dma_async_issue_pending(dma->tx_chan); in s3c24xx_serial_start_tx_dma()
452 if (!ourport->dma || !ourport->dma->tx_chan || in s3c24xx_serial_start_next_tx()
470 if (!ourport->dma || !ourport->dma->tx_chan) in s3c24xx_serial_start_tx()
474 if (ourport->dma && ourport->dma->tx_chan) { in s3c24xx_serial_start_tx()
524 dmaengine_pause(dma->tx_chan); in s3c24xx_serial_stop_rx()
838 if (ourport->dma && ourport->dma->tx_chan && in s3c24xx_serial_tx_chars()
1014 dma->tx_chan = dma_request_chan(p->port.dev, "tx"); in s3c24xx_serial_request_dma()
1015 if (IS_ERR(dma->tx_chan)) { in s3c24xx_serial_request_dma()
1017 ret = PTR_ERR(dma->tx_chan); in s3c24xx_serial_request_dma()
1021 ret = dma_get_slave_caps(dma->tx_chan, &dma_caps); in s3c24xx_serial_request_dma()
1029 dmaengine_slave_config(dma->tx_chan, &dma->tx_conf); in s3c24xx_serial_request_dma()
1065 dma_release_channel(dma->tx_chan); in s3c24xx_serial_request_dma()
1087 if (dma->tx_chan) { in s3c24xx_serial_release_dma()
1088 dmaengine_terminate_all(dma->tx_chan); in s3c24xx_serial_release_dma()
1091 dma_release_channel(dma->tx_chan); in s3c24xx_serial_release_dma()
1092 dma->tx_chan = NULL; in s3c24xx_serial_release_dma()