drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git] / crypto / compress.h
blobc3cedfb5e606423654441f84704826351e0105c5
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Cryptographic API.
5 * Copyright 2015 LG Electronics Inc.
6 * Copyright (c) 2016, Intel Corporation
7 * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au>
8 */
9 #ifndef _LOCAL_CRYPTO_COMPRESS_H
10 #define _LOCAL_CRYPTO_COMPRESS_H
12 #include "internal.h"
14 struct acomp_req;
15 struct comp_alg_common;
17 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm);
18 struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req);
19 void crypto_acomp_scomp_free_ctx(struct acomp_req *req);
21 void comp_prepare_alg(struct comp_alg_common *alg);
23 #endif /* _LOCAL_CRYPTO_COMPRESS_H */