Searched refs:bit_shift (Results 1 – 5 of 5) sorted by relevance
334 u8 bit_shift = 0; in e1000_hash_mc_addr_vf() local345 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_vf()346 bit_shift++; in e1000_hash_mc_addr_vf()348 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf()349 (((u16) mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_vf()
491 u8 bit_shift = 0; in e1000_hash_mc_addr_generic() local501 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_generic()502 bit_shift++; in e1000_hash_mc_addr_generic()534 bit_shift += 1; in e1000_hash_mc_addr_generic()537 bit_shift += 2; in e1000_hash_mc_addr_generic()540 bit_shift += 4; in e1000_hash_mc_addr_generic()544 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_generic()545 (((u16) mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_generic()
489 u8 bit_shift = 0; in igc_hash_mc_addr_generic() local499 while (hash_mask >> bit_shift != 0xFF) in igc_hash_mc_addr_generic()500 bit_shift++; in igc_hash_mc_addr_generic()532 bit_shift += 1; in igc_hash_mc_addr_generic()535 bit_shift += 2; in igc_hash_mc_addr_generic()538 bit_shift += 4; in igc_hash_mc_addr_generic()542 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igc_hash_mc_addr_generic()543 (((u16)mc_addr[5]) << bit_shift))); in igc_hash_mc_addr_generic()
22 <register_offset bit_shift bit_mask>.
39 #define TEST_BIT(val, bit_shift) (val & (1UL << bit_shift)) argument