Home
last modified time | relevance | path

Searched refs:jrp (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/crypto/caam/
Djr.c76 struct caam_drv_private_jr *jrp = dev_get_drvdata(dev); in caam_reset_hw_jr() local
83 clrsetbits_32(&jrp->rregs->rconfig_lo, 0, JRCFG_IMSK); in caam_reset_hw_jr()
86 wr_reg32(&jrp->rregs->jrcommand, JRCR_RESET); in caam_reset_hw_jr()
87 while (((rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_MASK) == in caam_reset_hw_jr()
91 if ((rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_MASK) != in caam_reset_hw_jr()
93 dev_err(dev, "failed to flush job ring %d\n", jrp->ridx); in caam_reset_hw_jr()
99 wr_reg32(&jrp->rregs->jrcommand, JRCR_RESET); in caam_reset_hw_jr()
100 while ((rd_reg32(&jrp->rregs->jrcommand) & JRCR_RESET) && --timeout) in caam_reset_hw_jr()
104 dev_err(dev, "failed to reset job ring %d\n", jrp->ridx); in caam_reset_hw_jr()
109 clrsetbits_32(&jrp->rregs->rconfig_lo, JRCFG_IMSK, 0); in caam_reset_hw_jr()
[all …]
Dcaampkc.c121 struct caam_drv_private_jr *jrp = dev_get_drvdata(dev); in rsa_pub_done() local
143 crypto_finalize_akcipher_request(jrp->engine, req, ecode); in rsa_pub_done()
151 struct caam_drv_private_jr *jrp = dev_get_drvdata(dev); in rsa_priv_f_done() local
186 crypto_finalize_akcipher_request(jrp->engine, req, ecode); in rsa_priv_f_done()
Dcaamhash.c579 struct caam_drv_private_jr *jrp = dev_get_drvdata(jrdev); in ahash_done_cpy() local
611 crypto_finalize_hash_request(jrp->engine, req, ecode); in ahash_done_cpy()
630 struct caam_drv_private_jr *jrp = dev_get_drvdata(jrdev); in ahash_done_switch() local
673 crypto_finalize_hash_request(jrp->engine, req, ecode); in ahash_done_switch()
Dcaamalg.c974 struct caam_drv_private_jr *jrp = dev_get_drvdata(jrdev); in aead_crypt_done() local
998 crypto_finalize_aead_request(jrp->engine, req, ecode); in aead_crypt_done()
1008 struct caam_drv_private_jr *jrp = dev_get_drvdata(jrdev); in skcipher_crypt_done() local
1049 crypto_finalize_skcipher_request(jrp->engine, req, ecode); in skcipher_crypt_done()