Searched refs:cryp (Results 1 – 14 of 14) sorted by relevance
| /Linux-v4.19/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 180 static inline bool is_aes(struct stm32_cryp *cryp) in is_aes() argument 182 return cryp->flags & FLG_AES; in is_aes() 185 static inline bool is_des(struct stm32_cryp *cryp) in is_des() argument 187 return cryp->flags & FLG_DES; in is_des() 190 static inline bool is_tdes(struct stm32_cryp *cryp) in is_tdes() argument 192 return cryp->flags & FLG_TDES; in is_tdes() 195 static inline bool is_ecb(struct stm32_cryp *cryp) in is_ecb() argument [all …]
|
| D | Makefile | 3 obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o
|
| D | Kconfig | 23 tristate "Support for STM32 cryp accelerators"
|
| /Linux-v4.19/drivers/crypto/mediatek/ |
| D | mtk-platform.c | 124 static void mtk_desc_ring_link(struct mtk_cryp *cryp, u32 mask) in mtk_desc_ring_link() argument 127 writel(MTK_DFSE_THR_CTRL_EN | mask, cryp->base + DFE_THR_CTRL); in mtk_desc_ring_link() 128 writel(MTK_DFSE_THR_CTRL_EN | mask, cryp->base + DSE_THR_CTRL); in mtk_desc_ring_link() 131 static void mtk_dfe_dse_buf_setup(struct mtk_cryp *cryp, in mtk_dfe_dse_buf_setup() argument 144 cryp->base + DFE_CFG); in mtk_dfe_dse_buf_setup() 148 cryp->base + DSE_CFG); in mtk_dfe_dse_buf_setup() 152 cryp->base + PE_IN_DBUF_THRESH); in mtk_dfe_dse_buf_setup() 156 cryp->base + PE_IN_TBUF_THRESH); in mtk_dfe_dse_buf_setup() 160 cryp->base + PE_OUT_DBUF_THRESH); in mtk_dfe_dse_buf_setup() 162 writel(0, cryp->base + PE_OUT_TBUF_THRESH); in mtk_dfe_dse_buf_setup() [all …]
|
| D | mtk-aes.c | 105 struct mtk_cryp *cryp; member 152 static inline u32 mtk_aes_read(struct mtk_cryp *cryp, u32 offset) in mtk_aes_read() argument 154 return readl_relaxed(cryp->base + offset); in mtk_aes_read() 157 static inline void mtk_aes_write(struct mtk_cryp *cryp, in mtk_aes_write() argument 160 writel_relaxed(value, cryp->base + offset); in mtk_aes_write() 165 struct mtk_cryp *cryp = NULL; in mtk_aes_find_dev() local 169 if (!ctx->cryp) { in mtk_aes_find_dev() 171 cryp = tmp; in mtk_aes_find_dev() 174 ctx->cryp = cryp; in mtk_aes_find_dev() 176 cryp = ctx->cryp; in mtk_aes_find_dev() [all …]
|
| D | mtk-sha.c | 108 struct mtk_cryp *cryp; member 127 static int mtk_sha_handle_queue(struct mtk_cryp *cryp, u8 id, 130 static inline u32 mtk_sha_read(struct mtk_cryp *cryp, u32 offset) in mtk_sha_read() argument 132 return readl_relaxed(cryp->base + offset); in mtk_sha_read() 135 static inline void mtk_sha_write(struct mtk_cryp *cryp, in mtk_sha_write() argument 138 writel_relaxed(value, cryp->base + offset); in mtk_sha_write() 158 struct mtk_cryp *cryp = NULL; in mtk_sha_find_dev() local 162 if (!tctx->cryp) { in mtk_sha_find_dev() 164 cryp = tmp; in mtk_sha_find_dev() 167 tctx->cryp = cryp; in mtk_sha_find_dev() [all …]
|
| D | mtk-platform.h | 126 typedef int (*mtk_aes_fn)(struct mtk_cryp *cryp, struct mtk_aes_rec *aes); 150 struct mtk_cryp *cryp; member 187 struct mtk_cryp *cryp; member 230 int mtk_cipher_alg_register(struct mtk_cryp *cryp); 231 void mtk_cipher_alg_release(struct mtk_cryp *cryp); 232 int mtk_hash_alg_register(struct mtk_cryp *cryp); 233 void mtk_hash_alg_release(struct mtk_cryp *cryp);
|
| /Linux-v4.19/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-v4.19/drivers/crypto/ux500/ |
| D | Makefile | 8 obj-$(CONFIG_CRYPTO_DEV_UX500_CRYP) += cryp/
|
| /Linux-v4.19/drivers/crypto/ux500/cryp/ |
| D | Makefile | 13 ux500_cryp-objs := cryp.o cryp_irq.o cryp_core.o
|
| /Linux-v4.19/arch/arm/boot/dts/ |
| D | stm32mp157c.dtsi | 911 cryp1: cryp@54001000 { 912 compatible = "st,stm32mp1-cryp";
|
| D | ste-dbx5x0.dtsi | 1210 cryp@a03cb000 { 1211 compatible = "stericsson,ux500-cryp";
|
| D | mt7623.dtsi | 936 clock-names = "cryp";
|