Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dspapr_rng.c69 SpaprRngState *rngstate; in h_random() local
72 rngstate = SPAPR_RNG(object_resolve_path_type("", TYPE_SPAPR_RNG, NULL)); in h_random()
74 if (!rngstate || !rngstate->backend) { in h_random()
83 rng_backend_request_entropy(rngstate->backend, 8 - hrdata.received, in h_random()
110 SpaprRngState *rngstate = SPAPR_RNG(dev); in spapr_rng_realize() local
112 if (rngstate->use_kvm) { in spapr_rng_realize()
120 if (!rngstate->backend) { in spapr_rng_realize()
126 if (rngstate->backend) { in spapr_rng_realize()