Home
last modified time | relevance | path

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

/drivers/char/hw_random/
Dixp4xx-rng.c31 void __iomem * rng_base = (void __iomem *)rng->priv; in ixp4xx_rng_data_read() local
33 *buffer = __raw_readl(rng_base); in ixp4xx_rng_data_read()
45 void __iomem * rng_base; in ixp4xx_rng_init() local
51 rng_base = ioremap(0x70002100, 4); in ixp4xx_rng_init()
52 if (!rng_base) in ixp4xx_rng_init()
54 ixp4xx_rng_ops.priv = (unsigned long)rng_base; in ixp4xx_rng_init()
57 iounmap(rng_base); in ixp4xx_rng_init()
64 void __iomem * rng_base = (void __iomem *)ixp4xx_rng_ops.priv; in ixp4xx_rng_exit() local
67 iounmap(rng_base); in ixp4xx_rng_exit()
Diproc-rng200.c57 static void iproc_rng200_restart(void __iomem *rng_base) in iproc_rng200_restart() argument
62 val = ioread32(rng_base + RNG_CTRL_OFFSET); in iproc_rng200_restart()
65 iowrite32(val, rng_base + RNG_CTRL_OFFSET); in iproc_rng200_restart()
68 iowrite32(0xFFFFFFFFUL, rng_base + RNG_INT_STATUS_OFFSET); in iproc_rng200_restart()
71 val = ioread32(rng_base + RBG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
73 iowrite32(val, rng_base + RBG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
75 val = ioread32(rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
77 iowrite32(val, rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
79 val = ioread32(rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
81 iowrite32(val, rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart()
[all …]
Dgeode-rng.c98 unsigned long rng_base; in mod_init() local
116 rng_base = pci_resource_start(pdev, 0); in mod_init()
117 if (rng_base == 0) in mod_init()
120 mem = ioremap(rng_base, 0x58); in mod_init()