Lines Matching full:dma_rx
140 ctlr->dma_rx = dma_request_chan(dev, "rx"); in at91_usart_spi_configure_dma()
141 if (IS_ERR(ctlr->dma_rx)) { in at91_usart_spi_configure_dma()
142 err = PTR_ERR(ctlr->dma_rx); in at91_usart_spi_configure_dma()
155 if (dmaengine_slave_config(ctlr->dma_rx, &slave_config)) { in at91_usart_spi_configure_dma()
176 if (!IS_ERR_OR_NULL(ctlr->dma_rx)) in at91_usart_spi_configure_dma()
177 dma_release_channel(ctlr->dma_rx); in at91_usart_spi_configure_dma()
179 ctlr->dma_rx = NULL; in at91_usart_spi_configure_dma()
187 if (ctlr->dma_rx) in at91_usart_spi_release_dma()
188 dma_release_channel(ctlr->dma_rx); in at91_usart_spi_release_dma()
195 if (ctlr->dma_rx) in at91_usart_spi_stop_dma()
196 dmaengine_terminate_all(ctlr->dma_rx); in at91_usart_spi_stop_dma()
205 struct dma_chan *rxchan = ctlr->dma_rx; in at91_usart_spi_dma_transfer()