Lines Matching refs:dma
15 #include <linux/dma-mapping.h>
26 #include <mach/dma.h>
168 * s3cmci_host_usedma - return whether the host is using dma or pio
889 s3c2410_dma_ctrl(host->dma, S3C2410_DMAOP_FLUSH);
926 s3c2410_dma_devconfig(host->dma, source,
930 s3c2410_dma_config(host->dma, 4);
931 s3c2410_dma_set_buffdone_fn(host->dma,
933 s3c2410_dma_setflags(host->dma, S3C2410_DMAF_AUTOSTART);
1091 s3c2410_dma_ctrl(host->dma, S3C2410_DMAOP_FLUSH);
1109 res = s3c2410_dma_enqueue(host->dma, host,
1114 s3c2410_dma_ctrl(host->dma, S3C2410_DMAOP_FLUSH);
1119 s3c2410_dma_ctrl(host->dma, S3C2410_DMAOP_START);
1688 /* depending on the dma state, get a dma channel to use. */
1691 host->dma = s3c2410_dma_request(DMACH_SDI, &s3cmci_dma_client,
1693 if (host->dma < 0) {
1743 "probe: mode:%s mapped mci_base:%p irq:%u irq_cd:%u dma:%u.\n",
1745 host->base, host->irq, host->irq_cd, host->dma);
1763 s3cmci_host_usedma(host) ? "dma" : "pio",
1779 s3c2410_dma_free(host->dma, &s3cmci_dma_client);
1841 s3c2410_dma_free(host->dma, &s3cmci_dma_client);