Lines Matching full:dma_tx
548 if (dmaengine_slave_config(host->dma_tx, &slave_config)) { in atmel_spi_dma_slave_config()
577 host->dma_tx = dma_request_chan(dev, "tx"); in atmel_spi_configure_dma()
578 if (IS_ERR(host->dma_tx)) { in atmel_spi_configure_dma()
579 err = PTR_ERR(host->dma_tx); in atmel_spi_configure_dma()
601 dma_chan_name(host->dma_tx), in atmel_spi_configure_dma()
608 if (!IS_ERR(host->dma_tx)) in atmel_spi_configure_dma()
609 dma_release_channel(host->dma_tx); in atmel_spi_configure_dma()
611 host->dma_tx = host->dma_rx = NULL; in atmel_spi_configure_dma()
619 if (host->dma_tx) in atmel_spi_stop_dma()
620 dmaengine_terminate_all(host->dma_tx); in atmel_spi_stop_dma()
629 if (host->dma_tx) { in atmel_spi_release_dma()
630 dma_release_channel(host->dma_tx); in atmel_spi_release_dma()
631 host->dma_tx = NULL; in atmel_spi_release_dma()
774 struct dma_chan *txchan = host->dma_tx; in atmel_spi_next_xfer_dma_submit()