Lines Matching refs:dma_rx
565 if (dmaengine_slave_config(host->dma_rx, &slave_config)) { in atmel_spi_dma_slave_config()
587 host->dma_rx = dma_request_chan(dev, "rx"); in atmel_spi_configure_dma()
588 if (IS_ERR(host->dma_rx)) { in atmel_spi_configure_dma()
589 err = PTR_ERR(host->dma_rx); in atmel_spi_configure_dma()
605 dma_chan_name(host->dma_rx)); in atmel_spi_configure_dma()
609 if (!IS_ERR(host->dma_rx)) in atmel_spi_configure_dma()
610 dma_release_channel(host->dma_rx); in atmel_spi_configure_dma()
614 host->dma_tx = host->dma_rx = NULL; in atmel_spi_configure_dma()
620 if (host->dma_rx) in atmel_spi_stop_dma()
621 dmaengine_terminate_all(host->dma_rx); in atmel_spi_stop_dma()
628 if (host->dma_rx) { in atmel_spi_release_dma()
629 dma_release_channel(host->dma_rx); in atmel_spi_release_dma()
630 host->dma_rx = NULL; in atmel_spi_release_dma()
776 struct dma_chan *rxchan = host->dma_rx; in atmel_spi_next_xfer_dma_submit()