Lines Matching full:dma_tx
609 dmaengine_terminate_async(ctlr->dma_tx); in bcm2835_spi_dma_rx_done()
680 chan = ctlr->dma_tx; in bcm2835_spi_prepare_sg()
801 dma_async_issue_pending(ctlr->dma_tx); in bcm2835_spi_transfer_one_dma()
815 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_spi_transfer_one_dma()
859 if (ctlr->dma_tx) { in bcm2835_dma_release()
860 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_dma_release()
866 dma_unmap_page_attrs(ctlr->dma_tx->device->dev, in bcm2835_dma_release()
871 dma_release_channel(ctlr->dma_tx); in bcm2835_dma_release()
872 ctlr->dma_tx = NULL; in bcm2835_dma_release()
900 ctlr->dma_tx = dma_request_chan(dev, "tx"); in bcm2835_dma_init()
901 if (IS_ERR(ctlr->dma_tx)) { in bcm2835_dma_init()
903 ret = PTR_ERR(ctlr->dma_tx); in bcm2835_dma_init()
904 ctlr->dma_tx = NULL; in bcm2835_dma_init()
923 ret = dmaengine_slave_config(ctlr->dma_tx, &slave_config); in bcm2835_dma_init()
927 bs->fill_tx_addr = dma_map_page_attrs(ctlr->dma_tx->device->dev, in bcm2835_dma_init()
931 if (dma_mapping_error(ctlr->dma_tx->device->dev, bs->fill_tx_addr)) { in bcm2835_dma_init()
938 bs->fill_tx_desc = dmaengine_prep_dma_cyclic(ctlr->dma_tx, in bcm2835_dma_init()
1141 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_spi_handle_err()