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
48 rng_base = ioremap(0x70002100, 4); in ixp4xx_rng_init()
49 if (!rng_base) in ixp4xx_rng_init()
51 ixp4xx_rng_ops.priv = (unsigned long)rng_base; in ixp4xx_rng_init()
54 iounmap(rng_base); in ixp4xx_rng_init()
61 void __iomem * rng_base = (void __iomem *)ixp4xx_rng_ops.priv; in ixp4xx_rng_exit() local
64 iounmap(rng_base); in ixp4xx_rng_exit()
Domap-rng.c47 static void __iomem *rng_base; variable
53 return __raw_readl(rng_base + reg); in omap_rng_read_reg()
58 __raw_writel(val, rng_base + reg); in omap_rng_write_reg()
127 rng_base = ioremap(res->start, res->end - res->start + 1); in omap_rng_probe()
128 if (!rng_base) { in omap_rng_probe()
146 iounmap(rng_base); in omap_rng_probe()
147 rng_base = NULL; in omap_rng_probe()
166 iounmap(rng_base); in omap_rng_remove()
174 rng_base = NULL; in omap_rng_remove()
Dgeode-rng.c93 unsigned long rng_base; in mod_init() local
104 rng_base = pci_resource_start(pdev, 0); in mod_init()
105 if (rng_base == 0) in mod_init()
108 mem = ioremap(rng_base, 0x58); in mod_init()