Home
last modified time | relevance | path

Searched refs:OriginalValue (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
46 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_QueryBBReg_8723B()
49 return (OriginalValue & BitMask) >> BitShift; in PHY_QueryBBReg_8723B()
75 u32 OriginalValue, BitShift; in PHY_SetBBReg_8723B() local
78 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_SetBBReg_8723B()
80 Data = ((OriginalValue & (~BitMask)) | ((Data << BitShift) & BitMask)); in PHY_SetBBReg_8723B()
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_phy.c35 u32 OriginalValue, BitShift, NewValue; in rtl92e_set_bb_reg() local
38 OriginalValue = rtl92e_readl(dev, dwRegAddr); in rtl92e_set_bb_reg()
40 NewValue = (OriginalValue & ~dwBitMask) | (dwData << BitShift); in rtl92e_set_bb_reg()
49 u32 OriginalValue, BitShift; in rtl92e_get_bb_reg() local
51 OriginalValue = rtl92e_readl(dev, dwRegAddr); in rtl92e_get_bb_reg()
54 return (OriginalValue & dwBitMask) >> BitShift; in rtl92e_get_bb_reg()