Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A Dcore.c308 struct hwrng *new_rng; in enable_best_rng() local
310 new_rng = list_entry(rng_list.next, struct hwrng, list); in enable_best_rng()
311 ret = ((new_rng == current_rng) ? 0 : set_current_rng(new_rng)); in enable_best_rng()
328 struct hwrng *rng, *old_rng, *new_rng; in hwrng_attr_current_store() local
346 new_rng = get_current_rng_nolock(); in hwrng_attr_current_store()
349 if (new_rng) { in hwrng_attr_current_store()
350 if (new_rng != old_rng) in hwrng_attr_current_store()
351 add_early_randomness(new_rng); in hwrng_attr_current_store()
352 put_rng(new_rng); in hwrng_attr_current_store()
538 struct hwrng *old_rng, *new_rng; in hwrng_unregister() local
[all …]