Lines Matching full:prng
70 struct rnd_state prng; member
130 &state->prng); in __mock_hwsp_timeline()
133 &state->prng); in __mock_hwsp_timeline()
162 state.prng = I915_RND_STATE_INITIALIZER(i915_selftest.random_seed); in mock_hwsp_freelist()
289 struct rnd_state prng; in bench_sync() local
301 * of the prng and subtract it from the reported results. in bench_sync()
303 prandom_seed_state(&prng, i915_selftest.random_seed); in bench_sync()
310 /* Make sure the compiler doesn't optimise away the prng call */ in bench_sync()
311 WRITE_ONCE(x, prandom_u32_state(&prng)); in bench_sync()
316 pr_debug("%s: %lu random evaluations, %lluns/prng\n", in bench_sync()
321 prandom_seed_state(&prng, i915_selftest.random_seed); in bench_sync()
326 u64 id = i915_prandom_u64_state(&prng); in bench_sync()
337 prandom_seed_state(&prng, i915_selftest.random_seed); in bench_sync()
341 u64 id = i915_prandom_u64_state(&prng); in bench_sync()
390 prandom_seed_state(&prng, i915_selftest.random_seed); in bench_sync()
395 u32 id = random_engine(&prng); in bench_sync()
396 u32 seqno = prandom_u32_state(&prng); in bench_sync()