summaryrefslogtreecommitdiffstats
path: root/include/linux/sw842.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sw842.h')
-rw-r--r--include/linux/sw842.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/sw842.h b/include/linux/sw842.h
new file mode 100644
index 000000000..3e29f5dcc
--- /dev/null
+++ b/include/linux/sw842.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#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