Lines Matching refs:rng_regs
33 void __iomem *rng_regs = (void __iomem *) rng->priv; in ppc4xx_rng_data_present() local
37 busy = (in_le32(rng_regs + PPC4XX_TRNG_STAT) & PPC4XX_TRNG_STAT_B); in ppc4xx_rng_data_present()
49 void __iomem *rng_regs = (void __iomem *) rng->priv; in ppc4xx_rng_data_read() local
50 *data = in_le32(rng_regs + PPC4XX_TRNG_DATA); in ppc4xx_rng_data_read()
96 void __iomem *rng_regs; in ppc4xx_rng_probe() local
99 rng_regs = of_iomap(dev->dev.of_node, 0); in ppc4xx_rng_probe()
100 if (!rng_regs) in ppc4xx_rng_probe()
107 out_le32(rng_regs + PPC4XX_TRNG_CTRL, PPC4XX_TRNG_CTRL_DALM); in ppc4xx_rng_probe()
108 ppc4xx_rng.priv = (unsigned long) rng_regs; in ppc4xx_rng_probe()
117 void __iomem *rng_regs = (void __iomem *) ppc4xx_rng.priv; in ppc4xx_rng_remove() local
121 iounmap(rng_regs); in ppc4xx_rng_remove()