Searched refs:rng_base (Results 1 – 3 of 3) sorted by relevance
48 static void iproc_rng200_enable_set(void __iomem *rng_base, bool enable) in iproc_rng200_enable_set() argument52 val = ioread32(rng_base + RNG_CTRL_OFFSET); in iproc_rng200_enable_set()58 iowrite32(val, rng_base + RNG_CTRL_OFFSET); in iproc_rng200_enable_set()61 static void iproc_rng200_restart(void __iomem *rng_base) in iproc_rng200_restart() argument65 iproc_rng200_enable_set(rng_base, false); 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()[all …]
29 void __iomem * rng_base = (void __iomem *)rng->priv; in ixp4xx_rng_data_read() local31 *buffer = __raw_readl(rng_base); in ixp4xx_rng_data_read()43 void __iomem * rng_base; in ixp4xx_rng_probe() local49 rng_base = devm_platform_ioremap_resource(pdev, 0); in ixp4xx_rng_probe()50 if (IS_ERR(rng_base)) in ixp4xx_rng_probe()51 return PTR_ERR(rng_base); in ixp4xx_rng_probe()53 ixp4xx_rng_ops.priv = (unsigned long)rng_base; in ixp4xx_rng_probe()
98 unsigned long rng_base; in geode_rng_init() local116 rng_base = pci_resource_start(pdev, 0); in geode_rng_init()117 if (rng_base == 0) in geode_rng_init()120 mem = ioremap(rng_base, 0x58); in geode_rng_init()