Lines Matching full:dma_rx

530 		dma_sync_single_for_device(ctlr->dma_rx->device->dev,  in bcm2835_spi_transfer_prologue()
653 dmaengine_terminate_async(ctlr->dma_rx); in bcm2835_spi_dma_tx_done()
694 chan = ctlr->dma_rx; in bcm2835_spi_prepare_sg()
829 dma_async_issue_pending(ctlr->dma_rx); in bcm2835_spi_transfer_one_dma()
839 dmaengine_terminate_async(ctlr->dma_rx); in bcm2835_spi_transfer_one_dma()
883 if (ctlr->dma_rx) { in bcm2835_dma_release()
884 dmaengine_terminate_sync(ctlr->dma_rx); in bcm2835_dma_release()
885 dma_release_channel(ctlr->dma_rx); in bcm2835_dma_release()
886 ctlr->dma_rx = NULL; in bcm2835_dma_release()
915 ctlr->dma_rx = dma_request_chan(dev, "rx"); in bcm2835_dma_init()
916 if (IS_ERR(ctlr->dma_rx)) { in bcm2835_dma_init()
917 ret = dev_err_probe(dev, PTR_ERR(ctlr->dma_rx), in bcm2835_dma_init()
919 ctlr->dma_rx = NULL; in bcm2835_dma_init()
972 ret = dmaengine_slave_config(ctlr->dma_rx, &slave_config); in bcm2835_dma_init()
1140 if (ctlr->dma_rx) { in bcm2835_spi_handle_err()
1141 dmaengine_terminate_sync(ctlr->dma_rx); in bcm2835_spi_handle_err()
1160 dma_unmap_single(ctlr->dma_rx->device->dev, in bcm2835_spi_cleanup()
1178 if (!ctlr->dma_rx) in bcm2835_spi_setup_dma()
1181 target->clear_rx_addr = dma_map_single(ctlr->dma_rx->device->dev, in bcm2835_spi_setup_dma()
1185 if (dma_mapping_error(ctlr->dma_rx->device->dev, target->clear_rx_addr)) { in bcm2835_spi_setup_dma()
1191 target->clear_rx_desc = dmaengine_prep_dma_cyclic(ctlr->dma_rx, in bcm2835_spi_setup_dma()
1261 if (ctlr->dma_rx) { in bcm2835_spi_setup()
1265 dma_sync_single_for_device(ctlr->dma_rx->device->dev, in bcm2835_spi_setup()