Searched refs:rand_num (Results 1 – 3 of 3) sorted by relevance
56 u32 rand_num; in crypto4xx_hw_init() local82 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()
4076 unsigned long rand_num; in addrconf_dad_kick() local4080 rand_num = 0; in addrconf_dad_kick()4082 rand_num = get_random_u32_below( in addrconf_dad_kick()4094 addrconf_mod_dad_work(ifp, rand_num); in addrconf_dad_kick()
2197 uint32_t rand_num; in lpfc_sli4_new_fcf_random_select() local2200 rand_num = get_random_u16(); in lpfc_sli4_new_fcf_random_select()2203 if ((fcf_cnt * rand_num) < 0xFFFF) in lpfc_sli4_new_fcf_random_select()