1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 22da572c9SDan Streetman #ifndef __SW842_H__ 32da572c9SDan Streetman #define __SW842_H__ 42da572c9SDan Streetman 52da572c9SDan Streetman #define SW842_MEM_COMPRESS (0xf000) 62da572c9SDan Streetman 72da572c9SDan Streetman int sw842_compress(const u8 *src, unsigned int srclen, 82da572c9SDan Streetman u8 *dst, unsigned int *destlen, void *wmem); 92da572c9SDan Streetman 102da572c9SDan Streetman int sw842_decompress(const u8 *src, unsigned int srclen, 112da572c9SDan Streetman u8 *dst, unsigned int *destlen); 122da572c9SDan Streetman 132da572c9SDan Streetman #endif 14