printf: Remove unused 'bprintf'
[drm/drm-misc.git] / drivers / mmc / core / crypto.h
blobfbe9a520bf90d05737ffe96f0892a55501870f02
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * MMC crypto engine (inline encryption) support
5 * Copyright 2020 Google LLC
6 */
8 #ifndef _MMC_CORE_CRYPTO_H
9 #define _MMC_CORE_CRYPTO_H
11 struct mmc_host;
12 struct mmc_queue_req;
13 struct request_queue;
15 #ifdef CONFIG_MMC_CRYPTO
17 void mmc_crypto_set_initial_state(struct mmc_host *host);
19 void mmc_crypto_setup_queue(struct request_queue *q, struct mmc_host *host);
21 void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq);
23 #else /* CONFIG_MMC_CRYPTO */
25 static inline void mmc_crypto_set_initial_state(struct mmc_host *host)
29 static inline void mmc_crypto_setup_queue(struct request_queue *q,
30 struct mmc_host *host)
34 static inline void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq)
38 #endif /* !CONFIG_MMC_CRYPTO */
40 #endif /* _MMC_CORE_CRYPTO_H */