Home
last modified time | relevance | path

Searched full:eip93 (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/crypto/inside-secure/eip93/
H A Deip93-main.c21 #include "eip93-main.h"
22 #include "eip93-regs.h"
23 #include "eip93-common.h"
24 #include "eip93-cipher.h"
25 #include "eip93-aes.h"
26 #include "eip93-des.h"
27 #include "eip93-aead.h"
28 #include "eip93-hash.h"
65 inline void eip93_irq_disable(struct eip93_device *eip93, u32 mask) in eip93_irq_disable() argument
67 __raw_writel(mask, eip93 in eip93_irq_disable()
70 eip93_irq_enable(struct eip93_device * eip93,u32 mask) eip93_irq_enable() argument
75 eip93_irq_clear(struct eip93_device * eip93,u32 mask) eip93_irq_clear() argument
99 eip93_register_algs(struct eip93_device * eip93,u32 supported_algo_flags) eip93_register_algs() argument
175 eip93_handle_result_descriptor(struct eip93_device * eip93) eip93_handle_result_descriptor() argument
263 struct eip93_device *eip93 = (struct eip93_device *)data; eip93_done_task() local
270 struct eip93_device *eip93 = data; eip93_irq_handler() local
288 eip93_initialize(struct eip93_device * eip93,u32 supported_algo_flags) eip93_initialize() argument
338 eip93_desc_free(struct eip93_device * eip93) eip93_desc_free() argument
345 eip93_set_ring(struct eip93_device * eip93,struct eip93_desc_ring * ring) eip93_set_ring() argument
361 eip93_desc_init(struct eip93_device * eip93) eip93_desc_init() argument
385 eip93_cleanup(struct eip93_device * eip93) eip93_cleanup() argument
403 struct eip93_device *eip93; eip93_crypto_probe() local
471 struct eip93_device *eip93 = platform_get_drvdata(pdev); eip93_crypto_remove() local
[all...]
H A Deip93-hash.c15 #include "eip93-cipher.h"
16 #include "eip93-hash.h"
17 #include "eip93-main.h"
18 #include "eip93-common.h"
19 #include "eip93-regs.h"
26 struct eip93_device *eip93 = ctx->eip93; in eip93_hash_free_data_blocks() local
30 dma_unmap_single(eip93->dev, block->data_dma, in eip93_hash_free_data_blocks()
38 dma_unmap_single(eip93->dev, rctx->data_dma, in eip93_hash_free_data_blocks()
48 struct eip93_device *eip93 in eip93_hash_free_sa_record() local
66 struct eip93_device *eip93 = ctx->eip93; eip93_hash_handle_result() local
215 struct eip93_device *eip93 = ctx->eip93; eip93_send_hash_req() local
396 struct eip93_device *eip93 = ctx->eip93; eip93_hash_update() local
445 struct eip93_device *eip93 = ctx->eip93; __eip93_hash_final() local
526 struct eip93_device *eip93 = ctx->eip93; eip93_hash_finup() local
[all...]
H A Deip93-aead.c25 #include "eip93-aead.h"
26 #include "eip93-cipher.h"
27 #include "eip93-common.h"
28 #include "eip93-regs.h"
33 struct eip93_device *eip93 = ctx->eip93; in eip93_aead_handle_result() local
37 eip93_unmap_dma(eip93, rctx, req->src, req->dst); in eip93_aead_handle_result()
38 eip93_handle_result(eip93, rctx, req->iv); in eip93_aead_handle_result()
68 ctx->eip93 = tmpl->eip93; in eip93_aead_cra_init()
[all...]
H A Deip93-common.c19 #include "eip93-cipher.h"
20 #include "eip93-hash.h"
21 #include "eip93-common.h"
22 #include "eip93-main.h"
23 #include "eip93-regs.h"
25 int eip93_parse_ctrl_stat_err(struct eip93_device *eip93, int err) in eip93_parse_ctrl_stat_err() argument
42 dev_err(eip93->dev, "Unhandled error 0x%08x\n", err); in eip93_parse_ctrl_stat_err()
63 dev_err(eip93->dev, "Unhandled ext error 0x%08x\n", ext_err); in eip93_parse_ctrl_stat_err()
68 static void *eip93_ring_next_wptr(struct eip93_device *eip93, in eip93_ring_next_wptr() argument
85 static void *eip93_ring_next_rptr(struct eip93_device *eip93, in eip93_ring_next_rptr() argument
101 eip93_put_descriptor(struct eip93_device * eip93,struct eip93_descriptor * desc) eip93_put_descriptor() argument
122 eip93_get_descriptor(struct eip93_device * eip93) eip93_get_descriptor() argument
380 eip93_scatter_combine(struct eip93_device * eip93,struct eip93_cipher_reqctx * rctx,u32 datalen,u32 split,int offsetin) eip93_scatter_combine() argument
515 struct eip93_device *eip93 = ctx->eip93; eip93_send_req() local
640 eip93_unmap_dma(struct eip93_device * eip93,struct eip93_cipher_reqctx * rctx,struct scatterlist * reqsrc,struct scatterlist * reqdst) eip93_unmap_dma() argument
684 eip93_handle_result(struct eip93_device * eip93,struct eip93_cipher_reqctx * rctx,u8 * reqiv) eip93_handle_result() argument
[all...]
H A DMakefile1 obj-$(CONFIG_CRYPTO_DEV_EIP93) += crypto-hw-eip93.o
3 crypto-hw-eip93-y += eip93-main.o eip93-common.o
4 crypto-hw-eip93-y += eip93-cipher.o eip93-aead.o
5 crypto-hw-eip93-y += eip93-hash.o
H A Deip93-cipher.c14 #include "eip93-aes.h"
15 #include "eip93-cipher.h"
16 #include "eip93-common.h"
17 #include "eip93-des.h"
18 #include "eip93-regs.h"
23 struct eip93_device *eip93 = ctx->eip93; in eip93_skcipher_handle_result() local
27 eip93_unmap_dma(eip93, rctx, req->src, req->dst); in eip93_skcipher_handle_result()
28 eip93_handle_result(eip93, rctx, req->iv); in eip93_skcipher_handle_result()
61 ctx->eip93 in eip93_skcipher_cra_init()
[all...]
H A Deip93-cipher.h11 #include "eip93-main.h"
14 struct eip93_device *eip93; member
49 void eip93_unmap_dma(struct eip93_device *eip93, struct eip93_cipher_reqctx *rctx,
57 void eip93_handle_result(struct eip93_device *eip93, struct eip93_cipher_reqctx *rctx,
H A Deip93-hash.h13 #include "eip93-main.h"
14 #include "eip93-regs.h"
17 struct eip93_device *eip93; member
43 * EIP93 requires data to be accumulated in block of 64 bytes
H A DKconfig3 tristate "Support for EIP93 crypto HW accelerators"
14 EIP93 have various crypto HW accelerators. Select this if
15 you want to use the EIP93 modules for any of the crypto algorithms.
H A Deip93-common.h12 void *eip93_get_descriptor(struct eip93_device *eip93);
13 int eip93_put_descriptor(struct eip93_device *eip93, struct eip93_descriptor *desc);
18 int eip93_parse_ctrl_stat_err(struct eip93_device *eip93, int err);
H A Deip93-regs.h70 /* Absent in later revision of eip93 */
135 /* EIP93 CLOCK control registers */
143 /* EIP93 Device Option and Revision Register */
167 /* EIP93 Interrupt Control Register */
197 /* EIP93 SA Record register */
H A Deip93-main.h141 struct eip93_device *eip93; member
/linux/Documentation/devicetree/bindings/crypto/
H A Dinside-secure,safexcel-eip93.yaml4 $id: http://devicetree.org/schemas/crypto/inside-secure,safexcel-eip93.yaml#
15 PKTE to simply vendor+EIP93. The real IP under the hood is actually
34 - const: airoha,en7581-eip93
63 compatible = "airoha,en7581-eip93", "inside-secure,safexcel-eip93ies";
/linux/drivers/crypto/inside-secure/
H A DMakefile4 obj-y += eip93/
/linux/drivers/crypto/
H A DKconfig865 source "drivers/crypto/inside-secure/eip93/Kconfig"
/linux/
H A DMAINTAINERS12116 INSIDE SECURE EIP93 CRYPTO DRIVER
12120 F: Documentation/devicetree/bindings/crypto/inside-secure,safexcel-eip93.yaml
12121 F: drivers/crypto/inside-secure/eip93/