Lines Matching refs:rx_dma
190 struct s3c64xx_spi_dma_data rx_dma; member
252 struct s3c64xx_spi_driver_data, rx_dma); in s3c64xx_spi_dmacb()
284 struct s3c64xx_spi_driver_data, rx_dma); in prepare_dma()
354 spi->dma_rx = sdd->rx_dma.ch; in s3c64xx_spi_prepare_transfer()
432 ret = prepare_dma(&sdd->rx_dma, &xfer->rx_sg); in s3c64xx_enable_datapath()
694 sdd->rx_dma.ch && sdd->tx_dma.ch) { in s3c64xx_spi_transfer_one()
750 dmaengine_pause(sdd->rx_dma.ch); in s3c64xx_spi_transfer_one()
751 dmaengine_tx_status(sdd->rx_dma.ch, sdd->rx_dma.cookie, &s); in s3c64xx_spi_transfer_one()
752 dmaengine_terminate_all(sdd->rx_dma.ch); in s3c64xx_spi_transfer_one()
1129 sdd->rx_dma.direction = DMA_DEV_TO_MEM; in s3c64xx_spi_probe()
1206 sdd->rx_dma.ch = dma_request_chan(&pdev->dev, "rx"); in s3c64xx_spi_probe()
1207 if (IS_ERR(sdd->rx_dma.ch)) { in s3c64xx_spi_probe()
1209 ret = PTR_ERR(sdd->rx_dma.ch); in s3c64xx_spi_probe()
1269 dma_release_channel(sdd->rx_dma.ch); in s3c64xx_spi_probe()
1292 dma_release_channel(sdd->rx_dma.ch); in s3c64xx_spi_remove()