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