Lines Matching defs:dma
10 #include <linux/dma-mapping.h>
20 #include <linux/omap-dma.h>
157 struct dma_chan *dma;
185 * @dma_mode: dma mode enable (1) or disable (0)
203 /* Set dma/mpu mode, the prefetch read / post write and
439 * omap_nand_dma_callback: callback on the completion of dma transfer
448 * omap_nand_dma_transfer: configure and start dma transfer
471 n = dma_map_sg(info->dma->device->dev, &sg, 1, dir);
478 tx = dmaengine_prep_slave_sg(info->dma, &sg, n,
491 dma_async_issue_pending(info->dma);
513 dma_unmap_sg(info->dma->device->dev, &sg, 1, dir);
517 dma_unmap_sg(info->dma->device->dev, &sg, 1, dir);
1746 [NAND_OMAP_PREFETCH_DMA] = "prefetch-dma",
1941 info->dma = dma_request_chan(dev->parent, "rxtx");
1943 if (IS_ERR(info->dma)) {
1945 return PTR_ERR(info->dma);
1956 err = dmaengine_slave_config(info->dma, &cfg);
2272 if (!IS_ERR_OR_NULL(info->dma))
2273 dma_release_channel(info->dma);
2292 if (info->dma)
2293 dma_release_channel(info->dma);