Lines Matching refs:rng_regs
48 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_present() local
52 data = (in_le32(rng_regs + SDCRNG_CTL_REG) in pasemi_rng_data_present()
63 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_read() local
64 *data = in_le32(rng_regs + SDCRNG_VAL_REG); in pasemi_rng_data_read()
70 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_init() local
74 out_le32(rng_regs + SDCRNG_CTL_REG, ctl); in pasemi_rng_init()
75 out_le32(rng_regs + SDCRNG_CTL_REG, ctl & ~SDCRNG_CTL_DR); in pasemi_rng_init()
82 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_cleanup() local
86 out_le32(rng_regs + SDCRNG_CTL_REG, in pasemi_rng_cleanup()
87 in_le32(rng_regs + SDCRNG_CTL_REG) & ~ctl); in pasemi_rng_cleanup()
100 void __iomem *rng_regs; in rng_probe() local
109 rng_regs = ioremap(res.start, 0x100); in rng_probe()
111 if (!rng_regs) in rng_probe()
114 pasemi_rng.priv = (unsigned long)rng_regs; in rng_probe()
121 iounmap(rng_regs); in rng_probe()
128 void __iomem *rng_regs = (void __iomem *)pasemi_rng.priv; in rng_remove() local
131 iounmap(rng_regs); in rng_remove()