Lines Matching refs:rng_regs
47 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_present() local
51 data = (in_le32(rng_regs + SDCRNG_CTL_REG) in pasemi_rng_data_present()
62 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_read() local
63 *data = in_le32(rng_regs + SDCRNG_VAL_REG); in pasemi_rng_data_read()
69 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_init() local
73 out_le32(rng_regs + SDCRNG_CTL_REG, ctl); in pasemi_rng_init()
74 out_le32(rng_regs + SDCRNG_CTL_REG, ctl & ~SDCRNG_CTL_DR); in pasemi_rng_init()
81 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_cleanup() local
85 out_le32(rng_regs + SDCRNG_CTL_REG, in pasemi_rng_cleanup()
86 in_le32(rng_regs + SDCRNG_CTL_REG) & ~ctl); in pasemi_rng_cleanup()
99 void __iomem *rng_regs; in rng_probe() local
108 rng_regs = ioremap(res.start, 0x100); in rng_probe()
110 if (!rng_regs) in rng_probe()
113 pasemi_rng.priv = (unsigned long)rng_regs; in rng_probe()
120 iounmap(rng_regs); in rng_probe()
127 void __iomem *rng_regs = (void __iomem *)pasemi_rng.priv; in rng_remove() local
130 iounmap(rng_regs); in rng_remove()