Searched defs:bitshift (Results 1 - 9 of 9) sorted by relevance
/drivers/input/joystick/ |
H A D | twidjoy.c | 69 int bitshift; member in struct:twidjoy_button_spec 113 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift;
|
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
H A D | phy.c | 47 u32 original_value, readback_value, bitshift; local 64 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 65 readback_value = (original_value & bitmask) >> bitshift; 120 u32 original_value, bitshift; local 133 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 136 (data << bitshift)); 145 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 148 (data << bitshift));
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | phy.c | 44 u32 original_value, readback_value, bitshift; local 57 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 58 readback_value = (original_value & bitmask) >> bitshift; 71 u32 original_value, bitshift; local 81 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 84 (data << bitshift)); 92 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 95 (data << bitshift));
|
/drivers/mmc/host/ |
H A D | mmc_spi.c | 267 int bitshift; local 314 bitshift = 0; 328 bitshift++; 378 if (bitshift) { 380 rotator |= *cp << bitshift; 401 if (bitshift) { 402 rotator |= *cp++ << bitshift; 789 unsigned int bitshift; local 810 bitshift = 7; 813 bitshift [all...] |
/drivers/staging/comedi/drivers/ |
H A D | ni_65xx.c | 428 int bitshift; local 434 bitshift = base_port_channel - base_bitfield_channel; 435 if (bitshift >= 32 || bitshift <= -32) 437 if (bitshift > 0) { 438 port_mask >>= bitshift; local 439 port_data >>= bitshift; local 441 port_mask <<= -bitshift; 442 port_data <<= -bitshift; 468 if (bitshift > 469 port_read_bits <<= bitshift; local [all...] |
/drivers/staging/rtl8712/ |
H A D | rtl871x_mp.c | 210 static u32 bitshift(u32 bitmask) function 225 bit_shift = bitshift(bitmask); 239 bit_shift = bitshift(bitmask); 252 bit_shift = bitshift(bitmask); 264 bit_shift = bitshift(bitmask);
|
/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | phy.c | 57 u32 returnvalue = 0, originalvalue, bitshift; local 63 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); 64 returnvalue = (originalvalue & bitmask) >> bitshift; 77 u32 originalvalue, bitshift; local 85 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); 86 data = ((originalvalue & (~bitmask)) | (data << bitshift)); 183 u32 original_value, readback_value, bitshift; local 193 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); 194 readback_value = (original_value & bitmask) >> bitshift; 210 u32 original_value, bitshift; local [all...] |
/drivers/net/wireless/rtlwifi/rtl8192c/ |
H A D | phy_common.c | 43 u32 returnvalue, originalvalue, bitshift; local 48 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 49 returnvalue = (originalvalue & bitmask) >> bitshift; 64 u32 originalvalue, bitshift; local 72 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); 73 data = ((originalvalue & (~bitmask)) | (data << bitshift));
|
/drivers/net/wireless/rtlwifi/rtl8192de/ |
H A D | phy.c | 204 u32 returnvalue, originalvalue, bitshift; local 221 bitshift = _rtl92d_phy_calculate_bit_shift(bitmask); 222 returnvalue = (originalvalue & bitmask) >> bitshift; 235 u32 originalvalue, bitshift; local 253 bitshift = _rtl92d_phy_calculate_bit_shift(bitmask); 254 data = ((originalvalue & (~bitmask)) | (data << bitshift)); 333 u32 original_value, readback_value, bitshift; local 341 bitshift = _rtl92d_phy_calculate_bit_shift(bitmask); 342 readback_value = (original_value & bitmask) >> bitshift; 355 u32 original_value, bitshift; local [all...] |
Completed in 202 milliseconds