summaryrefslogtreecommitdiff
path: root/drivers/staging/nmf-cm/cm_dma.h
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2012-04-06 11:11:33 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-04-06 11:11:33 +0200
commit51e8d6a38d035e820d1f9ea539d34cd76e348620 (patch)
tree2402a95655c57268d0b82a9de7f8c3903ab06506 /drivers/staging/nmf-cm/cm_dma.h
parent5c807f98e94548dac3fcbd391389c0869f8a9f32 (diff)
parent281be9692190c4a4dff54633d254fce5d4a6bea5 (diff)
Merge topic branch 'ste-multimedia-framework' into integration-linux-ux500-3.3
Diffstat (limited to 'drivers/staging/nmf-cm/cm_dma.h')
-rw-r--r--drivers/staging/nmf-cm/cm_dma.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/staging/nmf-cm/cm_dma.h b/drivers/staging/nmf-cm/cm_dma.h
new file mode 100644
index 00000000000..4fccef03830
--- /dev/null
+++ b/drivers/staging/nmf-cm/cm_dma.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) ST-Ericsson SA 2010
+ * License terms: GNU General Public License (GPL), version 2, with
+ * user space exemption described in the top-level COPYING file in
+ * the Linux kernel source tree.
+ */
+
+#ifndef __CMDMA_H
+#define __CMDMA_H
+#include "cmioctl.h"
+
+int cmdma_setup_relink_area(
+ unsigned int mem_addr,
+ unsigned int per_addr,
+ unsigned int segments,
+ unsigned int segmentsize,
+ unsigned int LOS,
+ enum cmdma_type type);
+
+void cmdma_stop_dma(void);
+int cmdma_init(void);
+void cmdma_destroy(void);
+#endif