Home
last modified time | relevance | path

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

/u-boot/drivers/rng/
A Dsandbox_rng.c23 seed = get_timer(0) ^ rand(); in sandbox_rng_read()
27 random = rand(); in sandbox_rng_read()
34 random = rand(); in sandbox_rng_read()
A Dmeson-rng.c33 u32 rand = readl(pdata->base); in meson_rng_read() local
40 memcpy(buffer, &rand, step); in meson_rng_read()
/u-boot/tools/
A Dgen_eth_addr.c24 ethaddr_high = (rand() & 0xfeff) | 0x0200; in main()
25 ethaddr_low = rand(); in main()
/u-boot/arch/arm/cpu/armv8/
A Dsec_firmware.c375 int sec_firmware_get_random(uint8_t *rand, int bytes) in sec_firmware_get_random() argument
400 memcpy(rand, &num, bytes); in sec_firmware_get_random()
467 u8 rand[8]; in fdt_fixup_kaslr() local
476 ret = sec_firmware_get_random(rand, 8); in fdt_fixup_kaslr()
493 err = fdt_setprop(fdt, nodeoffset, "kaslr-seed", rand, in fdt_fixup_kaslr()
494 sizeof(rand)); in fdt_fixup_kaslr()
/u-boot/test/dm/
A Dmux-cmd.c129 srand(get_ticks() + rand()); in dm_test_cmd_mux_select()
133 state = rand() % mux->states; in dm_test_cmd_mux_select()
163 srand(get_ticks() + rand()); in dm_test_cmd_mux_deselect()
167 state = rand() % mux->states; in dm_test_cmd_mux_deselect()
A Dregmap.c308 srand(get_ticks() + rand()); in dm_test_devm_regmap()
310 pattern[i] = rand(); in dm_test_devm_regmap()
/u-boot/include/
A Drand.h27 unsigned int rand(void);
/u-boot/lib/
A Drand.c24 unsigned int rand(void) in rand() function
A Duuid.c269 srand(get_ticks() + rand()); in gen_rand_uuid()
273 ptr[i] = rand(); in gen_rand_uuid()
A DMakefile115 obj-$(CONFIG_LIB_RAND) += rand.o
/u-boot/arch/arm/include/asm/armv8/
A Dsec_firmware.h18 int sec_firmware_get_random(uint8_t *rand, int bytes);
/u-boot/doc/api/
A Drng.rst16 .. kernel-doc:: include/rand.h
/u-boot/drivers/crypto/
A Dace_sha.c143 unsigned int rand(void) in rand() function
183 return rand(); in rand_r()
/u-boot/drivers/ram/stm32mp1/
A Dstm32mp1_tests.c610 seed = rand(); in test_random()
612 writel(rand(), addr + offset); in test_random()
620 value = rand(); in test_random()
1285 (rand() & (STM32_DDR_SIZE - 1) & ~0x3)); in test_read()
1334 (rand() & (STM32_DDR_SIZE - 1) & ~0x3)); in test_write()
1335 data = rand(); in test_write()
A Dstm32mp1_tuning.c407 writel(rand(), &phy->bistlsr); in BIST_test()
/u-boot/test/lib/
A Dtest_aes.c41 buf[i] = rand() & 0xff; in rand_buf()
/u-boot/cmd/
A Dmem.c1295 seed = get_timer(0) ^ rand(); in do_random()
1302 *buf++ = rand(); in do_random()
1306 *buf8++ = rand() & 0xFF; in do_random()
/u-boot/net/
A Dbootp.c752 rand_ms = rand() >> (22 - bootp_try); in bootp_request()
754 rand_ms = rand() >> 19; in bootp_request()
/u-boot/scripts/kconfig/
A Dconfdata.c1149 def = (rand() % cnt); in randomize_choice_values()
1263 cnt = rand() % 100; in conf_set_all_new_symbols()
/u-boot/fs/fat/
A Dfat_write.c155 j = 10 + (rand() >> j); in set_name()

Completed in 40 milliseconds