Lines Matching full:dma_tx
617 dmaengine_terminate_async(ctlr->dma_tx); in bcm2835_spi_dma_rx_done()
688 chan = ctlr->dma_tx; in bcm2835_spi_prepare_sg()
809 dma_async_issue_pending(ctlr->dma_tx); in bcm2835_spi_transfer_one_dma()
823 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_spi_transfer_one_dma()
867 if (ctlr->dma_tx) { in bcm2835_dma_release()
868 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_dma_release()
874 dma_unmap_page_attrs(ctlr->dma_tx->device->dev, in bcm2835_dma_release()
879 dma_release_channel(ctlr->dma_tx); in bcm2835_dma_release()
880 ctlr->dma_tx = NULL; in bcm2835_dma_release()
908 ctlr->dma_tx = dma_request_chan(dev, "tx"); in bcm2835_dma_init()
909 if (IS_ERR(ctlr->dma_tx)) { in bcm2835_dma_init()
910 ret = dev_err_probe(dev, PTR_ERR(ctlr->dma_tx), in bcm2835_dma_init()
912 ctlr->dma_tx = NULL; in bcm2835_dma_init()
931 ret = dmaengine_slave_config(ctlr->dma_tx, &slave_config); in bcm2835_dma_init()
935 bs->fill_tx_addr = dma_map_page_attrs(ctlr->dma_tx->device->dev, in bcm2835_dma_init()
939 if (dma_mapping_error(ctlr->dma_tx->device->dev, bs->fill_tx_addr)) { in bcm2835_dma_init()
946 bs->fill_tx_desc = dmaengine_prep_dma_cyclic(ctlr->dma_tx, in bcm2835_dma_init()
1136 if (ctlr->dma_tx) { in bcm2835_spi_handle_err()
1137 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_spi_handle_err()