/linux/drivers/isdn/hardware/mISDN/ |
A D | isdnhdlc.c | 169 hdlc->bit_shift = 8; in isdnhdlc_decode() 171 hdlc->bit_shift--; in isdnhdlc_decode() 184 hdlc->bit_shift = 8; in isdnhdlc_decode() 197 hdlc->bit_shift--; in isdnhdlc_decode() 207 hdlc->bit_shift--; in isdnhdlc_decode() 221 hdlc->bit_shift--; in isdnhdlc_decode() 278 hdlc->bit_shift--; in isdnhdlc_decode() 297 hdlc->bit_shift--; in isdnhdlc_decode() 452 hdlc->bit_shift--; in isdnhdlc_encode() 536 hdlc->bit_shift--; in isdnhdlc_encode() [all …]
|
A D | isdnhdlc.h | 20 int bit_shift; member
|
/linux/arch/sparc/include/asm/ |
A D | cmpxchg_64.h | 73 int bit_shift = (((unsigned long)m & 2) ^ 2) << 3; in xchg16() local 74 unsigned int mask = 0xffff << bit_shift; in xchg16() 83 new32 = (load32 & (~mask)) | val << bit_shift; in xchg16() 87 return (load32 & mask) >> bit_shift; in xchg16() 134 int bit_shift = (((unsigned long)m & 3) ^ 3) << 3; in __cmpxchg_u8() local 135 unsigned int mask = 0xff << bit_shift; in __cmpxchg_u8() 141 new32 = (load32 & ~mask) | (new << bit_shift); in __cmpxchg_u8() 142 old32 = (load32 & ~mask) | (old << bit_shift); in __cmpxchg_u8() 146 load = (load32 & mask) >> bit_shift; in __cmpxchg_u8()
|
/linux/drivers/staging/rtl8712/ |
A D | rtl871x_mp.c | 206 u32 org_value, bit_shift; in get_bb_reg() local 209 bit_shift = bitshift(bitmask); in get_bb_reg() 210 return (org_value & bitmask) >> bit_shift; in get_bb_reg() 218 u32 org_value, bit_shift, new_value; in set_bb_reg() local 222 bit_shift = bitshift(bitmask); in set_bb_reg() 223 new_value = (org_value & (~bitmask)) | (value << bit_shift); in set_bb_reg() 233 u32 org_value, bit_shift; in get_rf_reg() local 236 bit_shift = bitshift(bitmask); in get_rf_reg() 237 return (org_value & bitmask) >> bit_shift; in get_rf_reg() 243 u32 org_value, bit_shift, new_value; in set_rf_reg() local [all …]
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_mac.c | 791 u8 bit_shift = 0; in igc_hash_mc_addr() local 799 while (hash_mask >> bit_shift != 0xFF) in igc_hash_mc_addr() 800 bit_shift++; in igc_hash_mc_addr() 832 bit_shift += 1; in igc_hash_mc_addr() 835 bit_shift += 2; in igc_hash_mc_addr() 838 bit_shift += 4; in igc_hash_mc_addr() 842 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igc_hash_mc_addr() 843 (((u16)mc_addr[5]) << bit_shift))); in igc_hash_mc_addr()
|
/linux/drivers/soc/renesas/ |
A D | rmobile-sysc.c | 37 unsigned int bit_shift; member 49 unsigned int mask = BIT(rmobile_pd->bit_shift); in rmobile_pd_power_down() 77 unsigned int mask = BIT(rmobile_pd->bit_shift); in __rmobile_pd_power_up() 267 if (pd->bit_shift == ~0) { in rmobile_setup_pm_domain() 300 pd->bit_shift = idx; in rmobile_add_pm_domains()
|
/linux/drivers/net/ethernet/intel/igbvf/ |
A D | vf.c | 171 u8 bit_shift = 0; in e1000_hash_mc_addr_vf() local 179 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_vf() 180 bit_shift++; in e1000_hash_mc_addr_vf() 182 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf() 183 (((u16)mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_vf()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | e1000_mac.c | 429 u8 bit_shift = 0; in igb_hash_mc_addr() local 437 while (hash_mask >> bit_shift != 0xFF) in igb_hash_mc_addr() 438 bit_shift++; in igb_hash_mc_addr() 470 bit_shift += 1; in igb_hash_mc_addr() 473 bit_shift += 2; in igb_hash_mc_addr() 476 bit_shift += 4; in igb_hash_mc_addr() 480 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igb_hash_mc_addr() 481 (((u16) mc_addr[5]) << bit_shift))); in igb_hash_mc_addr()
|
/linux/drivers/clk/ti/ |
A D | clock.h | 114 u8 bit_shift; member 124 u8 bit_shift; member 135 u8 bit_shift; member
|
A D | mux.c | 240 mux->shift = setup->bit_shift; in ti_clk_build_component_mux()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | mac.c | 249 u8 bit_shift = 0; in e1000_hash_mc_addr() local 257 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr() 258 bit_shift++; in e1000_hash_mc_addr() 290 bit_shift += 1; in e1000_hash_mc_addr() 293 bit_shift += 2; in e1000_hash_mc_addr() 296 bit_shift += 4; in e1000_hash_mc_addr() 300 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr() 301 (((u16)mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr()
|
/linux/arch/arm/mach-omap2/ |
A D | cm33xx.c | 230 u8 bit_shift) in am33xx_cm_wait_module_ready() argument 253 u8 bit_shift) in am33xx_cm_wait_module_idle() argument
|
A D | cminst44xx.c | 275 u8 bit_shift) in omap4_cminst_wait_module_ready() argument 298 u8 bit_shift) in omap4_cminst_wait_module_idle() argument
|
/linux/drivers/hid/ |
A D | hid-core.c | 1355 unsigned int bit_shift = offset % 8; in __extract() local 1356 int bits_to_copy = 8 - bit_shift; in __extract() 1361 value |= ((u32)report[idx] >> bit_shift) << bit_nr; in __extract() 1365 bit_shift = 0; in __extract() 1397 unsigned int bit_shift = offset % 8; in __implement() local 1398 int bits_to_set = 8 - bit_shift; in __implement() 1401 report[idx] &= ~(0xff << bit_shift); in __implement() 1402 report[idx] |= value << bit_shift; in __implement() 1406 bit_shift = 0; in __implement() 1413 report[idx] &= ~(bit_mask << bit_shift); in __implement() [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
A D | phy-hi3798cv200-combphy.txt | 22 <register_offset bit_shift bit_mask>.
|
/linux/crypto/ |
A D | ecc.c | 624 int bit_shift = shift % 64; in vli_mmod_slow() local 627 if (bit_shift > 0) { in vli_mmod_slow() 629 mod_m[word_shift + i] = (mod[i] << bit_shift) | carry; in vli_mmod_slow() 630 carry = mod[i] >> (64 - bit_shift); in vli_mmod_slow()
|
/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
A D | halbtcoutsrc.c | 932 u8 original_value, bit_shift = 0; in halbtc_bitmask_write_1byte() local 941 bit_shift = i; in halbtc_bitmask_write_1byte() 943 ((data << bit_shift) & bit_mask); in halbtc_bitmask_write_1byte()
|