Home
last modified time | relevance | path

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

/drivers/crypto/amcc/
Dcrypto4xx_core.c56 u32 rand_num; in crypto4xx_hw_init() local
82 get_random_bytes(&rand_num, sizeof(rand_num)); in crypto4xx_hw_init()
83 writel(rand_num, dev->ce_base + CRYPTO4XX_PRNG_SEED_L); in crypto4xx_hw_init()
84 get_random_bytes(&rand_num, sizeof(rand_num)); in crypto4xx_hw_init()
85 writel(rand_num, dev->ce_base + CRYPTO4XX_PRNG_SEED_H); in crypto4xx_hw_init()
/drivers/scsi/lpfc/
Dlpfc_hbadisc.c2169 uint32_t rand_num; in lpfc_sli4_new_fcf_random_select() local
2172 rand_num = get_random_u16(); in lpfc_sli4_new_fcf_random_select()
2175 if ((fcf_cnt * rand_num) < 0xFFFF) in lpfc_sli4_new_fcf_random_select()