wr_reg32
wr_reg32(&ctrlpriv->qi->qi_control_lo, QICTL_DQEN);
wr_reg32(&deco->descbuf[i], caam32_to_cpu(*(desc + i)));
wr_reg32(&r4tst->rtfrqmin, val >> 2);
wr_reg32(&r4tst->rtfrqmax, RTFRQMAX_DISABLE);
wr_reg32(&r4tst->rtsdctl, (val << RTSDCTL_ENT_DLY_SHIFT) |
wr_reg32(&r4tst->rtscmisc, (2 << 16) | 32);
wr_reg32(&r4tst->rtpkrrng, 570);
wr_reg32(&r4tst->rtpkrmax, 1600);
wr_reg32(&r4tst->rtscml, (122 << 16) | 317);
wr_reg32(&r4tst->rtscrl[0], (80 << 16) | 107);
wr_reg32(&r4tst->rtscrl[1], (57 << 16) | 62);
wr_reg32(&r4tst->rtscrl[2], (39 << 16) | 39);
wr_reg32(&r4tst->rtscrl[3], (27 << 16) | 26);
wr_reg32(&r4tst->rtscrl[4], (19 << 16) | 18);
wr_reg32(&r4tst->rtscrl[5], (18 << 16) | 17);
wr_reg32(&ctrl->mcr, state->mcr);
wr_reg32(&ctrl->scfgr, state->scfgr);
wr_reg32(&ctrl->deco_mid[i].liodn_ms,
wr_reg32(&ctrl->deco_mid[i].liodn_ls,
wr_reg32(&ctrl->jr_mid[i].liodn_ms,
wr_reg32(&ctrl->jr_mid[i].liodn_ls,
wr_reg32(&jrp->rregs->jrcommand, JRCR_RESET);
wr_reg32(&jrp->rregs->jrintstatus, irqstate);
wr_reg32(&jrp->rregs->outring_rmvd, 1);
wr_reg32(&jrp->rregs->inpring_jobadd, 1);
wr_reg32(&jrp->rregs->inpring_size, JOBR_DEPTH);
wr_reg32(&jrp->rregs->outring_size, JOBR_DEPTH);
wr_reg32(&jrp->rregs->jrcommand, jrcr_bits);
static inline void wr_reg32(void __iomem *reg, u32 data)
wr_reg32(info, RDCSR, status); /* clear pending */
wr_reg32(info, TDCSR, status); /* clear pending */
wr_reg32(info, IOSR, changed);
wr_reg32(info, XSR, xsync);
wr_reg32(info, XCR, xctrl);
wr_reg32(info, IODR, data);
wr_reg32(info, IOVR, data);
wr_reg32(info, IOER, rd_reg32(info, IOER) | gpio.smask);
wr_reg32(info, IOER, 0);
wr_reg32(info, RDCSR, BIT1);
wr_reg32(info, TDCSR, BIT1);
wr_reg32(info, RDCSR, BIT6);
wr_reg32(info, RDDAR, info->rbufs[0].pdesc);
wr_reg32(info, RDCSR, (BIT2 + BIT0));
wr_reg32(info, RDCSR, (BIT6 + BIT2 + BIT0));
wr_reg32(info, TDDAR, info->tbufs[info->tbuf_start].pdesc);
wr_reg32(info, TDCSR, BIT2 + BIT0);
static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value);