Lines Matching full:dma_rx
178 struct dma_chan *dma_rx; member
224 if (host->dma_rx) in jz4740_mmc_release_dma_channels()
225 dma_release_channel(host->dma_rx); in jz4740_mmc_release_dma_channels()
247 host->dma_rx = dma_request_chan(mmc_dev(host->mmc), "rx"); in jz4740_mmc_acquire_dma_channels()
248 if (IS_ERR(host->dma_rx)) { in jz4740_mmc_acquire_dma_channels()
249 dev_err(mmc_dev(host->mmc), "Failed to get dma_rx channel\n"); in jz4740_mmc_acquire_dma_channels()
251 return PTR_ERR(host->dma_rx); in jz4740_mmc_acquire_dma_channels()
266 if (host->dma_rx) { in jz4740_mmc_acquire_dma_channels()
267 struct device *dev = host->dma_rx->device->dev; in jz4740_mmc_acquire_dma_channels()
280 if ((data->flags & MMC_DATA_READ) && host->dma_rx) in jz4740_mmc_get_dma_chan()
281 return host->dma_rx; in jz4740_mmc_get_dma_chan()