summaryrefslogblamecommitdiffstats
path: root/include/linux/sw842.h
blob: 3e29f5dcc62b9a60fe90a520b6f6d1a4cf215277 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                      











                                                               
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __SW842_H__
#define __SW842_H__

#define SW842_MEM_COMPRESS	(0xf000)

int sw842_compress(const u8 *src, unsigned int srclen,
		   u8 *dst, unsigned int *destlen, void *wmem);

int sw842_decompress(const u8 *src, unsigned int srclen,
		     u8 *dst, unsigned int *destlen);

#endif