Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/e1000api/
H A De1000_vf.c360 u8 bit_shift = 0; in e1000_hash_mc_addr_vf() local
371 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_vf()
372 bit_shift++; in e1000_hash_mc_addr_vf()
374 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf()
375 (((u16) mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_vf()
H A De1000_mac.c519 u8 bit_shift = 0; in e1000_hash_mc_addr_generic() local
529 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_generic()
530 bit_shift++; in e1000_hash_mc_addr_generic()
562 bit_shift += 1; in e1000_hash_mc_addr_generic()
565 bit_shift += 2; in e1000_hash_mc_addr_generic()
568 bit_shift += 4; in e1000_hash_mc_addr_generic()
572 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_generic()
573 (((u16) mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_generic()