Lines Matching refs:bit_shift
429 u8 bit_shift = 1;
434 /* For a mc_filter_type of 0, bit_shift is the number of left-shifts
437 while (hash_mask >> bit_shift != 0xFF && bit_shift < 4)
438 bit_shift++;
443 * The bit_shift for a mc_filter_type of 0 represents the number of
447 * remaining number of bits. Thus 8 - bit_shift. The rest of the
454 * we can see that the bit_shift for case 0 is 4. These are the hash
470 bit_shift += 1;
473 bit_shift += 2;
476 bit_shift += 4;
480 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) |
481 (((u16) mc_addr[5]) << bit_shift)));