Lines Matching full:rng
7 * Driver for the PWRficient onchip rng
34 static int pasemi_rng_data_present(struct hwrng *rng, int wait) in pasemi_rng_data_present() argument
36 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_present()
49 static int pasemi_rng_data_read(struct hwrng *rng, u32 *data) in pasemi_rng_data_read() argument
51 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_data_read()
56 static int pasemi_rng_init(struct hwrng *rng) in pasemi_rng_init() argument
58 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_init()
68 static void pasemi_rng_cleanup(struct hwrng *rng) in pasemi_rng_cleanup() argument
70 void __iomem *rng_regs = (void __iomem *)rng->priv; in pasemi_rng_cleanup()
96 pr_info("Registering PA Semi RNG\n"); in rng_probe()
101 { .compatible = "1682m-rng", },
102 { .compatible = "pasemi,pwrficient-rng", },
109 .name = "pasemi-rng",
119 MODULE_DESCRIPTION("H/W RNG driver for PA Semi processor");