Searched refs:trng_base (Results 1 – 2 of 2) sorted by relevance
37 busy = (in_le32(dev->trng_base + PPC4XX_TRNG_STAT) & in ppc4xx_trng_data_present()51 *data = in_le32(dev->trng_base + PPC4XX_TRNG_DATA); in ppc4xx_trng_data_read()86 dev->trng_base = of_iomap(trng, 0); in ppc4xx_trng_probe()88 if (!dev->trng_base) in ppc4xx_trng_probe()101 out_le32(dev->trng_base + PPC4XX_TRNG_CTRL, PPC4XX_TRNG_CTRL_DALM); in ppc4xx_trng_probe()113 iounmap(dev->trng_base); in ppc4xx_trng_probe()115 dev->trng_base = NULL; in ppc4xx_trng_probe()126 iounmap(dev->trng_base); in ppc4xx_trng_remove()
85 void __iomem *trng_base; member