| /linux/drivers/comedi/drivers/ |
| H A D | ni_65xx.c | 301 int bitshift = (int)(NI_65XX_PORT_TO_CHAN(port) - base_chan); in ni_65xx_update_edge_detection() local 304 if (bitshift >= 32) in ni_65xx_update_edge_detection() 307 if (bitshift >= 0) { in ni_65xx_update_edge_detection() 308 port_mask = ~0U >> bitshift; in ni_65xx_update_edge_detection() 309 port_rising = rising >> bitshift; in ni_65xx_update_edge_detection() 310 port_falling = falling >> bitshift; in ni_65xx_update_edge_detection() 312 port_mask = ~0U << -bitshift; in ni_65xx_update_edge_detection() 313 port_rising = rising << -bitshift; in ni_65xx_update_edge_detection() 314 port_falling = falling << -bitshift; in ni_65xx_update_edge_detection() 429 int bitshift = base_port_channel - base_chan; in ni_65xx_dio_insn_bits() local [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| H A D | phy.c | 25 u32 original_value, readback_value, bitshift; in rtl92c_phy_query_rf_reg() local 42 bitshift = calculate_bit_shift(bitmask); in rtl92c_phy_query_rf_reg() 43 readback_value = (original_value & bitmask) >> bitshift; in rtl92c_phy_query_rf_reg() 100 u32 original_value, bitshift; in rtl92ce_phy_set_rf_reg() local 113 bitshift = calculate_bit_shift(bitmask); in rtl92ce_phy_set_rf_reg() 116 (data << bitshift)); in rtl92ce_phy_set_rf_reg() 125 bitshift = calculate_bit_shift(bitmask); in rtl92ce_phy_set_rf_reg() 128 (data << bitshift)); in rtl92ce_phy_set_rf_reg()
|
| /linux/drivers/iio/adc/ |
| H A D | ti-tlc4541.c | 58 #define TLC4541_V_CHAN(bits, bitshift) { \ argument 66 .shift = (bitshift), \ 71 #define DECLARE_TLC4541_CHANNELS(name, bits, bitshift) \ argument 73 TLC4541_V_CHAN(bits, bitshift), \
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| H A D | phy.c | 22 u32 original_value, readback_value, bitshift; in rtl92cu_phy_query_rf_reg() local 35 bitshift = calculate_bit_shift(bitmask); in rtl92cu_phy_query_rf_reg() 36 readback_value = (original_value & bitmask) >> bitshift; in rtl92cu_phy_query_rf_reg() 49 u32 original_value, bitshift; in rtl92cu_phy_set_rf_reg() local 59 bitshift = calculate_bit_shift(bitmask); in rtl92cu_phy_set_rf_reg() 62 (data << bitshift)); in rtl92cu_phy_set_rf_reg() 70 bitshift = calculate_bit_shift(bitmask); in rtl92cu_phy_set_rf_reg() 73 (data << bitshift)); in rtl92cu_phy_set_rf_reg()
|
| /linux/drivers/input/joystick/ |
| H A D | twidjoy.c | 53 int bitshift; member 97 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift; in twidjoy_process_packet()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
| H A D | phy_common.c | 15 u32 returnvalue, originalvalue, bitshift; in rtl8723_phy_query_bb_reg() local 20 bitshift = calculate_bit_shift(bitmask); in rtl8723_phy_query_bb_reg() 21 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl8723_phy_query_bb_reg() 34 u32 originalvalue, bitshift; in rtl8723_phy_set_bb_reg() local 42 bitshift = calculate_bit_shift(bitmask); in rtl8723_phy_set_bb_reg() 43 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl8723_phy_set_bb_reg()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| H A D | phy.c | 20 u32 returnvalue = 0, originalvalue, bitshift; in rtl92s_phy_query_bb_reg() local 26 bitshift = calculate_bit_shift(bitmask); in rtl92s_phy_query_bb_reg() 27 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92s_phy_query_bb_reg() 40 u32 originalvalue, bitshift; in rtl92s_phy_set_bb_reg() local 48 bitshift = calculate_bit_shift(bitmask); in rtl92s_phy_set_bb_reg() 49 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92s_phy_set_bb_reg() 143 u32 original_value, readback_value, bitshift; in rtl92s_phy_query_rf_reg() local 153 bitshift = calculate_bit_shift(bitmask); in rtl92s_phy_query_rf_reg() 154 readback_value = (original_value & bitmask) >> bitshift; in rtl92s_phy_query_rf_reg() 170 u32 original_value, bitshift; in rtl92s_phy_set_rf_reg() local [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
| H A D | phy_common.c | 87 u32 original_value, readback_value, bitshift; in rtl92d_phy_query_rf_reg() local 94 bitshift = calculate_bit_shift(bitmask); in rtl92d_phy_query_rf_reg() 95 readback_value = (original_value & bitmask) >> bitshift; in rtl92d_phy_query_rf_reg() 109 u32 original_value, bitshift; in rtl92d_phy_set_rf_reg() local 122 bitshift = calculate_bit_shift(bitmask); in rtl92d_phy_set_rf_reg() 124 (data << bitshift)); in rtl92d_phy_set_rf_reg()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H A D | phy.c | 43 u32 returnvalue, originalvalue, bitshift; in rtl88e_phy_query_bb_reg() local 48 bitshift = calculate_bit_shift(bitmask); in rtl88e_phy_query_bb_reg() 49 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl88e_phy_query_bb_reg() 63 u32 originalvalue, bitshift; in rtl88e_phy_set_bb_reg() local 71 bitshift = calculate_bit_shift(bitmask); in rtl88e_phy_set_bb_reg() 72 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl88e_phy_set_bb_reg() 86 u32 original_value, readback_value, bitshift; in rtl88e_phy_query_rf_reg() local 96 bitshift = calculate_bit_shift(bitmask); in rtl88e_phy_query_rf_reg() 97 readback_value = (original_value & bitmask) >> bitshift; in rtl88e_phy_query_rf_reg() 112 u32 original_value, bitshift; in rtl88e_phy_set_rf_reg() local [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | phy.c | 38 u32 original_value = 0, readback_value, bitshift; in rtl8723e_phy_query_rf_reg() local 52 bitshift = calculate_bit_shift(bitmask); in rtl8723e_phy_query_rf_reg() 53 readback_value = (original_value & bitmask) >> bitshift; in rtl8723e_phy_query_rf_reg() 70 u32 original_value = 0, bitshift; in rtl8723e_phy_set_rf_reg() local 83 bitshift = calculate_bit_shift(bitmask); in rtl8723e_phy_set_rf_reg() 86 (data << bitshift)); in rtl8723e_phy_set_rf_reg() 92 bitshift = calculate_bit_shift(bitmask); in rtl8723e_phy_set_rf_reg() 95 (data << bitshift)); in rtl8723e_phy_set_rf_reg()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
| H A D | phy_common.c | 15 u32 returnvalue, originalvalue, bitshift; in rtl92c_phy_query_bb_reg() local 20 bitshift = calculate_bit_shift(bitmask); in rtl92c_phy_query_bb_reg() 21 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92c_phy_query_bb_reg() 35 u32 originalvalue, bitshift; in rtl92c_phy_set_bb_reg() local 43 bitshift = calculate_bit_shift(bitmask); in rtl92c_phy_set_bb_reg() 44 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92c_phy_set_bb_reg()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | phy.c | 35 u32 original_value, readback_value, bitshift; in rtl8723be_phy_query_rf_reg() local 44 bitshift = calculate_bit_shift(bitmask); in rtl8723be_phy_query_rf_reg() 45 readback_value = (original_value & bitmask) >> bitshift; in rtl8723be_phy_query_rf_reg() 60 u32 original_value, bitshift; in rtl8723be_phy_set_rf_reg() local 71 bitshift = calculate_bit_shift(bitmask); in rtl8723be_phy_set_rf_reg() 73 (data << bitshift)); in rtl8723be_phy_set_rf_reg()
|
| /linux/Documentation/bpf/ |
| H A D | llvm_reloc.rst | 293 BPF_CORE_FIELD_LSHIFT_U64 = 4, /* bitfield-specific left bitshift */ 294 BPF_CORE_FIELD_RSHIFT_U64 = 5, /* bitfield-specific right bitshift */
|
| /linux/fs/ocfs2/ |
| H A D | super.c | 575 unsigned int bitshift = 32; in ocfs2_max_file_offset() local 595 bitshift = 31; in ocfs2_max_file_offset() 604 return (((unsigned long long)bytes) << bitshift) - trim; in ocfs2_max_file_offset()
|