Home
last modified time | relevance | path

Searched refs:BitShift (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_phycfg.c44 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()
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
269 BitShift = phy_CalculateBitShift(BitMask); in PHY_SetRFReg_8723B()
[all …]
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_phy.c35 u32 OriginalValue, BitShift, NewValue; in rtl92e_set_bb_reg() local
39 BitShift = _rtl92e_calculate_bit_shift(dwBitMask); in rtl92e_set_bb_reg()
49 u32 OriginalValue, BitShift; in rtl92e_get_bb_reg() local
52 BitShift = _rtl92e_calculate_bit_shift(dwBitMask); in rtl92e_get_bb_reg()
54 return (OriginalValue & dwBitMask) >> BitShift; in rtl92e_get_bb_reg()
153 u32 Original_Value, BitShift, New_Value; in rtl92e_set_rf_reg() local
162 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_set_rf_reg()
175 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_set_rf_reg()
188 u32 Original_Value, Readback_Value, BitShift; in rtl92e_get_rf_reg() local
200 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_get_rf_reg()
[all …]