Lines Matching defs:dma
10 #include <linux/dma-mapping.h>
21 #include <linux/omap-dma.h>
156 struct dma_chan *dma;
201 * @dma_mode: dma mode enable (1) or disable (0)
220 /* Set dma/mpu mode, the prefetch read / post write and
354 * omap_nand_dma_callback: callback on the completion of dma transfer
363 * omap_nand_dma_transfer: configure and start dma transfer
387 n = dma_map_sg(info->dma->device->dev, &sg, 1, dir);
394 tx = dmaengine_prep_slave_sg(info->dma, &sg, n,
407 dma_async_issue_pending(info->dma);
429 dma_unmap_sg(info->dma->device->dev, &sg, 1, dir);
433 dma_unmap_sg(info->dma->device->dev, &sg, 1, dir);
1654 [NAND_OMAP_PREFETCH_DMA] = "prefetch-dma",
1854 info->dma = dma_request_chan(dev->parent, "rxtx");
1856 if (IS_ERR(info->dma)) {
1858 return PTR_ERR(info->dma);
1869 err = dmaengine_slave_config(info->dma, &cfg);
2267 if (!IS_ERR_OR_NULL(info->dma))
2268 dma_release_channel(info->dma);
2283 if (info->dma)
2284 dma_release_channel(info->dma);