https://github.com/torvalds/linux
Raw File
Tip revision: 7c60610d476766e128cc4284bb6349732cbd6606 authored by Linus Torvalds on 15 August 2021, 23:40:53 UTC
Linux 5.14-rc6
Tip revision: 7c60610
sw842.h
/* 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
back to top