Home
last modified time | relevance | path

Searched refs:trng_base (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/crypto/amcc/
Dcrypto4xx_trng.c34 busy = (in_le32(dev->trng_base + PPC4XX_TRNG_STAT) & in ppc4xx_trng_data_present()
48 *data = in_le32(dev->trng_base + PPC4XX_TRNG_DATA); in ppc4xx_trng_data_read()
85 dev->trng_base = of_iomap(trng, 0); in ppc4xx_trng_probe()
87 if (!dev->trng_base) in ppc4xx_trng_probe()
100 out_le32(dev->trng_base + PPC4XX_TRNG_CTRL, PPC4XX_TRNG_CTRL_DALM); in ppc4xx_trng_probe()
111 iounmap(dev->trng_base); in ppc4xx_trng_probe()
113 dev->trng_base = NULL; in ppc4xx_trng_probe()
124 iounmap(dev->trng_base); in ppc4xx_trng_remove()
Dcrypto4xx_core.h78 void __iomem *trng_base; member