Home
last modified time | relevance | path

Searched refs:ctrlpriv (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/crypto/caam/
Dctrl.c92 struct caam_drv_private *ctrlpriv = dev_get_drvdata(ctrldev); in run_descriptor_deco0() local
93 struct caam_ctrl __iomem *ctrl = ctrlpriv->ctrl; in run_descriptor_deco0()
94 struct caam_deco __iomem *deco = ctrlpriv->deco; in run_descriptor_deco0()
100 if (ctrlpriv->virt_en == 1 || in run_descriptor_deco0()
145 if (ctrlpriv->era < 10) in run_descriptor_deco0()
166 if (ctrlpriv->virt_en == 1) in run_descriptor_deco0()
200 struct caam_drv_private *ctrlpriv = dev_get_drvdata(ctrldev); in instantiate_rng() local
205 ctrl = (struct caam_ctrl __iomem *)ctrlpriv->ctrl; in instantiate_rng()
310 struct caam_drv_private *ctrlpriv; in caam_remove() local
314 ctrlpriv = dev_get_drvdata(ctrldev); in caam_remove()
[all …]
Dqi.c711 struct caam_drv_private *ctrlpriv; in caam_qi_init() local
714 ctrlpriv = dev_get_drvdata(ctrldev); in caam_qi_init()
760 debugfs_create_file("qi_congested", 0444, ctrlpriv->ctl, in caam_qi_init()
764 ctrlpriv->qi_init = 1; in caam_qi_init()
Dcaamalg.c121 struct caam_drv_private *ctrlpriv = dev_get_drvdata(jrdev->parent); in aead_null_set_sh_desc() local
141 ctrlpriv->era); in aead_null_set_sh_desc()
160 ctrlpriv->era); in aead_null_set_sh_desc()
174 struct caam_drv_private *ctrlpriv = dev_get_drvdata(jrdev->parent); in aead_set_sh_desc() local
243 false, ctrlpriv->era); in aead_set_sh_desc()
265 nonce, ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
289 ctx1_iv_off, false, ctrlpriv->era); in aead_set_sh_desc()
567 struct caam_drv_private *ctrlpriv = dev_get_drvdata(jrdev->parent); in aead_setkey() local
584 if (ctrlpriv->era >= 6) { in aead_setkey()
1222 struct caam_drv_private *ctrlpriv = dev_get_drvdata(ctx->jrdev->parent); in init_authenc_job() local
[all …]
Dcaamhash.c227 struct caam_drv_private *ctrlpriv = dev_get_drvdata(jrdev->parent); in ahash_set_sh_desc() local
235 ctx->ctx_len, true, ctrlpriv->era); in ahash_set_sh_desc()
246 ctx->ctx_len, false, ctrlpriv->era); in ahash_set_sh_desc()
256 ctx->ctx_len, true, ctrlpriv->era); in ahash_set_sh_desc()
267 ctx->ctx_len, false, ctrlpriv->era); in ahash_set_sh_desc()
450 struct caam_drv_private *ctrlpriv = dev_get_drvdata(ctx->jrdev->parent); in ahash_setkey() local
470 if (ctrlpriv->era >= 6) { in ahash_setkey()
Dcaamalg_qi.c85 struct caam_drv_private *ctrlpriv = dev_get_drvdata(ctx->jrdev->parent); in aead_set_sh_desc() local
138 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
154 ctrlpriv->era); in aead_set_sh_desc()
171 ctx1_iv_off, true, ctrlpriv->era); in aead_set_sh_desc()
192 struct caam_drv_private *ctrlpriv = dev_get_drvdata(jrdev->parent); in aead_setkey() local
209 if (ctrlpriv->era >= 6) { in aead_setkey()