Lines Matching full:dma_tx
134 ctlr->dma_tx = dma_request_chan(dev, "tx"); in at91_usart_spi_configure_dma()
135 if (IS_ERR(ctlr->dma_tx)) { in at91_usart_spi_configure_dma()
136 err = PTR_ERR(ctlr->dma_tx); in at91_usart_spi_configure_dma()
163 if (dmaengine_slave_config(ctlr->dma_tx, &slave_config)) { in at91_usart_spi_configure_dma()
174 if (!IS_ERR_OR_NULL(ctlr->dma_tx)) in at91_usart_spi_configure_dma()
175 dma_release_channel(ctlr->dma_tx); in at91_usart_spi_configure_dma()
178 ctlr->dma_tx = NULL; in at91_usart_spi_configure_dma()
189 if (ctlr->dma_tx) in at91_usart_spi_release_dma()
190 dma_release_channel(ctlr->dma_tx); in at91_usart_spi_release_dma()
197 if (ctlr->dma_tx) in at91_usart_spi_stop_dma()
198 dmaengine_terminate_all(ctlr->dma_tx); in at91_usart_spi_stop_dma()
206 struct dma_chan *txchan = ctlr->dma_tx; in at91_usart_spi_dma_transfer()