Searched refs:rand (Results 1 – 20 of 20) sorted by relevance
/u-boot/drivers/rng/ |
A D | sandbox_rng.c | 23 seed = get_timer(0) ^ rand(); in sandbox_rng_read() 27 random = rand(); in sandbox_rng_read() 34 random = rand(); in sandbox_rng_read()
|
A D | meson-rng.c | 33 u32 rand = readl(pdata->base); in meson_rng_read() local 40 memcpy(buffer, &rand, step); in meson_rng_read()
|
/u-boot/tools/ |
A D | gen_eth_addr.c | 24 ethaddr_high = (rand() & 0xfeff) | 0x0200; in main() 25 ethaddr_low = rand(); in main()
|
/u-boot/arch/arm/cpu/armv8/ |
A D | sec_firmware.c | 375 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 D | mux-cmd.c | 129 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 D | regmap.c | 308 srand(get_ticks() + rand()); in dm_test_devm_regmap() 310 pattern[i] = rand(); in dm_test_devm_regmap()
|
/u-boot/include/ |
A D | rand.h | 27 unsigned int rand(void);
|
/u-boot/lib/ |
A D | rand.c | 24 unsigned int rand(void) in rand() function
|
A D | uuid.c | 269 srand(get_ticks() + rand()); in gen_rand_uuid() 273 ptr[i] = rand(); in gen_rand_uuid()
|
A D | Makefile | 115 obj-$(CONFIG_LIB_RAND) += rand.o
|
/u-boot/arch/arm/include/asm/armv8/ |
A D | sec_firmware.h | 18 int sec_firmware_get_random(uint8_t *rand, int bytes);
|
/u-boot/doc/api/ |
A D | rng.rst | 16 .. kernel-doc:: include/rand.h
|
/u-boot/drivers/crypto/ |
A D | ace_sha.c | 143 unsigned int rand(void) in rand() function 183 return rand(); in rand_r()
|
/u-boot/drivers/ram/stm32mp1/ |
A D | stm32mp1_tests.c | 610 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 D | stm32mp1_tuning.c | 407 writel(rand(), &phy->bistlsr); in BIST_test()
|
/u-boot/test/lib/ |
A D | test_aes.c | 41 buf[i] = rand() & 0xff; in rand_buf()
|
/u-boot/cmd/ |
A D | mem.c | 1295 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 D | bootp.c | 752 rand_ms = rand() >> (22 - bootp_try); in bootp_request() 754 rand_ms = rand() >> 19; in bootp_request()
|
/u-boot/scripts/kconfig/ |
A D | confdata.c | 1149 def = (rand() % cnt); in randomize_choice_values() 1263 cnt = rand() % 100; in conf_set_all_new_symbols()
|
/u-boot/fs/fat/ |
A D | fat_write.c | 155 j = 10 + (rand() >> j); in set_name()
|
Completed in 40 milliseconds