Lines Matching refs:txchan
22 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, in __dma_tx_complete()
70 dmaengine_pause(dma->txchan); in serial8250_tx_dma()
72 dmaengine_resume(dma->txchan); in serial8250_tx_dma()
88 desc = dmaengine_prep_slave_single(dma->txchan, in serial8250_tx_dma()
103 dma_sync_single_for_device(dma->txchan->device->dev, dma->tx_addr, in serial8250_tx_dma()
106 dma_async_issue_pending(dma->txchan); in serial8250_tx_dma()
198 dma->txchan = dma_request_slave_channel_compat(mask, in serial8250_request_dma()
201 if (!dma->txchan) { in serial8250_request_dma()
207 ret = dma_get_slave_caps(dma->txchan, &caps); in serial8250_request_dma()
215 dmaengine_slave_config(dma->txchan, &dma->txconf); in serial8250_request_dma()
229 dma->tx_addr = dma_map_single(dma->txchan->device->dev, in serial8250_request_dma()
233 if (dma_mapping_error(dma->txchan->device->dev, dma->tx_addr)) { in serial8250_request_dma()
244 dma_release_channel(dma->txchan); in serial8250_request_dma()
266 dmaengine_terminate_sync(dma->txchan); in serial8250_release_dma()
267 dma_unmap_single(dma->txchan->device->dev, dma->tx_addr, in serial8250_release_dma()
269 dma_release_channel(dma->txchan); in serial8250_release_dma()
270 dma->txchan = NULL; in serial8250_release_dma()