Lines Matching +full:inline +full:- +full:crypto +full:- +full:engine
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */
5 * ARM CryptoCell Linux Crypto Driver
16 #include <linux/dma-mapping.h>
17 #include <crypto/algapi.h>
18 #include <crypto/internal/skcipher.h>
19 #include <crypto/aes.h>
20 #include <crypto/sha1.h>
21 #include <crypto/sha2.h>
22 #include <crypto/aead.h>
23 #include <crypto/authenc.h>
24 #include <crypto/hash.h>
25 #include <crypto/skcipher.h>
110 * field in the HW descriptor. The DMA engine +8 that value.
128 * struct cc_drvdata - driver private data context
144 u32 sram_free_offset; /* offset to non-allocated area in SRAM */
194 static inline struct device *drvdata_to_dev(struct cc_drvdata *drvdata) in drvdata_to_dev()
196 return &drvdata->plat_dev->dev; in drvdata_to_dev()
200 static inline void dump_byte_array(const char *name, const u8 *the_array, in dump_byte_array()
212 static inline void cc_iowrite(struct cc_drvdata *drvdata, u32 reg, u32 val) in cc_iowrite()
214 iowrite32(val, (drvdata->cc_base + reg)); in cc_iowrite()
217 static inline u32 cc_ioread(struct cc_drvdata *drvdata, u32 reg) in cc_ioread()
219 return ioread32(drvdata->cc_base + reg); in cc_ioread()
222 static inline gfp_t cc_gfp_flags(struct crypto_async_request *req) in cc_gfp_flags()
224 return (req->flags & CRYPTO_TFM_REQ_MAY_SLEEP) ? in cc_gfp_flags()
228 static inline void set_queue_last_ind(struct cc_drvdata *drvdata, in set_queue_last_ind()
231 if (drvdata->hw_rev >= CC_HW_REV_712) in set_queue_last_ind()