/drivers/leds/ |
H A D | leds-ams-delta.c | 23 u8 bitmask; member in struct:ams_delta_led 33 ams_delta_latch1_write(led_dev->bitmask, led_dev->bitmask); 35 ams_delta_latch1_write(led_dev->bitmask, 0); 44 .bitmask = AMS_DELTA_LATCH1_LED_CAMERA, 51 .bitmask = AMS_DELTA_LATCH1_LED_ADVERT, 58 .bitmask = AMS_DELTA_LATCH1_LED_EMAIL, 65 .bitmask = AMS_DELTA_LATCH1_LED_HANDSFREE, 72 .bitmask = AMS_DELTA_LATCH1_LED_VOICEMAIL, 79 .bitmask [all...] |
/drivers/net/ethernet/brocade/bna/ |
H A D | bna.h | 241 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) 243 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) 245 #define xxx_enable(mode, bitmask, xxx) \ 247 bitmask |= xxx; \ 251 #define xxx_disable(mode, bitmask, xxx) \ 253 bitmask |= xxx; \ 257 #define xxx_inactive(mode, bitmask, xxx) \ 259 bitmask [all...] |
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | phy.h | 38 enum radio_path rfpath, u32 regaddr, u32 bitmask); 41 u32 regaddr, u32 bitmask, u32 data);
|
H A D | sw.h | 46 u32 regaddr, u32 bitmask, u32 data); 50 enum radio_path rfpath, u32 regaddr, u32 bitmask);
|
H A D | phy.c | 41 enum radio_path rfpath, u32 regaddr, u32 bitmask) 48 "rfpath(%#x), bitmask(%#x)\n", 49 regaddr, rfpath, bitmask)); 57 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 58 readback_value = (original_value & bitmask) >> bitshift; 61 "bitmask(%#x), original_value(%#x)\n", 62 regaddr, rfpath, bitmask, original_value)); 68 u32 regaddr, u32 bitmask, u32 data) 75 ("regaddr(%#x), bitmask(%#x), data(%#x), rfpath(%#x)\n", 76 regaddr, bitmask, dat 40 rtl92cu_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask) argument 66 rtl92cu_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask, u32 data) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | phy.h | 76 u32 rtl92s_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); 77 void rtl92s_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, 81 u32 regaddr, u32 bitmask); 83 u32 regaddr, u32 bitmask, u32 data);
|
H A D | phy.c | 44 static u32 _rtl92s_phy_calculate_bit_shift(u32 bitmask) argument 49 if (((bitmask >> i) & 0x1) == 1) 56 u32 rtl92s_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) argument 61 RT_TRACE(rtlpriv, COMP_RF, DBG_TRACE, ("regaddr(%#x), bitmask(%#x)\n", 62 regaddr, bitmask)); 65 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); 66 returnvalue = (originalvalue & bitmask) >> bitshift; 70 bitmask, regaddr, originalvalue)); 76 void rtl92s_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, argument 82 RT_TRACE(rtlpriv, COMP_RF, DBG_TRACE, ("regaddr(%#x), bitmask( 180 rtl92s_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask) argument 205 rtl92s_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask, u32 data) argument 679 _rtl92s_store_pwrindex_diffrate_offset(struct ieee80211_hw *hw, u32 reg_addr, u32 bitmask, u32 data) argument [all...] |
/drivers/hwmon/ |
H A D | asc7621.c | 848 PREAD(in0_alarm, 0, PRI_HIGH, 0x41, 0, 0x01, 0, bitmask), 849 PREAD(in1_alarm, 1, PRI_HIGH, 0x41, 0, 0x01, 1, bitmask), 850 PREAD(in2_alarm, 2, PRI_HIGH, 0x41, 0, 0x01, 2, bitmask), 851 PREAD(in3_alarm, 3, PRI_HIGH, 0x41, 0, 0x01, 3, bitmask), 852 PREAD(in4_alarm, 4, PRI_HIGH, 0x42, 0, 0x01, 0, bitmask), 864 PREAD(fan1_alarm, 0, PRI_HIGH, 0x42, 0, 0x01, 2, bitmask), 865 PREAD(fan2_alarm, 1, PRI_HIGH, 0x42, 0, 0x01, 3, bitmask), 866 PREAD(fan3_alarm, 2, PRI_HIGH, 0x42, 0, 0x01, 4, bitmask), 867 PREAD(fan4_alarm, 3, PRI_HIGH, 0x42, 0, 0x01, 5, bitmask), 888 PREAD(temp1_alarm, 0, PRI_HIGH, 0x41, 0, 0x01, 4, bitmask), [all...] |
/drivers/net/wireless/rtlwifi/rtl8192de/ |
H A D | phy.h | 131 u32 regaddr, u32 bitmask); 133 u32 regaddr, u32 bitmask, u32 data); 136 u32 bitmask); 139 u32 bitmask, u32 data);
|
H A D | phy.c | 188 static u32 _rtl92d_phy_calculate_bit_shift(u32 bitmask) argument 193 if (((bitmask >> i) & 0x1) == 1) 200 u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) argument 208 "bitmask(%#x)\n", regaddr, bitmask)); 221 bitshift = _rtl92d_phy_calculate_bit_shift(bitmask); 222 returnvalue = (originalvalue & bitmask) >> bitshift; 224 "Addr[0x%x]=0x%x\n", bitmask, regaddr, originalvalue)); 229 u32 regaddr, u32 bitmask, u32 data) 236 RT_TRACE(rtlpriv, COMP_RF, DBG_TRACE, ("regaddr(%#x), bitmask( 228 rtl92d_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument 326 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask) argument 347 rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask, u32 data) argument 667 _rtl92d_store_pwrindex_diffrate_offset(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument [all...] |
/drivers/input/joystick/ |
H A D | twidjoy.c | 70 int bitmask; member in struct:twidjoy_button_spec 112 for (bp = twidjoy_buttons; bp->bitmask; bp++) { 113 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift; 116 for (i = 0; i < bp->bitmask; i++) 210 for (bp = twidjoy_buttons; bp->bitmask; bp++) 211 for (i = 0; i < bp->bitmask; i++)
|
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
H A D | phy.h | 192 u32 regaddr, u32 bitmask); 194 u32 regaddr, u32 bitmask, u32 data); 197 u32 bitmask); 200 u32 bitmask, u32 data); 240 u32 _rtl92c_phy_calculate_bit_shift(u32 bitmask); 248 u32 regaddr, u32 bitmask,
|
H A D | phy.c | 44 enum radio_path rfpath, u32 regaddr, u32 bitmask) 51 "rfpath(%#x), bitmask(%#x)\n", 52 regaddr, rfpath, bitmask)); 64 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 65 readback_value = (original_value & bitmask) >> bitshift; 71 "bitmask(%#x), original_value(%#x)\n", 72 regaddr, rfpath, bitmask, original_value)); 117 u32 regaddr, u32 bitmask, u32 data) 124 ("regaddr(%#x), bitmask(%#x), data(%#x), rfpath(%#x)\n", 125 regaddr, bitmask, dat 43 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask) argument 115 rtl92ce_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask, u32 data) argument [all...] |
/drivers/gpio/ |
H A D | gpio-nomadik.c | 561 u32 bitmask = nmk_gpio_get_bitmask(gpio); local 565 if (nmk_chip->edge_rising & bitmask) { 568 reg |= bitmask; 570 reg &= ~bitmask; 573 if (nmk_chip->edge_falling & bitmask) { 576 reg |= bitmask; 578 reg &= ~bitmask; 600 u32 bitmask; local 604 bitmask = nmk_gpio_get_bitmask(gpio); 614 if (!(nmk_chip->real_wake & bitmask)) 638 u32 bitmask; local 673 u32 bitmask; local 925 u32 bitmask = nmk_gpio_get_bitmask(gpio); local [all...] |
/drivers/net/wireless/rtlwifi/rtl8192c/ |
H A D | phy_common.h | 191 u32 regaddr, u32 bitmask); 193 u32 regaddr, u32 bitmask, u32 data); 196 u32 bitmask); 229 u32 _rtl92c_phy_calculate_bit_shift(u32 bitmask); 254 u32 regaddr, u32 bitmask,
|
/drivers/mfd/ |
H A D | tps6105x.c | 66 u8 bitmask, u8 bitvalues) 78 regval = (~bitmask & regval) | (bitmask & bitvalues); 65 tps6105x_mask_and_set(struct tps6105x *tps6105x, u8 reg, u8 bitmask, u8 bitvalues) argument
|
H A D | ab5500-core.h | 87 u8 reg, u8 bitmask, u8 bitvalues);
|
H A D | abx500-core.c | 107 u8 reg, u8 bitmask, u8 bitvalues) 114 reg, bitmask, bitvalues); 106 abx500_mask_and_set_register_interruptible(struct device *dev, u8 bank, u8 reg, u8 bitmask, u8 bitvalues) argument
|
H A D | ab5500-core.c | 1050 u8 reg, u8 bitmask, u8 bitvalues) 1057 if (bitmask) { 1064 if (bitmask == 0xFF) /* No need to read in this case. */ 1072 buf = ((~bitmask & buf) | (bitmask & bitvalues)); 1180 u8 bank, u8 reg, u8 bitmask, u8 bitvalues) 1191 bitmask, bitvalues); 1049 ab5500_mask_and_set_register_interruptible_raw(struct ab5500 *ab, u8 bank, u8 reg, u8 bitmask, u8 bitvalues) argument 1179 ab5500_mask_and_set_register_interruptible(struct device *dev, u8 bank, u8 reg, u8 bitmask, u8 bitvalues) argument
|
/drivers/staging/cxt1e1/ |
H A D | pmcc4.h | 47 * each byte in bitmask below represents one timeslot (bitmask[0] is 51 u_int8_t bitmask[32]; member in struct:pmcc4_timeslot_param
|
/drivers/staging/rtl8712/ |
H A D | rtl871x_mp.c | 210 static u32 bitshift(u32 bitmask) argument 215 if (((bitmask>>i) & 0x1) == 1) 220 static u32 get_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask) argument 225 bit_shift = bitshift(bitmask); 226 new_value = (org_value & bitmask) >> bit_shift; 232 u32 bitmask, 237 if (bitmask != bMaskDWord) { 239 bit_shift = bitshift(bitmask); 240 new_value = ((org_value & (~bitmask)) | (value << bit_shift)); 247 u32 bitmask) 230 set_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask, u32 value) argument 246 get_rf_reg(struct _adapter *pAdapter, u8 path, u8 offset, u32 bitmask) argument 257 set_rf_reg(struct _adapter *pAdapter, u8 path, u8 offset, u32 bitmask, u32 value) argument [all...] |
H A D | rtl871x_mp.h | 317 u32 r8712_get_bb_reg(struct _adapter *Adapter, u16 offset, u32 bitmask); 319 u32 bitmask, u32 value); 321 u32 bitmask); 323 u32 bitmask, u32 value);
|
/drivers/media/radio/ |
H A D | radio-zoltrix.c | 113 unsigned long long bitmask, f, m; local 125 bitmask = 0xc480402c10080000ull; 139 bitmask = (bitmask ^ ((f & 0xff) << 47) ^ ((f & 0xff00) << 30) ^ (stereo << 31)); 141 if ((bitmask & 0x8000000000000000ull) != 0) { 156 bitmask *= 2;
|
/drivers/video/ |
H A D | arcfb.c | 245 * X. That's what rightshift does. bitmask selects the desired input bit. 254 unsigned char bitmask, rightshift; local 267 bitmask=1; 273 val |= (*(src + (i*linesize)) & bitmask) 276 val |= (*(src + (i*linesize)) & bitmask) 282 if (bitmask == 0x80) { 283 bitmask = 1; 287 bitmask <<= 1;
|
/drivers/media/video/cx23885/ |
H A D | cx23885-cards.c | 893 u32 bitmask = 0; local 914 bitmask = 0x04; 921 bitmask = 0x01; 923 bitmask = 0x04; 927 bitmask = 0x02; 934 if (bitmask) { 936 cx_clear(GP0_IO, bitmask); 938 cx_set(GP0_IO, bitmask);
|