Lines Matching refs:txchan
53 ret = dma_get_slave_caps(dws->txchan, &caps); in dw_spi_dma_maxburst_init()
78 dma_get_slave_caps(dws->txchan, &tx); in dw_spi_dma_sg_burst_init()
117 dws->txchan = dma_request_channel(mask, dw_spi_dma_chan_filter, tx); in dw_spi_dma_init_mfld()
118 if (!dws->txchan) in dw_spi_dma_init_mfld()
122 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_mfld()
148 dws->txchan = dma_request_slave_channel(dev, "tx"); in dw_spi_dma_init_generic()
149 if (!dws->txchan) { in dw_spi_dma_init_generic()
156 dws->master->dma_tx = dws->txchan; in dw_spi_dma_init_generic()
169 if (dws->txchan) { in dw_spi_dma_exit()
170 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_exit()
171 dma_release_channel(dws->txchan); in dw_spi_dma_exit()
284 return dmaengine_slave_config(dws->txchan, &txconf); in dw_spi_dma_config_tx()
294 txdesc = dmaengine_prep_slave_sg(dws->txchan, sgl, nents, in dw_spi_dma_submit_tx()
306 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_submit_tx()
475 dma_async_issue_pending(dws->txchan); in dw_spi_dma_transfer_all()
561 dma_async_issue_pending(dws->txchan); in dw_spi_dma_transfer_one()
622 dmaengine_terminate_sync(dws->txchan); in dw_spi_dma_stop()