Searched refs:rng_base (Results 1 – 3 of 3) sorted by relevance
31 void __iomem * rng_base = (void __iomem *)rng->priv; in ixp4xx_rng_data_read() local33 *buffer = __raw_readl(rng_base); in ixp4xx_rng_data_read()45 void __iomem * rng_base; in ixp4xx_rng_init() local48 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() local64 iounmap(rng_base); in ixp4xx_rng_exit()
47 static void __iomem *rng_base; variable53 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()
93 unsigned long rng_base; in mod_init() local104 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()