Lines Matching refs:txchan
54 ret = dma_get_slave_caps(dws->txchan, &caps); in dw_spi_dma_maxburst_init()
79 dma_get_slave_caps(dws->txchan, &tx); in dw_spi_dma_sg_burst_init()
118 dws->txchan = dma_request_channel(mask, dw_spi_dma_chan_filter, tx); in dw_spi_dma_init_mfld()
119 if (!dws->txchan) in dw_spi_dma_init_mfld()
123 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
154 dws->txchan = dma_request_chan(dev, "tx"); in dw_spi_dma_init_generic()
155 if (IS_ERR(dws->txchan)) { in dw_spi_dma_init_generic()
156 ret = PTR_ERR(dws->txchan); in dw_spi_dma_init_generic()
157 dws->txchan = NULL; in dw_spi_dma_init_generic()
162 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
181 if (dws->txchan) { in dw_spi_dma_exit()
182 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_exit()
183 dma_release_channel(dws->txchan); in dw_spi_dma_exit()
296 return dmaengine_slave_config(dws->txchan, &txconf); in dw_spi_dma_config_tx()
306 txdesc = dmaengine_prep_slave_sg(dws->txchan, sgl, nents, in dw_spi_dma_submit_tx()
318 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_submit_tx()
487 dma_async_issue_pending(dws->txchan); in dw_spi_dma_transfer_all()
573 dma_async_issue_pending(dws->txchan); in dw_spi_dma_transfer_one()
634 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_stop()