Lines Matching refs:rregs
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()
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()
109 clrsetbits_32(&jrp->rregs->rconfig_lo, JRCFG_IMSK, 0); in caam_reset_hw_jr()
176 irqstate = rd_reg32(&jrp->rregs->jrintstatus); in caam_jr_interrupt()
191 clrsetbits_32(&jrp->rregs->rconfig_lo, 0, JRCFG_IMSK); in caam_jr_interrupt()
194 wr_reg32(&jrp->rregs->jrintstatus, irqstate); in caam_jr_interrupt()
215 (outring_used = rd_reg32(&jrp->rregs->outring_used))) { in caam_jr_dequeue()
257 wr_reg32(&jrp->rregs->outring_rmvd, 1); in caam_jr_dequeue()
282 clrsetbits_32(&jrp->rregs->rconfig_lo, JRCFG_IMSK, 0); in caam_jr_dequeue()
420 wr_reg32(&jrp->rregs->inpring_jobadd, 1); in caam_jr_enqueue()
424 jrp->inpring_avail = rd_reg32(&jrp->rregs->inpring_avail); in caam_jr_enqueue()
472 wr_reg64(&jrp->rregs->inpring_base, inpbusaddr); in caam_jr_init()
473 wr_reg64(&jrp->rregs->outring_base, outbusaddr); in caam_jr_init()
474 wr_reg32(&jrp->rregs->inpring_size, JOBR_DEPTH); in caam_jr_init()
475 wr_reg32(&jrp->rregs->outring_size, JOBR_DEPTH); in caam_jr_init()
482 clrsetbits_32(&jrp->rregs->rconfig_lo, 0, JOBR_INTC | in caam_jr_init()
543 jrpriv->rregs = (struct caam_job_ring __iomem __force *)ctrl; in caam_jr_probe()