Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/caam/
Dctrl.c121 while (!(rd_reg32(&ctrl->deco_rsr) & DECORSR_VALID) && in run_descriptor_deco0()
130 while (!(rd_reg32(&ctrl->deco_rq) & DECORR_DEN0) && in run_descriptor_deco0()
156 deco_dbg_reg = rd_reg32(&deco->desc_dbg); in run_descriptor_deco0()
162 deco_state = (rd_reg32(&deco->dbg_exec) & in run_descriptor_deco0()
176 *status = rd_reg32(&deco->op_status_hi) & in run_descriptor_deco0()
333 rdsta_val = rd_reg32(&ctrl->r4tst[0].rdsta) & RDSTA_MASK; in instantiate_rng()
380 rtsdctl = rd_reg32(&r4tst->rtsdctl); in kick_trng()
444 ccbvid = rd_reg32(&perfmon->ccb_id); in caam_get_era_from_hw()
449 id_ms = rd_reg32(&perfmon->caam_id_ms); in caam_get_era_from_hw()
653 rng_vid = (rd_reg32(&perfmon->cha_id_ls) & in caam_ctrl_rng_init()
[all …]
Djr.c87 if (rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_INPROGRESS) in caam_jr_stop_processing()
97 while (((rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_MASK) == in caam_jr_stop_processing()
101 if ((rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_MASK) != in caam_jr_stop_processing()
125 u32 halt_status = rd_reg32(&jrp->rregs->jrintstatus) & in caam_jr_restart_processing()
154 while ((rd_reg32(&jrp->rregs->jrcommand) & JRCR_RESET) && --timeout) in caam_reset_hw_jr()
235 irqstate = rd_reg32(&jrp->rregs->jrintstatus); in caam_jr_interrupt()
275 (outring_used = rd_reg32(&jrp->rregs->outring_used))) { in caam_jr_dequeue()
493 jrp->inpring_avail = rd_reg32(&jrp->rregs->inpring_avail); in caam_jr_enqueue()
Dcaamprng.c217 rng_inst = (rd_reg32(&priv->jr[0]->perfmon.cha_num_ls) & in caam_prng_register()
220 rng_inst = rd_reg32(&priv->jr[0]->vreg.rng) & CHA_VER_NUM_MASK; in caam_prng_register()
Dcaamrng.c274 rng_inst = (rd_reg32(&priv->jr[0]->perfmon.cha_num_ls) & in caam_rng_init()
277 rng_inst = rd_reg32(&priv->jr[0]->vreg.rng) & CHA_VER_NUM_MASK; in caam_rng_init()
Dblob_gen.c107 moo = FIELD_GET(CSTA_MOO, rd_reg32(&ctrlpriv->ctrl->perfmon.status)); in caam_process_blob()
Dcaamalg.c3752 cha_vid = rd_reg32(&perfmon->cha_id_ls); in caam_algapi_init()
3756 cha_inst = rd_reg32(&perfmon->cha_num_ls); in caam_algapi_init()
3764 aes_rn = rd_reg32(&perfmon->cha_rev_ls) & CHA_ID_LS_AES_MASK; in caam_algapi_init()
3770 aesa = rd_reg32(&vreg->aesa); in caam_algapi_init()
3771 mdha = rd_reg32(&vreg->mdha); in caam_algapi_init()
3776 des_inst = rd_reg32(&vreg->desa) & CHA_VER_NUM_MASK; in caam_algapi_init()
3779 ccha_inst = rd_reg32(&vreg->ccha) & CHA_VER_NUM_MASK; in caam_algapi_init()
3780 ptha_inst = rd_reg32(&vreg->ptha) & CHA_VER_NUM_MASK; in caam_algapi_init()
Dcaamalg_qi.c2639 cha_vid = rd_reg32(&priv->ctrl->perfmon.cha_id_ls); in caam_qi_algapi_init()
2643 cha_inst = rd_reg32(&priv->ctrl->perfmon.cha_num_ls); in caam_qi_algapi_init()
2651 aesa = rd_reg32(&priv->ctrl->vreg.aesa); in caam_qi_algapi_init()
2652 mdha = rd_reg32(&priv->ctrl->vreg.mdha); in caam_qi_algapi_init()
2657 des_inst = rd_reg32(&priv->ctrl->vreg.desa) & CHA_VER_NUM_MASK; in caam_qi_algapi_init()
Dcaampkc.c1178 pk_inst = (rd_reg32(&priv->jr[0]->perfmon.cha_num_ls) & in caam_pkc_init()
1181 pkha = rd_reg32(&priv->jr[0]->vreg.pkha); in caam_pkc_init()
Dregs.h109 static inline u32 rd_reg32(void __iomem *reg) in rd_reg32() function
Dcaamhash.c1954 md_vid = (rd_reg32(&perfmon->cha_id_ls) & in caam_algapi_hash_init()
1956 md_inst = (rd_reg32(&perfmon->cha_num_ls) & in caam_algapi_hash_init()
1959 u32 mdha = rd_reg32(&priv->jr[0]->vreg.mdha); in caam_algapi_hash_init()
/Linux-v6.6/drivers/tty/
Dsynclink_gt.c404 static __u32 rd_reg32(struct slgt_info *info, unsigned int addr);
2116 unsigned int status = rd_reg32(info, RDCSR); in isr_rdma()
2142 unsigned int status = rd_reg32(info, TDCSR); in isr_tdma()
2276 while((gsr = rd_reg32(info, GSR) & 0xffffff00)) { in slgt_interrupt()
2297 while ((changed = rd_reg32(info, IOSR)) != 0) { in slgt_interrupt()
2300 state = rd_reg32(info, IOVR); in slgt_interrupt()
2879 data = rd_reg32(info, IODR); in set_gpio()
2885 data = rd_reg32(info, IOVR); in set_gpio()
2903 gpio.state = rd_reg32(info, IOVR); in get_gpio()
2905 gpio.dir = rd_reg32(info, IODR); in get_gpio()
[all …]