Home
last modified time | relevance | path

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

/arch/powerpc/platforms/powernv/
Drng.c24 struct powernv_rng { struct
30 static DEFINE_PER_CPU(struct powernv_rng *, powernv_rng); argument
32 static unsigned long rng_whiten(struct powernv_rng *rng, unsigned long val) in rng_whiten()
86 struct powernv_rng *rng; in powernv_get_random_long()
89 rng = get_cpu_var(powernv_rng); in powernv_get_random_long()
93 rng = raw_cpu_read(powernv_rng); in powernv_get_random_long()
100 static __init void rng_init_per_cpu(struct powernv_rng *rng, in rng_init_per_cpu()
110 if (per_cpu(powernv_rng, cpu) == NULL || in rng_init_per_cpu()
112 per_cpu(powernv_rng, cpu) = rng; in rng_init_per_cpu()
119 struct powernv_rng *rng; in rng_create()