Searched refs:bit_shift (Results 1 - 7 of 7) sorted by relevance
/drivers/isdn/i4l/ |
H A D | isdnhdlc.c | 150 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 D | vf.c | 192 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/comedi/ |
H A D | comedidev.h | 435 int bit_shift; local 440 bit_shift = sizeof(int) * 8; 441 address <<= bit_shift; local 443 addressLow &= (1UL << bit_shift) - 1;
|
H A D | comedi_fops.c | 255 int bit_shift; local 272 bit_shift = sizeof(int) * 8; 274 ((unsigned long)aux_data) >> bit_shift;
|
/drivers/staging/rtl8712/ |
H A D | rtl871x_mp.c | 222 u32 org_value, bit_shift, new_value; local 225 bit_shift = bitshift(bitmask); 226 new_value = (org_value & bitmask) >> bit_shift; 235 u32 org_value, bit_shift, new_value; local 239 bit_shift = bitshift(bitmask); 240 new_value = ((org_value & (~bitmask)) | (value << bit_shift)); 249 u32 org_value, bit_shift, new_value; local 252 bit_shift = bitshift(bitmask); 253 new_value = (org_value & bitmask) >> bit_shift; 260 u32 org_value, bit_shift, new_valu local [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.c | 384 u8 bit_shift = 0; local 390 * For a mc_filter_type of 0, bit_shift is the number of left-shifts 393 while (hash_mask >> bit_shift != 0xFF) 394 bit_shift++; 400 * The bit_shift for a mc_filter_type of 0 represents the number of 404 * remaining number of bits. Thus 8 - bit_shift. The rest of the 411 * we can see that the bit_shift for case 0 is 4. These are the hash 427 bit_shift += 1; 430 bit_shift += 2; 433 bit_shift [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | lib.c | 290 u8 bit_shift = 0; local 296 * For a mc_filter_type of 0, bit_shift is the number of left-shifts 299 while (hash_mask >> bit_shift != 0xFF) 300 bit_shift++; 306 * The bit_shift for a mc_filter_type of 0 represents the number of 310 * remaining number of bits. Thus 8 - bit_shift. The rest of the 317 * we can see that the bit_shift for case 0 is 4. These are the hash 333 bit_shift += 1; 336 bit_shift += 2; 339 bit_shift [all...] |
Completed in 1209 milliseconds