xref: /linux/include/linux/sw842.h (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __SW842_H__
3 #define __SW842_H__
4 
5 #define SW842_MEM_COMPRESS	(0xf000)
6 
7 int sw842_compress(const u8 *src, unsigned int srclen,
8 		   u8 *dst, unsigned int *destlen, void *wmem);
9 
10 int sw842_decompress(const u8 *src, unsigned int srclen,
11 		     u8 *dst, unsigned int *destlen);
12 
13 #endif
14