Lines Matching full:rng

99 /* Expect at most a single RNG instance */
110 * Extracts from the STM32 RNG specification when RNG supports CONDRST.
112 * When a noise source (or seed) error occurs, the RNG stops generating
118 * Indeed, when SEIS is set and SECS is cleared it means RNG performed
125 * cleared by RNG. The random number generation is now back to normal.
145 /* RNG auto-reset (step 2.) */ in conceal_seed_error_cond_reset()
179 * Extracts from the STM32 RNG specification, when CONDRST is not supported
181 * When a noise source (or seed) error occurs, the RNG stops generating
186 * error after the RNG initialization:
204 panic("RNG noise"); in conceal_seed_error_sw_reset()
226 FMSG("RNG not ready"); in read_available()
231 FMSG("RNG noise error"); in read_available()
239 /* RNG is ready: read up to 4 32bit words */ in read_available()
280 DMSG("RNG clk rate : %lu", clk_get_rate(dev->clock) >> clock_div); in stm32_rng_clock_freq_restrain()
338 * Keep default RNG configuration if none was specified. in stm32_rng_init()
358 * according to current RNG entropy source configuration in stm32_rng_init()
376 DMSG("RNG control register %#"PRIx32, in stm32_rng_init()
378 DMSG("RNG noise source control register %#"PRIx32, in stm32_rng_init()
380 DMSG("RNG health test register %#"PRIx32, in stm32_rng_init()
410 DMSG("No RNG"); in stm32_rng_read()
425 /* Read by chunks of the size the RNG FIFO depth */ in stm32_rng_read()
468 DMSG("PRNG seeded without RNG"); in plat_rng_init()
478 DMSG("PRNG seeded with RNG"); in plat_rng_init()
544 * RNG_CONFIG2[bit0] when RNG power consumption is critical. in stm32_rng_pm_suspend()
640 /* Expect a single RNG instance */ in stm32_rng_probe()
659 DMSG("RNG version Major %u, Minor %u", in stm32_rng_probe()
675 "rng-service"); in stm32_rng_probe()
721 { .compatible = "st,stm32-rng", .compat_data = &mp15_data },
722 { .compatible = "st,stm32mp13-rng", .compat_data = &mp13_data },
723 { .compatible = "st,stm32mp25-rng", .compat_data = &mp25_data },
736 DMSG("Release RNG driver"); in stm32_rng_release()