Searched refs:cryp (Results 1 – 14 of 14) sorted by relevance
| /Linux-v5.4/drivers/crypto/stm32/ |
| D | stm32-cryp.c | 107 #define _walked_in (cryp->in_walk.offset - cryp->in_sg->offset) 108 #define _walked_out (cryp->out_walk.offset - cryp->out_sg->offset) 118 struct stm32_cryp *cryp; member 179 static inline bool is_aes(struct stm32_cryp *cryp) in is_aes() argument 181 return cryp->flags & FLG_AES; in is_aes() 184 static inline bool is_des(struct stm32_cryp *cryp) in is_des() argument 186 return cryp->flags & FLG_DES; in is_des() 189 static inline bool is_tdes(struct stm32_cryp *cryp) in is_tdes() argument 191 return cryp->flags & FLG_TDES; in is_tdes() 194 static inline bool is_ecb(struct stm32_cryp *cryp) in is_ecb() argument [all …]
|
| D | Makefile | 4 obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o
|
| D | Kconfig | 24 tristate "Support for STM32 cryp accelerators"
|
| /Linux-v5.4/drivers/crypto/mediatek/ |
| D | mtk-platform.c | 120 static void mtk_desc_ring_link(struct mtk_cryp *cryp, u32 mask) in mtk_desc_ring_link() argument 123 writel(MTK_DFSE_THR_CTRL_EN | mask, cryp->base + DFE_THR_CTRL); in mtk_desc_ring_link() 124 writel(MTK_DFSE_THR_CTRL_EN | mask, cryp->base + DSE_THR_CTRL); in mtk_desc_ring_link() 127 static void mtk_dfe_dse_buf_setup(struct mtk_cryp *cryp, in mtk_dfe_dse_buf_setup() argument 140 cryp->base + DFE_CFG); in mtk_dfe_dse_buf_setup() 144 cryp->base + DSE_CFG); in mtk_dfe_dse_buf_setup() 148 cryp->base + PE_IN_DBUF_THRESH); in mtk_dfe_dse_buf_setup() 152 cryp->base + PE_IN_TBUF_THRESH); in mtk_dfe_dse_buf_setup() 156 cryp->base + PE_OUT_DBUF_THRESH); in mtk_dfe_dse_buf_setup() 158 writel(0, cryp->base + PE_OUT_TBUF_THRESH); in mtk_dfe_dse_buf_setup() [all …]
|
| D | mtk-sha.c | 105 struct mtk_cryp *cryp; member 124 static int mtk_sha_handle_queue(struct mtk_cryp *cryp, u8 id, 127 static inline u32 mtk_sha_read(struct mtk_cryp *cryp, u32 offset) in mtk_sha_read() argument 129 return readl_relaxed(cryp->base + offset); in mtk_sha_read() 132 static inline void mtk_sha_write(struct mtk_cryp *cryp, in mtk_sha_write() argument 135 writel_relaxed(value, cryp->base + offset); in mtk_sha_write() 155 struct mtk_cryp *cryp = NULL; in mtk_sha_find_dev() local 159 if (!tctx->cryp) { in mtk_sha_find_dev() 161 cryp = tmp; in mtk_sha_find_dev() 164 tctx->cryp = cryp; in mtk_sha_find_dev() [all …]
|
| D | mtk-aes.c | 106 struct mtk_cryp *cryp; member 154 static inline u32 mtk_aes_read(struct mtk_cryp *cryp, u32 offset) in mtk_aes_read() argument 156 return readl_relaxed(cryp->base + offset); in mtk_aes_read() 159 static inline void mtk_aes_write(struct mtk_cryp *cryp, in mtk_aes_write() argument 162 writel_relaxed(value, cryp->base + offset); in mtk_aes_write() 167 struct mtk_cryp *cryp = NULL; in mtk_aes_find_dev() local 171 if (!ctx->cryp) { in mtk_aes_find_dev() 173 cryp = tmp; in mtk_aes_find_dev() 176 ctx->cryp = cryp; in mtk_aes_find_dev() 178 cryp = ctx->cryp; in mtk_aes_find_dev() [all …]
|
| D | mtk-platform.h | 122 typedef int (*mtk_aes_fn)(struct mtk_cryp *cryp, struct mtk_aes_rec *aes); 146 struct mtk_cryp *cryp; member 183 struct mtk_cryp *cryp; member 226 int mtk_cipher_alg_register(struct mtk_cryp *cryp); 227 void mtk_cipher_alg_release(struct mtk_cryp *cryp); 228 int mtk_hash_alg_register(struct mtk_cryp *cryp); 229 void mtk_hash_alg_release(struct mtk_cryp *cryp);
|
| /Linux-v5.4/Documentation/devicetree/bindings/crypto/ |
| D | st,stm32-cryp.txt | 4 - compatible: Should be "st,stm32f756-cryp". 14 compatible = "st,stm32f756-cryp";
|
| D | mediatek-crypto.txt | 9 - clock-names: Must contain "cryp". 23 clock-names = "cryp";
|
| /Linux-v5.4/drivers/crypto/ux500/ |
| D | Makefile | 8 obj-$(CONFIG_CRYPTO_DEV_UX500_CRYP) += cryp/
|
| /Linux-v5.4/drivers/crypto/ux500/cryp/ |
| D | Makefile | 10 ux500_cryp-objs := cryp.o cryp_irq.o cryp_core.o
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | ste-dbx5x0.dtsi | 1094 cryp@a03cb000 { 1095 compatible = "stericsson,ux500-cryp";
|
| D | stm32mp157c.dtsi | 1222 cryp1: cryp@54001000 { 1223 compatible = "st,stm32mp1-cryp";
|
| D | mt7623.dtsi | 1058 clock-names = "cryp";
|