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()
3940 unsigned long rand_num; in addrconf_dad_kick() local3945 rand_num = 0; in addrconf_dad_kick()3947 rand_num = prandom_u32() % (idev->cnf.rtr_solicit_delay ? : 1); in addrconf_dad_kick()3958 addrconf_mod_dad_work(ifp, rand_num); in addrconf_dad_kick()
1858 uint32_t rand_num; in lpfc_sli4_new_fcf_random_select() local1861 rand_num = 0xFFFF & prandom_u32(); in lpfc_sli4_new_fcf_random_select()1864 if ((fcf_cnt * rand_num) < 0xFFFF) in lpfc_sli4_new_fcf_random_select()