Lines Matching refs:dma_rx
487 if (dmaengine_slave_config(master->dma_rx, slave_config)) { in atmel_spi_dma_slave_config()
510 master->dma_rx = dma_request_chan(dev, "rx"); in atmel_spi_configure_dma()
511 if (IS_ERR(master->dma_rx)) { in atmel_spi_configure_dma()
512 err = PTR_ERR(master->dma_rx); in atmel_spi_configure_dma()
528 dma_chan_name(master->dma_rx)); in atmel_spi_configure_dma()
532 if (!IS_ERR(master->dma_rx)) in atmel_spi_configure_dma()
533 dma_release_channel(master->dma_rx); in atmel_spi_configure_dma()
537 master->dma_tx = master->dma_rx = NULL; in atmel_spi_configure_dma()
543 if (master->dma_rx) in atmel_spi_stop_dma()
544 dmaengine_terminate_all(master->dma_rx); in atmel_spi_stop_dma()
551 if (master->dma_rx) { in atmel_spi_release_dma()
552 dma_release_channel(master->dma_rx); in atmel_spi_release_dma()
553 master->dma_rx = NULL; in atmel_spi_release_dma()
699 struct dma_chan *rxchan = master->dma_rx; in atmel_spi_next_xfer_dma_submit()