Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/hw_random/
H A Dpasemi-rng.c35 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_present() local
39 data = (in_le32(rng_regs + SDCRNG_CTL_REG) in pasemi_rng_data_present()
50 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_read() local
51 *data = in_le32(rng_regs + SDCRNG_VAL_REG); in pasemi_rng_data_read()
61 out_le32(rng_regs + SDCRNG_CTL_REG, ctl); in pasemi_rng_init()
73 out_le32(rng_regs + SDCRNG_CTL_REG, in pasemi_rng_cleanup()
74 in_le32(rng_regs + SDCRNG_CTL_REG) & ~ctl); in pasemi_rng_cleanup()
87 void __iomem *rng_regs; in rng_probe() local
90 if (IS_ERR(rng_regs)) in rng_probe()
91 return PTR_ERR(rng_regs); in rng_probe()
[all …]