Lines Matching refs:chan_tx
197 struct dma_chan *chan_tx; member
390 dma->tx_desc = dmaengine_prep_slave_single(dma->chan_tx, in dspi_next_xfer_dma_submit()
430 dma_async_issue_pending(dma->chan_tx); in dspi_next_xfer_dma_submit()
441 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit()
450 dmaengine_terminate_all(dma->chan_tx); in dspi_next_xfer_dma_submit()
510 dma->chan_tx = dma_request_chan(dev, "tx"); in dspi_request_dma()
511 if (IS_ERR(dma->chan_tx)) { in dspi_request_dma()
513 ret = PTR_ERR(dma->chan_tx); in dspi_request_dma()
517 dma->tx_dma_buf = dma_alloc_coherent(dma->chan_tx->device->dev, in dspi_request_dma()
550 ret = dmaengine_slave_config(dma->chan_tx, &cfg); in dspi_request_dma()
567 dma_free_coherent(dma->chan_tx->device->dev, in dspi_request_dma()
570 dma_release_channel(dma->chan_tx); in dspi_request_dma()
588 if (dma->chan_tx) { in dspi_release_dma()
589 dma_free_coherent(dma->chan_tx->device->dev, dma_bufsize, in dspi_release_dma()
591 dma_release_channel(dma->chan_tx); in dspi_release_dma()
1222 dmaengine_terminate_sync(dspi->dma->chan_tx); in dspi_slave_abort()