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

/drivers/isdn/i4l/
H A Disdnhdlc.c150 if (h->cbin == fast_flag[h->bit_shift]) { \
151 h->ffvalue = fast_flag_value[h->bit_shift]; \
153 h->ffbit_shift = h->bit_shift; \
154 h->bit_shift = 1; \
175 if (hdlc->bit_shift == 0) {
182 hdlc->bit_shift = 8;
184 hdlc->bit_shift--;
192 hdlc->bit_shift = 0;
197 hdlc->bit_shift = 8;
206 (hdlc->bit_shift
[all...]
/drivers/net/ethernet/intel/igbvf/
H A Dvf.c192 u8 bit_shift = 0; local
198 * The bit_shift is the number of left-shifts
201 while (hash_mask >> bit_shift != 0xFF)
202 bit_shift++;
204 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) |
205 (((u16) mc_addr[5]) << bit_shift)));
/drivers/staging/rtl8712/
H A Drtl871x_mp.c221 u32 org_value, bit_shift, new_value; local
224 bit_shift = bitshift(bitmask);
225 new_value = (org_value & bitmask) >> bit_shift;
234 u32 org_value, bit_shift, new_value; local
238 bit_shift = bitshift(bitmask);
239 new_value = ((org_value & (~bitmask)) | (value << bit_shift));
248 u32 org_value, bit_shift, new_value; local
251 bit_shift = bitshift(bitmask);
252 new_value = (org_value & bitmask) >> bit_shift;
259 u32 org_value, bit_shift, new_valu local
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dmac.c267 u8 bit_shift = 0; local
272 /* For a mc_filter_type of 0, bit_shift is the number of left-shifts
275 while (hash_mask >> bit_shift != 0xFF)
276 bit_shift++;
281 * The bit_shift for a mc_filter_type of 0 represents the number of
285 * remaining number of bits. Thus 8 - bit_shift. The rest of the
292 * we can see that the bit_shift for case 0 is 4. These are the hash
308 bit_shift += 1;
311 bit_shift += 2;
314 bit_shift
[all...]
/drivers/net/ethernet/intel/igb/
H A De1000_mac.c375 u8 bit_shift = 0; local
380 /* For a mc_filter_type of 0, bit_shift is the number of left-shifts
383 while (hash_mask >> bit_shift != 0xFF)
384 bit_shift++;
389 * The bit_shift for a mc_filter_type of 0 represents the number of
393 * remaining number of bits. Thus 8 - bit_shift. The rest of the
400 * we can see that the bit_shift for case 0 is 4. These are the hash
416 bit_shift += 1;
419 bit_shift += 2;
422 bit_shift
[all...]
/drivers/staging/rtl8188eu/hal/
H A Dphy.c48 u32 return_value = 0, original_value, bit_shift; local
51 bit_shift = cal_bit_shift(bitmask);
52 return_value = (original_value & bitmask) >> bit_shift;
58 u32 original_value, bit_shift; local
62 bit_shift = cal_bit_shift(bitmask);
63 data = ((original_value & (~bitmask)) | (data << bit_shift));
132 u32 original_value, readback_value, bit_shift; local
135 bit_shift = cal_bit_shift(bit_mask);
136 readback_value = (original_value & bit_mask) >> bit_shift;
143 u32 original_value, bit_shift; local
[all...]
/drivers/net/wireless/rtlwifi/btcoexist/
H A Dhalbtcoutsrc.c512 u8 original_value, bit_shift = 0; local
521 bit_shift = i;
523 ((data << bit_shift) & bit_mask);
/drivers/mtd/nand/
H A Datmel_nand.c1738 int index = 0, bit_shift; local
1764 for (bit_shift = 0; index < acycle; bit_shift += 8)
1765 *addr1234 += addr_bytes[index++] << bit_shift;

Completed in 200 milliseconds