Home
last modified time | relevance | path

Searched refs:rd_reg32 (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/crypto/caam/
Dctrl.c108 while (!(rd_reg32(&ctrl->deco_rsr) & DECORSR_VALID) && in run_descriptor_deco0()
117 while (!(rd_reg32(&ctrl->deco_rq) & DECORR_DEN0) && in run_descriptor_deco0()
143 deco_dbg_reg = rd_reg32(&deco->desc_dbg); in run_descriptor_deco0()
149 deco_state = (rd_reg32(&deco->dbg_exec) & in run_descriptor_deco0()
163 *status = rd_reg32(&deco->op_status_hi) & in run_descriptor_deco0()
236 rdsta_val = rd_reg32(&ctrl->r4tst[0].rdsta) & RDSTA_IFMASK; in instantiate_rng()
371 val = (rd_reg32(&r4tst->rtsdctl) & RTSDCTL_ENT_DLY_MASK) in kick_trng()
376 val = rd_reg32(&r4tst->rtsdctl); in kick_trng()
385 val = rd_reg32(&r4tst->rtmctl); in kick_trng()
420 ccbvid = rd_reg32(&ctrl->perfmon.ccb_id); in caam_get_era_from_hw()
[all …]
Djr.c78 while (((rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_MASK) == in caam_reset_hw_jr()
82 if ((rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_MASK) != in caam_reset_hw_jr()
91 while ((rd_reg32(&jrp->rregs->jrcommand) & JRCR_RESET) && --timeout) in caam_reset_hw_jr()
164 irqstate = rd_reg32(&jrp->rregs->jrintstatus); in caam_jr_interrupt()
203 (outring_used = rd_reg32(&jrp->rregs->outring_used))) { in caam_jr_dequeue()
413 jrp->inpring_avail = rd_reg32(&jrp->rregs->inpring_avail); in caam_jr_enqueue()
Dcaamrng.c323 rng_inst = (rd_reg32(&priv->ctrl->perfmon.cha_num_ls) & in caam_rng_init()
326 rng_inst = rd_reg32(&priv->ctrl->vreg.rng) & CHA_VER_NUM_MASK; in caam_rng_init()
Dcaamalg.c3547 cha_vid = rd_reg32(&priv->ctrl->perfmon.cha_id_ls); in caam_algapi_init()
3551 cha_inst = rd_reg32(&priv->ctrl->perfmon.cha_num_ls); in caam_algapi_init()
3561 aes_rn = rd_reg32(&priv->ctrl->perfmon.cha_rev_ls) & in caam_algapi_init()
3567 aesa = rd_reg32(&priv->ctrl->vreg.aesa); in caam_algapi_init()
3568 mdha = rd_reg32(&priv->ctrl->vreg.mdha); in caam_algapi_init()
3573 des_inst = rd_reg32(&priv->ctrl->vreg.desa) & CHA_VER_NUM_MASK; in caam_algapi_init()
3576 ccha_inst = rd_reg32(&priv->ctrl->vreg.ccha) & CHA_VER_NUM_MASK; in caam_algapi_init()
3577 ptha_inst = rd_reg32(&priv->ctrl->vreg.ptha) & CHA_VER_NUM_MASK; in caam_algapi_init()
3578 arc4_inst = rd_reg32(&priv->ctrl->vreg.afha) & CHA_VER_NUM_MASK; in caam_algapi_init()
Dcaamalg_qi.c2565 cha_vid = rd_reg32(&priv->ctrl->perfmon.cha_id_ls); in caam_qi_algapi_init()
2569 cha_inst = rd_reg32(&priv->ctrl->perfmon.cha_num_ls); in caam_qi_algapi_init()
2577 aesa = rd_reg32(&priv->ctrl->vreg.aesa); in caam_qi_algapi_init()
2578 mdha = rd_reg32(&priv->ctrl->vreg.mdha); in caam_qi_algapi_init()
2583 des_inst = rd_reg32(&priv->ctrl->vreg.desa) & CHA_VER_NUM_MASK; in caam_qi_algapi_init()
Dcaampkc.c1096 pk_inst = (rd_reg32(&priv->ctrl->perfmon.cha_num_ls) & in caam_pkc_init()
1099 pk_inst = rd_reg32(&priv->ctrl->vreg.pkha) & CHA_VER_NUM_MASK; in caam_pkc_init()
Dregs.h109 static inline u32 rd_reg32(void __iomem *reg) in rd_reg32() function
Dcaamhash.c1994 md_vid = (rd_reg32(&priv->ctrl->perfmon.cha_id_ls) & in caam_algapi_hash_init()
1996 md_inst = (rd_reg32(&priv->ctrl->perfmon.cha_num_ls) & in caam_algapi_hash_init()
1999 u32 mdha = rd_reg32(&priv->ctrl->vreg.mdha); in caam_algapi_hash_init()
/Linux-v5.4/drivers/tty/
Dsynclink_gt.c435 static __u32 rd_reg32(struct slgt_info *info, unsigned int addr);
2182 unsigned int status = rd_reg32(info, RDCSR); in isr_rdma()
2208 unsigned int status = rd_reg32(info, TDCSR); in isr_tdma()
2342 while((gsr = rd_reg32(info, GSR) & 0xffffff00)) { in slgt_interrupt()
2363 while ((changed = rd_reg32(info, IOSR)) != 0) { in slgt_interrupt()
2366 state = rd_reg32(info, IOVR); in slgt_interrupt()
2952 data = rd_reg32(info, IODR); in set_gpio()
2958 data = rd_reg32(info, IOVR); in set_gpio()
2976 gpio.state = rd_reg32(info, IOVR); in get_gpio()
2978 gpio.dir = rd_reg32(info, IODR); in get_gpio()
[all …]