Lines Matching full:dma_rx
562 if (dmaengine_slave_config(host->dma_rx, &slave_config)) { in atmel_spi_dma_slave_config()
584 host->dma_rx = dma_request_chan(dev, "rx"); in atmel_spi_configure_dma()
585 if (IS_ERR(host->dma_rx)) { in atmel_spi_configure_dma()
586 err = PTR_ERR(host->dma_rx); in atmel_spi_configure_dma()
602 dma_chan_name(host->dma_rx)); in atmel_spi_configure_dma()
606 if (!IS_ERR(host->dma_rx)) in atmel_spi_configure_dma()
607 dma_release_channel(host->dma_rx); in atmel_spi_configure_dma()
611 host->dma_tx = host->dma_rx = NULL; in atmel_spi_configure_dma()
617 if (host->dma_rx) in atmel_spi_stop_dma()
618 dmaengine_terminate_all(host->dma_rx); in atmel_spi_stop_dma()
625 if (host->dma_rx) { in atmel_spi_release_dma()
626 dma_release_channel(host->dma_rx); in atmel_spi_release_dma()
627 host->dma_rx = NULL; in atmel_spi_release_dma()
773 struct dma_chan *rxchan = host->dma_rx; in atmel_spi_next_xfer_dma_submit()