/drivers/base/power/ |
D | trace.c | 132 static unsigned int hash_string(unsigned int seed, const char *data, unsigned int mod) in hash_string() argument 136 seed = (seed << 16) + (seed << 6) - seed + c; in hash_string() 138 return seed % mod; in hash_string()
|
/drivers/staging/winbond/ |
D | phy_calibration.c | 233 int seed; in _sqrt() local 245 seed = 0; in _sqrt() 246 while (((seed+1)*(step+1)) <= next) in _sqrt() 249 seed++; in _sqrt() 252 sq_rt = seed * 10000; in _sqrt() 253 next = (next-(seed*step))*100 + g3; in _sqrt() 256 seed = 2 * seed * 10; in _sqrt() 257 while (((seed+1)*(step+1)) <= next) in _sqrt() 260 seed++; in _sqrt() 264 next = (next - seed * step) * 100 + g2; in _sqrt() [all …]
|
/drivers/gpu/drm/ |
D | drm_hashtab.c | 137 unsigned long seed, int bits, int shift, in drm_ht_just_insert_please() argument 144 unshifted_key = hash_long(seed, bits); in drm_ht_just_insert_please()
|
/drivers/mtd/tests/ |
D | mtd_stresstest.c | 58 static inline void simple_srand(unsigned long seed) in simple_srand() argument 60 next = seed; in simple_srand()
|
D | mtd_speedtest.c | 52 static inline void simple_srand(unsigned long seed) in simple_srand() argument 54 next = seed; in simple_srand()
|
D | mtd_subpagetest.c | 53 static inline void simple_srand(unsigned long seed) in simple_srand() argument 55 next = seed; in simple_srand()
|
D | mtd_pagetest.c | 55 static inline void simple_srand(unsigned long seed) in simple_srand() argument 57 next = seed; in simple_srand()
|
D | mtd_oobtest.c | 56 static inline void simple_srand(unsigned long seed) in simple_srand() argument 58 next = seed; in simple_srand()
|
/drivers/staging/altpciechdma/ |
D | altpciechdma.c | 355 u32 seed = (u32)jiffies; 356 u32 value = seed; 360 value = seed; 368 value = seed;
|
/drivers/net/wireless/ |
D | airo.c | 956 emmh32_context seed; // Context - the seed member 1317 emmh32_setseed(&ai->mod[0].mCtx.seed,mic_rid.multicast,sizeof(mic_rid.multicast), ai->tfm); in micinit() 1335 emmh32_setseed(&ai->mod[0].uCtx.seed, mic_rid.unicast, sizeof(mic_rid.unicast), ai->tfm); in micinit() 1408 emmh32_init(&context->seed); // Mic the packet in encapsulate() 1409 emmh32_update(&context->seed,frame->da,ETH_ALEN * 2); // DA,SA in encapsulate() 1410 emmh32_update(&context->seed,(u8*)&mic->typelen,10); // Type/Length and Snap in encapsulate() 1411 emmh32_update(&context->seed,(u8*)&mic->seq,sizeof(mic->seq)); //SEQ in encapsulate() 1412 emmh32_update(&context->seed,frame->da + ETH_ALEN * 2,payLen); //payload in encapsulate() 1413 emmh32_final(&context->seed, (u8*)&mic->mic); in encapsulate() 1496 emmh32_init(&context->seed); in decapsulate() [all …]
|
/drivers/net/skfp/ |
D | smt.c | 110 static void smt_fill_echo(struct s_smc *smc, struct smt_p_echo *echo, u_long seed, 1541 static void smt_fill_echo(struct s_smc *smc, struct smt_p_echo *echo, u_long seed, in smt_fill_echo() argument 1550 *p++ = (u_char) seed ; in smt_fill_echo() 1551 seed += 13 ; in smt_fill_echo()
|
/drivers/staging/rt2870/ |
D | oid.h | 995 UCHAR seed[NINTENDO_SSID_NICKNAME_LN]; member
|
/drivers/net/ixgbe/ |
D | ixgbe_main.c | 1615 static const u32 seed[10] = { 0xE291D73D, 0x1805EC6C, 0x2A94B30D, in ixgbe_configure_rx() local 1714 IXGBE_WRITE_REG(hw, IXGBE_RSSRK(i), seed[i]); in ixgbe_configure_rx()
|
/drivers/net/ |
D | niu.c | 4858 u64 seed = jiffies_64; in niu_init_rx_channels() local 4863 nw64(RED_RAN_INIT, RED_RAN_INIT_OPMODE | (seed & RED_RAN_INIT_VAL)); in niu_init_rx_channels()
|