summaryrefslogtreecommitdiff
path: root/include/linux/sw842.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sw842.h')
-rw-r--r--include/linux/sw842.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/sw842.h b/include/linux/sw842.h
new file mode 100644
index 000000000..109ba041c
--- /dev/null
+++ b/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