Searched refs:rng_base (Results 1 – 3 of 3) sorted by relevance
49 static void iproc_rng200_enable_set(void __iomem *rng_base, bool enable) in iproc_rng200_enable_set() argument53 val = ioread32(rng_base + RNG_CTRL_OFFSET); in iproc_rng200_enable_set()59 iowrite32(val, rng_base + RNG_CTRL_OFFSET); in iproc_rng200_enable_set()62 static void iproc_rng200_restart(void __iomem *rng_base) in iproc_rng200_restart() argument66 iproc_rng200_enable_set(rng_base, false); in iproc_rng200_restart()69 iowrite32(0xFFFFFFFFUL, rng_base + RNG_INT_STATUS_OFFSET); in iproc_rng200_restart()72 val = ioread32(rng_base + RBG_SOFT_RESET_OFFSET); in iproc_rng200_restart()74 iowrite32(val, rng_base + RBG_SOFT_RESET_OFFSET); in iproc_rng200_restart()76 val = ioread32(rng_base + RNG_SOFT_RESET_OFFSET); in iproc_rng200_restart()78 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()
92 unsigned long rng_base; in geode_rng_init() local103 rng_base = pci_resource_start(pdev, 0); in geode_rng_init()104 if (rng_base == 0) in geode_rng_init()107 mem = ioremap(rng_base, 0x58); in geode_rng_init()