Searched refs:cryp (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-cryp.c | 38 struct starfive_cryp_dev *cryp; in starfive_cryp_find_dev() local 41 if (!ctx->cryp) in starfive_cryp_find_dev() 42 ctx->cryp = list_first_entry_or_null(&dev_list.dev_list, in starfive_cryp_find_dev() 45 cryp = ctx->cryp; in starfive_cryp_find_dev() 48 return cryp; in starfive_cryp_find_dev() 58 static int starfive_dma_init(struct starfive_cryp_dev *cryp) in starfive_dma_init() argument 65 cryp->tx = dma_request_chan(cryp->dev, "tx"); in starfive_dma_init() 66 if (IS_ERR(cryp->tx)) in starfive_dma_init() 67 return dev_err_probe(cryp->dev, PTR_ERR(cryp->tx), in starfive_dma_init() 70 cryp->rx = dma_request_chan(cryp->dev, "rx"); in starfive_dma_init() [all …]
|
| H A D | jh7110-aes.c | 52 static inline int starfive_aes_wait_busy(struct starfive_cryp_dev *cryp) in starfive_aes_wait_busy() argument 56 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_AES_CSR, status, in starfive_aes_wait_busy() 60 static inline int starfive_aes_wait_keydone(struct starfive_cryp_dev *cryp) in starfive_aes_wait_keydone() argument 64 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_AES_CSR, status, in starfive_aes_wait_keydone() 68 static inline int starfive_aes_wait_gcmdone(struct starfive_cryp_dev *cryp) in starfive_aes_wait_gcmdone() argument 72 return readl_relaxed_poll_timeout(cryp->base + STARFIVE_AES_CSR, status, in starfive_aes_wait_gcmdone() 76 static inline int is_gcm(struct starfive_cryp_dev *cryp) in is_gcm() argument 78 return (cryp->flags & FLG_MODE_MASK) == STARFIVE_AES_MODE_GCM; in is_gcm() 81 static inline bool is_encrypt(struct starfive_cryp_dev *cryp) in is_encrypt() argument 83 return cryp->flags & FLG_ENCRYPT; in is_encrypt() [all …]
|
| H A D | Makefile | 4 jh7110-crypto-objs := jh7110-cryp.o jh7110-hash.o jh7110-rsa.o jh7110-aes.o
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp13xc.dtsi | 8 cryp: crypto@54002000 { label 9 compatible = "st,stm32mp1-cryp";
|
| H A D | stm32mp15xc.dtsi | 8 cryp1: cryp@54001000 { 9 compatible = "st,stm32mp1-cryp";
|
| H A D | stm32mp13xf.dtsi | 8 cryp: crypto@54002000 { label 9 compatible = "st,stm32mp1-cryp";
|
| H A D | stm32mp15xf.dtsi | 8 cryp1: cryp@54001000 { 9 compatible = "st,stm32mp1-cryp";
|
| /linux/drivers/crypto/stm32/ |
| H A D | Makefile | 3 obj-$(CONFIG_CRYPTO_DEV_STM32_CRYP) += stm32-cryp.o
|
| H A D | Kconfig | 18 tristate "Support for STM32 cryp accelerators"
|