Searched refs:BitShift (Results 1 – 3 of 3) sorted by relevance
/drivers/staging/r8188eu/hal/ |
D | rtl8188e_phycfg.c | 44 u32 ReturnValue = 0, OriginalValue, BitShift; in rtl8188e_PHY_QueryBBReg() local 51 BitShift = phy_calculate_bit_shift(BitMask); in rtl8188e_PHY_QueryBBReg() 52 ReturnValue = (OriginalValue & BitMask) >> BitShift; in rtl8188e_PHY_QueryBBReg() 76 u32 OriginalValue, BitShift; in rtl8188e_PHY_SetBBReg() local 84 BitShift = phy_calculate_bit_shift(BitMask); in rtl8188e_PHY_SetBBReg() 85 Data = ((OriginalValue & (~BitMask)) | (Data << BitShift)); in rtl8188e_PHY_SetBBReg() 252 u32 Original_Value, Readback_Value, BitShift; in rtl8188e_PHY_QueryRFReg() local 256 BitShift = phy_calculate_bit_shift(BitMask); in rtl8188e_PHY_QueryRFReg() 257 Readback_Value = (Original_Value & BitMask) >> BitShift; in rtl8188e_PHY_QueryRFReg() 286 u32 Original_Value, BitShift; in rtl8188e_PHY_SetRFReg() local [all …]
|
/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_phycfg.c | 44 u32 OriginalValue, BitShift; in PHY_QueryBBReg_8723B() local 47 BitShift = phy_CalculateBitShift(BitMask); in PHY_QueryBBReg_8723B() 49 return (OriginalValue & BitMask) >> BitShift; in PHY_QueryBBReg_8723B() 75 u32 OriginalValue, BitShift; in PHY_SetBBReg_8723B() local 79 BitShift = phy_CalculateBitShift(BitMask); in PHY_SetBBReg_8723B() 80 Data = ((OriginalValue & (~BitMask)) | ((Data << BitShift) & BitMask)); in PHY_SetBBReg_8723B() 235 u32 Original_Value, BitShift; in PHY_QueryRFReg_8723B() local 238 BitShift = phy_CalculateBitShift(BitMask); in PHY_QueryRFReg_8723B() 240 return (Original_Value & BitMask) >> BitShift; in PHY_QueryRFReg_8723B() 264 u32 Original_Value, BitShift; in PHY_SetRFReg_8723B() local [all …]
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_phy.c | 70 u32 OriginalValue, BitShift, NewValue; in rtl92e_set_bb_reg() local 74 BitShift = _rtl92e_calculate_bit_shift(dwBitMask); in rtl92e_set_bb_reg() 75 NewValue = (OriginalValue & ~dwBitMask) | (dwData << BitShift); in rtl92e_set_bb_reg() 83 u32 OriginalValue, BitShift; in rtl92e_get_bb_reg() local 86 BitShift = _rtl92e_calculate_bit_shift(dwBitMask); in rtl92e_get_bb_reg() 88 return (OriginalValue & dwBitMask) >> BitShift; in rtl92e_get_bb_reg() 199 u32 Original_Value, BitShift, New_Value; in rtl92e_set_rf_reg() local 210 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_set_rf_reg() 211 New_Value = (Original_Value & ~BitMask) | (Data << BitShift); in rtl92e_set_rf_reg() 223 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_set_rf_reg() [all …]
|