Lines Matching refs:bit_shift
289 u8 bit_shift = 0;
295 * For a mc_filter_type of 0, bit_shift is the number of left-shifts
298 while (hash_mask >> bit_shift != 0xFF)
299 bit_shift++;
305 * The bit_shift for a mc_filter_type of 0 represents the number of
309 * remaining number of bits. Thus 8 - bit_shift. The rest of the
316 * we can see that the bit_shift for case 0 is 4. These are the hash
332 bit_shift += 1;
335 bit_shift += 2;
338 bit_shift += 4;
342 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) |
343 (((u16) mc_addr[5]) << bit_shift)));