Lines Matching full:csr

82 	rctx->csr.pka.v = 0;  in starfive_rsa_montgomery_form()
84 writel(rctx->csr.pka.v, cryp->base + STARFIVE_PKA_CACR_OFFSET); in starfive_rsa_montgomery_form()
90 rctx->csr.pka.v = 0; in starfive_rsa_montgomery_form()
91 rctx->csr.pka.cln_done = 1; in starfive_rsa_montgomery_form()
92 rctx->csr.pka.opsize = opsize; in starfive_rsa_montgomery_form()
93 rctx->csr.pka.exposize = opsize; in starfive_rsa_montgomery_form()
94 rctx->csr.pka.cmd = CRYPTO_CMD_PRE; in starfive_rsa_montgomery_form()
95 rctx->csr.pka.start = 1; in starfive_rsa_montgomery_form()
96 rctx->csr.pka.not_r2 = 1; in starfive_rsa_montgomery_form()
97 rctx->csr.pka.ie = 1; in starfive_rsa_montgomery_form()
99 writel(rctx->csr.pka.v, cryp->base + STARFIVE_PKA_CACR_OFFSET); in starfive_rsa_montgomery_form()
112 rctx->csr.pka.v = 0; in starfive_rsa_montgomery_form()
113 rctx->csr.pka.cln_done = 1; in starfive_rsa_montgomery_form()
114 rctx->csr.pka.opsize = opsize; in starfive_rsa_montgomery_form()
115 rctx->csr.pka.exposize = opsize; in starfive_rsa_montgomery_form()
116 rctx->csr.pka.cmd = CRYPTO_CMD_AERN; in starfive_rsa_montgomery_form()
117 rctx->csr.pka.start = 1; in starfive_rsa_montgomery_form()
118 rctx->csr.pka.ie = 1; in starfive_rsa_montgomery_form()
120 writel(rctx->csr.pka.v, cryp->base + STARFIVE_PKA_CACR_OFFSET); in starfive_rsa_montgomery_form()
125 rctx->csr.pka.v = 0; in starfive_rsa_montgomery_form()
126 rctx->csr.pka.cln_done = 1; in starfive_rsa_montgomery_form()
127 rctx->csr.pka.opsize = opsize; in starfive_rsa_montgomery_form()
128 rctx->csr.pka.exposize = opsize; in starfive_rsa_montgomery_form()
129 rctx->csr.pka.cmd = CRYPTO_CMD_PRE; in starfive_rsa_montgomery_form()
130 rctx->csr.pka.start = 1; in starfive_rsa_montgomery_form()
131 rctx->csr.pka.pre_expf = 1; in starfive_rsa_montgomery_form()
132 rctx->csr.pka.ie = 1; in starfive_rsa_montgomery_form()
134 writel(rctx->csr.pka.v, cryp->base + STARFIVE_PKA_CACR_OFFSET); in starfive_rsa_montgomery_form()
146 rctx->csr.pka.v = 0; in starfive_rsa_montgomery_form()
147 rctx->csr.pka.cln_done = 1; in starfive_rsa_montgomery_form()
148 rctx->csr.pka.opsize = opsize; in starfive_rsa_montgomery_form()
149 rctx->csr.pka.exposize = opsize; in starfive_rsa_montgomery_form()
150 rctx->csr.pka.cmd = CRYPTO_CMD_ARN; in starfive_rsa_montgomery_form()
151 rctx->csr.pka.start = 1; in starfive_rsa_montgomery_form()
152 rctx->csr.pka.ie = 1; in starfive_rsa_montgomery_form()
154 writel(rctx->csr.pka.v, cryp->base + STARFIVE_PKA_CACR_OFFSET); in starfive_rsa_montgomery_form()
199 rctx->csr.pka.v = 0; in starfive_rsa_cpu_start()
200 rctx->csr.pka.cln_done = 1; in starfive_rsa_cpu_start()
201 rctx->csr.pka.opsize = opsize; in starfive_rsa_cpu_start()
202 rctx->csr.pka.exposize = opsize; in starfive_rsa_cpu_start()
203 rctx->csr.pka.cmd = CRYPTO_CMD_AARN; in starfive_rsa_cpu_start()
204 rctx->csr.pka.start = 1; in starfive_rsa_cpu_start()
205 rctx->csr.pka.ie = 1; in starfive_rsa_cpu_start()
207 writel(rctx->csr.pka.v, cryp->base + STARFIVE_PKA_CACR_OFFSET); in starfive_rsa_cpu_start()
214 rctx->csr.pka.v = 0; in starfive_rsa_cpu_start()
215 rctx->csr.pka.cln_done = 1; in starfive_rsa_cpu_start()
216 rctx->csr.pka.opsize = opsize; in starfive_rsa_cpu_start()
217 rctx->csr.pka.exposize = opsize; in starfive_rsa_cpu_start()
218 rctx->csr.pka.cmd = CRYPTO_CMD_AERN; in starfive_rsa_cpu_start()
219 rctx->csr.pka.start = 1; in starfive_rsa_cpu_start()
220 rctx->csr.pka.ie = 1; in starfive_rsa_cpu_start()
222 writel(rctx->csr.pka.v, cryp->base + STARFIVE_PKA_CACR_OFFSET); in starfive_rsa_cpu_start()