Searched refs:bit_shift (Results 1 – 2 of 2) sorted by relevance
360 u8 bit_shift = 0; in e1000_hash_mc_addr_vf() local371 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()
519 u8 bit_shift = 0; in e1000_hash_mc_addr_generic() local529 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()