Lines Matching full:dma_tx
472 if (dmaengine_slave_config(master->dma_tx, slave_config)) { in atmel_spi_dma_slave_config()
503 master->dma_tx = dma_request_chan(dev, "tx"); in atmel_spi_configure_dma()
504 if (IS_ERR(master->dma_tx)) { in atmel_spi_configure_dma()
505 err = PTR_ERR(master->dma_tx); in atmel_spi_configure_dma()
527 dma_chan_name(master->dma_tx), in atmel_spi_configure_dma()
534 if (!IS_ERR(master->dma_tx)) in atmel_spi_configure_dma()
535 dma_release_channel(master->dma_tx); in atmel_spi_configure_dma()
537 master->dma_tx = master->dma_rx = NULL; in atmel_spi_configure_dma()
545 if (master->dma_tx) in atmel_spi_stop_dma()
546 dmaengine_terminate_all(master->dma_tx); in atmel_spi_stop_dma()
555 if (master->dma_tx) { in atmel_spi_release_dma()
556 dma_release_channel(master->dma_tx); in atmel_spi_release_dma()
557 master->dma_tx = NULL; in atmel_spi_release_dma()
700 struct dma_chan *txchan = master->dma_tx; in atmel_spi_next_xfer_dma_submit()