summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/sw842.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/sw842.h')
-rw-r--r--kernel/include/linux/sw842.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/include/linux/sw842.h b/kernel/include/linux/sw842.h
new file mode 100644
index 000000000..109ba041c
--- /dev/null
+++ b/kernel/include/linux/sw842.h
@@ -0,0 +1,12 @@
+#ifndef __SW842_H__
+#define __SW842_H__
+
+#define SW842_MEM_COMPRESS (0xf000)
+
+int sw842_compress(const u8 *src, unsigned int srclen,
+ u8 *dst, unsigned int *destlen, void *wmem);
+
+int sw842_decompress(const u8 *src, unsigned int srclen,
+ u8 *dst, unsigned int *destlen);
+
+#endif