/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | selftest_migrate.c | 40 u32 sz, struct rnd_state *prng) in copy() argument 114 int x = i * 1024 + i915_prandom_u32_max_state(1024, prng); in copy() 259 u32 sz, struct rnd_state *prng) in clear() argument 333 i915_prandom_u32_max_state(1024, prng); in clear() 375 ccs_bytes_left), prng); in clear() 437 migrate_copy(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in migrate_copy() argument 439 return copy(migrate, __migrate_copy, sz, prng); in migrate_copy() 443 global_copy(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in global_copy() argument 445 return copy(migrate, __global_copy, sz, prng); in global_copy() 475 migrate_clear(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in migrate_clear() argument [all …]
|
D | selftest_rc6.c | 160 struct rnd_state *prng, in randomised_engines() argument 181 i915_prandom_shuffle(engines, sizeof(*engines), n, prng); in randomised_engines() 192 I915_RND_STATE(prng); in live_rc6_ctx_wa() 199 engines = randomised_engines(gt, &prng, &count); in live_rc6_ctx_wa()
|
D | selftest_timeline.c | 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 303 prandom_seed_state(&prng, i915_selftest.random_seed); in bench_sync() 311 WRITE_ONCE(x, prandom_u32_state(&prng)); 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() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | intel_memory_region.c | 165 I915_RND_STATE(prng); in igt_mock_reserve() 170 order = i915_random_order(count, &prng); in igt_mock_reserve() 184 u64 size = i915_prandom_u32_max_state(chunk_size, &prng); in igt_mock_reserve() 191 offset = igt_random_offset(&prng, 0, chunk_size, size, in igt_mock_reserve() 208 u32 size = i915_prandom_u32_max_state(cur_avail, &prng); in igt_mock_reserve() 243 I915_RND_STATE(prng); in igt_mock_contiguous() 279 target = i915_prandom_u64_state(&prng); in igt_mock_contiguous() 462 I915_RND_STATE(prng); in igt_mock_max_segment() 478 if (i915_prandom_u64_state(&prng) & 1) in igt_mock_max_segment() 565 I915_RND_STATE(prng); in igt_mock_io_size() [all …]
|
D | scatterlist.c | 278 struct rnd_state prng; in igt_sg_alloc() local 293 prandom_seed_state(&prng, in igt_sg_alloc() 295 err = alloc_table(&pt, sz, sz, *npages, &prng, in igt_sg_alloc() 302 prandom_seed_state(&prng, in igt_sg_alloc() 304 err = expect_pfn_sgtable(&pt, *npages, &prng, in igt_sg_alloc() 334 struct rnd_state prng; in igt_sg_trim() local 336 prandom_seed_state(&prng, i915_selftest.random_seed); in igt_sg_trim() 337 err = alloc_table(&pt, prime, max, *npages, &prng, in igt_sg_trim() 351 prandom_seed_state(&prng, in igt_sg_trim() 354 *npages, &prng, in igt_sg_trim()
|
D | i915_syncmap.c | 204 I915_RND_STATE(prng); in igt_syncmap_one() 217 u64 context = i915_prandom_u64_state(&prng); in igt_syncmap_one() 226 prandom_u32_state(&prng)); in igt_syncmap_one() 402 I915_RND_STATE(prng); in igt_syncmap_neighbours() 414 u64 context = i915_prandom_u64_state(&prng) & ~MASK; in igt_syncmap_neighbours() 544 I915_RND_STATE(prng); in igt_syncmap_random() 562 u64 context = i915_prandom_u64_state(&prng); in igt_syncmap_random() 578 seqno = prandom_u32_state(&prng); in igt_syncmap_random()
|
D | i915_gem.c | 49 u32 prng = 0x12345678; in trash_stolen() local 64 prng = next_pseudo_random32(prng); in trash_stolen() 65 iowrite32(prng, &s[x]); in trash_stolen()
|
D | i915_gem_gtt.c | 256 I915_RND_SUBSTATE(prng, seed_prng); in lowlevel_hole() 273 order = i915_random_order(count, &prng); in lowlevel_hole() 362 i915_random_reorder(order, count, &prng); in lowlevel_hole() 789 I915_RND_STATE(prng); in drunk_hole() 820 order = i915_random_order(count, &prng); in drunk_hole() 1345 I915_RND_STATE(prng); in igt_ggtt_page() 1386 order = i915_random_order(count, &prng); in igt_ggtt_page() 1402 i915_random_reorder(order, count, &prng); in igt_ggtt_page() 1533 I915_RND_STATE(prng); in igt_gtt_reserve() 1651 offset = igt_random_offset(&prng, in igt_gtt_reserve() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/crypto/ |
D | qcom,prng.yaml | 4 $id: http://devicetree.org/schemas/crypto/qcom,prng.yaml# 15 - qcom,prng # 8916 etc. 16 - qcom,prng-ee # 8996 and later using EE 39 compatible = "qcom,prng";
|
/linux-6.1.9/crypto/ |
D | ansi_cprng.c | 353 struct prng_context *prng = crypto_rng_ctx(tfm); in cprng_get_random() local 355 return get_prng_bytes(rdata, dlen, prng, 0); in cprng_get_random() 367 struct prng_context *prng = crypto_rng_ctx(tfm); in cprng_reset() local 377 reset_prng_context(prng, key, DEFAULT_PRNG_KSZ, seed, dt); in cprng_reset() 379 if (prng->flags & PRNG_NEED_RESET) in cprng_reset() 389 struct prng_context *prng = crypto_rng_ctx(tfm); in fips_cprng_get_random() local 391 return get_prng_bytes(rdata, dlen, prng, 1); in fips_cprng_get_random() 401 struct prng_context *prng = crypto_rng_ctx(tfm); in fips_cprng_reset() local 416 rc = get_prng_bytes(rdata, DEFAULT_BLK_SZ, prng, 0); in fips_cprng_reset() 417 prng->rand_data_valid = DEFAULT_BLK_SZ; in fips_cprng_reset()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_client_blt.c | 299 struct rnd_state *prng) in tiled_blits_create_buffers() argument 328 i915_prandom_u32_max_state(CLIENT_NUM_TILING_TYPES, prng); in tiled_blits_create_buffers() 425 struct rnd_state *prng) in verify_buffer() argument 431 x = i915_prandom_u32_max_state(t->width, prng); in verify_buffer() 432 y = i915_prandom_u32_max_state(t->height, prng); in verify_buffer() 555 tiled_blits_create(struct intel_engine_cs *engine, struct rnd_state *prng) in tiled_blits_create() argument 598 err = tiled_blits_create_buffers(t, WIDTH, HEIGHT, prng); in tiled_blits_create() 620 struct rnd_state *prng) in tiled_blits_prepare() argument 633 fill_scratch(t, map, prandom_u32_state(prng)); in tiled_blits_prepare() 634 GEM_BUG_ON(verify_buffer(t, &t->scratch, prng)); in tiled_blits_prepare() [all …]
|
D | i915_gem_coherency.c | 293 random_engine(struct drm_i915_private *i915, struct rnd_state *prng) in random_engine() argument 302 count = i915_prandom_u32_max_state(count, prng); in random_engine() 317 I915_RND_STATE(prng); in igt_gem_coherency() 336 ctx.engine = random_engine(i915, &prng); in igt_gem_coherency() 372 i915_random_reorder(offsets, ncachelines, &prng); in igt_gem_coherency() 374 values[n] = prandom_u32_state(&prng); in igt_gem_coherency()
|
D | huge_pages.c | 1138 I915_RND_STATE(prng); in igt_write_huge() 1187 order = i915_random_order(count * count, &prng); in igt_write_huge() 1284 static u32 igt_random_size(struct rnd_state *prng, in igt_random_size() argument 1297 size = prandom_u32_state(prng) & mask; in igt_random_size() 1308 I915_RND_STATE(prng); in igt_ppgtt_smoke_huge() 1332 size = igt_random_size(&prng, min, rounddown_pow_of_two(size)); in igt_ppgtt_smoke_huge()
|
/linux-6.1.9/arch/s390/boot/ |
D | kaslr.c | 48 struct prng_parm prng = { in get_random() local 76 *(unsigned long *) prng.parm_block ^= seed; in get_random() 78 cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, in get_random() 81 memcpy(prng.parm_block, entropy, sizeof(entropy)); in get_random() 84 cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, (u8 *) &random, in get_random()
|
/linux-6.1.9/drivers/gpu/drm/tests/ |
D | drm_mm_test.c | 346 DRM_RND_STATE(prng, random_seed); in __drm_test_mm_reserve() 362 order = drm_random_order(count, &prng); in __drm_test_mm_reserve() 402 drm_random_reorder(order, count, &prng); in __drm_test_mm_reserve() 529 DRM_RND_STATE(prng, random_seed); in __drm_test_mm_insert() 545 order = drm_random_order(count, &prng); in __drm_test_mm_insert() 1392 DRM_RND_STATE(prng, random_seed); in drm_test_mm_evict() 1410 order = drm_random_order(size, &prng); in drm_test_mm_evict() 1434 drm_random_reorder(order, size, &prng); in drm_test_mm_evict() 1444 drm_random_reorder(order, size, &prng); in drm_test_mm_evict() 1459 drm_random_reorder(order, size, &prng); in drm_test_mm_evict() [all …]
|
D | drm_buddy_test.c | 305 DRM_RND_STATE(prng, random_seed); in mm_config() 310 prandom_seed_state(&prng, random_seed); in mm_config() 313 s = 1 + drm_prandom_u32_max_state((BIT(33 - 12)) - 1, &prng); in mm_config() 315 ms = BIT(drm_prandom_u32_max_state(ilog2(s), &prng)); in mm_config() 413 DRM_RND_STATE(prng, random_seed); in drm_test_buddy_alloc_smoke() 421 order = drm_random_order(mm.max_order + 1, &prng); in drm_test_buddy_alloc_smoke()
|
/linux-6.1.9/drivers/crypto/allwinner/sun4i-ss/ |
D | Makefile | 4 sun4i-ss-$(CONFIG_CRYPTO_DEV_SUN4I_SS_PRNG) += sun4i-ss-prng.o
|
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ss/ |
D | Makefile | 3 sun8i-ss-$(CONFIG_CRYPTO_DEV_SUN8I_SS_PRNG) += sun8i-ss-prng.o
|
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ce/ |
D | Makefile | 4 sun8i-ce-$(CONFIG_CRYPTO_DEV_SUN8I_CE_PRNG) += sun8i-ce-prng.o
|
D | sun8i-ce-core.c | 49 .prng = CE_ALG_PRNG, 66 .prng = CE_ALG_PRNG, 88 .prng = CE_ALG_PRNG_V2, 105 .prng = CE_ALG_PRNG, 123 .prng = CE_ALG_PRNG, 140 .prng = CE_ALG_PRNG, 884 if (ce->variant->prng == CE_ID_NOTSUPP) { in sun8i_ce_register_algs()
|
D | sun8i-ce-prng.c | 122 common = ce->variant->prng | CE_COMM_INT; in sun8i_ce_prng_generate()
|
/linux-6.1.9/arch/s390/crypto/ |
D | Makefile | 15 obj-$(CONFIG_S390_PRNG) += prng.o
|
/linux-6.1.9/Documentation/devicetree/bindings/rng/ |
D | samsung,exynos4-rng.yaml | 16 - samsung,exynos5250-prng # for Exynos5250+
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | exynos5.dtsi | 213 prng: rng@10830400 { label 214 compatible = "samsung,exynos5250-prng";
|
D | qcom-ipq4018-jalapeno.dts | 61 &prng {
|