xref: /linux/include/linux/sw842.h (revision e65e175b07bef5974045cc42238de99057669ca7)
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