Searched refs:bit_shift (Results 1 - 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_vf.c361 u8 bit_shift = 0; local
369 * The bit_shift is the number of left-shifts
372 while (hash_mask >> bit_shift != 0xFF)
373 bit_shift++;
375 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) |
376 (((u16) mc_addr[5]) << bit_shift)));
H A De1000_mac.c527 u8 bit_shift = 0; local
534 /* For a mc_filter_type of 0, bit_shift is the number of left-shifts
537 while (hash_mask >> bit_shift != 0xFF)
538 bit_shift++;
543 * The bit_shift for a mc_filter_type of 0 represents the number of
547 * remaining number of bits. Thus 8 - bit_shift. The rest of the
554 * we can see that the bit_shift for case 0 is 4. These are the hash
570 bit_shift += 1;
573 bit_shift += 2;
576 bit_shift
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_mac.c306 u8 bit_shift = 0; local
313 /* For a mc_filter_type of 0, bit_shift is the number of left-shifts
316 while (hash_mask >> bit_shift != 0xFF)
317 bit_shift++;
322 * The bit_shift for a mc_filter_type of 0 represents the number of
326 * remaining number of bits. Thus 8 - bit_shift. The rest of the
333 * we can see that the bit_shift for case 0 is 4. These are the hash
349 bit_shift += 1;
352 bit_shift += 2;
355 bit_shift
[all...]

Completed in 105 milliseconds