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