Searched refs:bit_shift (Results 1 – 5 of 5) sorted by relevance
324 u8 bit_shift = 1; in igc_hash_mc_addr_generic() local334 while (bit_shift < 4 && hash_mask >> bit_shift != 0xFF) in igc_hash_mc_addr_generic()335 bit_shift++; in igc_hash_mc_addr_generic()367 bit_shift += 1; in igc_hash_mc_addr_generic()370 bit_shift += 2; in igc_hash_mc_addr_generic()373 bit_shift += 4; in igc_hash_mc_addr_generic()378 hash_value >>= 8 - bit_shift; in igc_hash_mc_addr_generic()379 hash_value |= (u32)mc_addr[5] << bit_shift; in igc_hash_mc_addr_generic()
377 u8 bit_shift = 1; in e1000_hash_mc_addr_vf() local388 while (bit_shift < 4 && hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_vf()389 bit_shift++; in e1000_hash_mc_addr_vf()392 hash_value >>= 8 - bit_shift; in e1000_hash_mc_addr_vf()393 hash_value |= (u32)mc_addr[5] << bit_shift; in e1000_hash_mc_addr_vf()
526 u8 bit_shift = 1; in e1000_hash_mc_addr_generic() local536 while (bit_shift < 4 && hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_generic()537 bit_shift++; in e1000_hash_mc_addr_generic()569 bit_shift += 1; in e1000_hash_mc_addr_generic()572 bit_shift += 2; in e1000_hash_mc_addr_generic()575 bit_shift += 4; in e1000_hash_mc_addr_generic()580 hash_value >>= 8 - bit_shift; in e1000_hash_mc_addr_generic()581 hash_value |= (u32)mc_addr[5] << bit_shift; in e1000_hash_mc_addr_generic()
22 <register_offset bit_shift bit_mask>.
1137 u8 bit_shift; in rtw89_phy_write_rf_a() local1156 bit_shift = __ffs(mask); in rtw89_phy_write_rf_a()1157 data = (data << bit_shift) & RFREG_MASK; in rtw89_phy_write_rf_a()