0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _MMC_CORE_CRYPTO_H
0009 #define _MMC_CORE_CRYPTO_H
0010
0011 struct mmc_host;
0012 struct mmc_queue_req;
0013 struct request_queue;
0014
0015 #ifdef CONFIG_MMC_CRYPTO
0016
0017 void mmc_crypto_set_initial_state(struct mmc_host *host);
0018
0019 void mmc_crypto_setup_queue(struct request_queue *q, struct mmc_host *host);
0020
0021 void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq);
0022
0023 #else
0024
0025 static inline void mmc_crypto_set_initial_state(struct mmc_host *host)
0026 {
0027 }
0028
0029 static inline void mmc_crypto_setup_queue(struct request_queue *q,
0030 struct mmc_host *host)
0031 {
0032 }
0033
0034 static inline void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq)
0035 {
0036 }
0037
0038 #endif
0039
0040 #endif