Lines Matching defs:bit_shift
209 uint8_t bit_shift = 0;
216 /* For a mc_filter_type of 0, bit_shift is the number of left-shifts
219 while (hash_mask >> bit_shift != 0xFF)
220 bit_shift++;
225 * The bit_shift for a mc_filter_type of 0 represents the number of
229 * remaining number of bits. Thus 8 - bit_shift. The rest of the
236 * we can see that the bit_shift for case 0 is 4. These are the hash
252 bit_shift += 1;
255 bit_shift += 2;
258 bit_shift += 4;
262 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) |
263 (((uint16_t) mc_addr[5]) << bit_shift)));