Lines Matching full:dma_tx
613 dmaengine_terminate_async(ctlr->dma_tx); in bcm2835_spi_dma_rx_done()
684 chan = ctlr->dma_tx; in bcm2835_spi_prepare_sg()
805 dma_async_issue_pending(ctlr->dma_tx); in bcm2835_spi_transfer_one_dma()
819 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_spi_transfer_one_dma()
863 if (ctlr->dma_tx) { in bcm2835_dma_release()
864 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_dma_release()
870 dma_unmap_page_attrs(ctlr->dma_tx->device->dev, in bcm2835_dma_release()
875 dma_release_channel(ctlr->dma_tx); in bcm2835_dma_release()
876 ctlr->dma_tx = NULL; in bcm2835_dma_release()
904 ctlr->dma_tx = dma_request_chan(dev, "tx"); in bcm2835_dma_init()
905 if (IS_ERR(ctlr->dma_tx)) { in bcm2835_dma_init()
906 ret = dev_err_probe(dev, PTR_ERR(ctlr->dma_tx), in bcm2835_dma_init()
908 ctlr->dma_tx = NULL; in bcm2835_dma_init()
927 ret = dmaengine_slave_config(ctlr->dma_tx, &slave_config); in bcm2835_dma_init()
931 bs->fill_tx_addr = dma_map_page_attrs(ctlr->dma_tx->device->dev, in bcm2835_dma_init()
935 if (dma_mapping_error(ctlr->dma_tx->device->dev, bs->fill_tx_addr)) { in bcm2835_dma_init()
942 bs->fill_tx_desc = dmaengine_prep_dma_cyclic(ctlr->dma_tx, in bcm2835_dma_init()
1145 if (ctlr->dma_tx) { in bcm2835_spi_handle_err()
1146 dmaengine_terminate_sync(ctlr->dma_tx); in bcm2835_spi_handle_err()