/Linux-v5.10/drivers/staging/rtl8723bs/include/ |
D | hal_intf.h | 244 u32 (*read_bbreg)(struct adapter *padapter, u32 RegAddr, u32 BitMask); 245 void (*write_bbreg)(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data); 246 u32 (*read_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask); 247 void (*write_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data); 367 u32 rtw_hal_read_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask); 368 void rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data); 369 u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask); 370 void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data); 372 #define PHY_QueryBBReg(Adapter, RegAddr, BitMask) rtw_hal_read_bbreg((Adapter), (RegAddr), (BitMask… argument 373 #define PHY_SetBBReg(Adapter, RegAddr, BitMask, Data) rtw_hal_write_bbreg((Adapter), (RegAddr), (Bi… argument [all …]
|
D | hal_phy_cfg.h | 28 u32 PHY_QueryBBReg_8723B(struct adapter *Adapter, u32 RegAddr, u32 BitMask); 31 u32 BitMask, u32 Data); 34 u32 RegAddr, u32 BitMask); 37 u32 RegAddr, u32 BitMask, u32 Data);
|
D | hal_com_phycfg.h | 86 u32 BitMask 93 u32 BitMask, 161 u32 BitMask,
|
/Linux-v5.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_phycfg.c | 33 static u32 phy_CalculateBitShift(u32 BitMask) in phy_CalculateBitShift() argument 38 if (((BitMask>>i) & 0x1) == 1) in phy_CalculateBitShift() 59 u32 PHY_QueryBBReg_8723B(struct adapter *Adapter, u32 RegAddr, u32 BitMask) in PHY_QueryBBReg_8723B() argument 70 BitShift = phy_CalculateBitShift(BitMask); in PHY_QueryBBReg_8723B() 72 return (OriginalValue & BitMask) >> BitShift; in PHY_QueryBBReg_8723B() 98 u32 BitMask, in PHY_SetBBReg_8723B() argument 111 if (BitMask != bMaskDWord) { /* if not "double word" write */ in PHY_SetBBReg_8723B() 113 BitShift = phy_CalculateBitShift(BitMask); in PHY_SetBBReg_8723B() 114 Data = ((OriginalValue & (~BitMask)) | ((Data << BitShift) & BitMask)); in PHY_SetBBReg_8723B() 283 u32 BitMask in PHY_QueryRFReg_8723B() argument [all …]
|
D | hal_intf.c | 316 u32 rtw_hal_read_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask) in rtw_hal_read_bbreg() argument 320 data = padapter->HalFunc.read_bbreg(padapter, RegAddr, BitMask); in rtw_hal_read_bbreg() 323 void rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data) in rtw_hal_write_bbreg() argument 326 padapter->HalFunc.write_bbreg(padapter, RegAddr, BitMask, Data); in rtw_hal_write_bbreg() 329 u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask) in rtw_hal_read_rfreg() argument 333 data = padapter->HalFunc.read_rfreg(padapter, eRFPath, RegAddr, BitMask); in rtw_hal_read_rfreg() 336 void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data) in rtw_hal_write_rfreg() argument 339 padapter->HalFunc.write_rfreg(padapter, eRFPath, RegAddr, BitMask, Data); in rtw_hal_write_rfreg()
|
D | HalBtcOutSrc.h | 390 void *pBtcContext, u32 RegAddr, u32 BitMask, u32 Data 392 typedef u32 (*BFP_BTC_GET_BB_REG)(void *pBtcContext, u32 RegAddr, u32 BitMask); 394 void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data 397 void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask
|
D | hal_btcoex.c | 770 static void halbtcoutsrc_SetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask, u32 Data) in halbtcoutsrc_SetBbReg() argument 779 PHY_SetBBReg(padapter, RegAddr, BitMask, Data); in halbtcoutsrc_SetBbReg() 783 static u32 halbtcoutsrc_GetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask) in halbtcoutsrc_GetBbReg() argument 792 return PHY_QueryBBReg(padapter, RegAddr, BitMask); in halbtcoutsrc_GetBbReg() 795 static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data) in halbtcoutsrc_SetRfReg() argument 804 PHY_SetRFReg(padapter, eRFPath, RegAddr, BitMask, Data); in halbtcoutsrc_SetRfReg() 807 static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask) in halbtcoutsrc_GetRfReg() argument 816 return PHY_QueryRFReg(padapter, eRFPath, RegAddr, BitMask); in halbtcoutsrc_GetRfReg()
|
D | hal_com_phycfg.c | 269 struct adapter *padapter, u32 RegAddr, u32 BitMask in PHY_GetRateSectionIndexOfTxPowerByRate() argument 288 if (BitMask == bMaskH3Bytes) in PHY_GetRateSectionIndexOfTxPowerByRate() 290 else if (BitMask == 0x000000ff) in PHY_GetRateSectionIndexOfTxPowerByRate() 340 u32 BitMask, in PHY_GetRateValuesOfTxPowerByRate() argument 384 if (BitMask == 0xffffff00) { in PHY_GetRateValuesOfTxPowerByRate() 393 } else if (BitMask == 0x000000ff) { in PHY_GetRateValuesOfTxPowerByRate() 729 u32 BitMask, in PHY_StoreTxPowerByRateNew() argument 737 …PHY_GetRateValuesOfTxPowerByRate(padapter, RegAddr, BitMask, Data, rateIndex, PwrByRateVal, &rateN… in PHY_StoreTxPowerByRateNew() 764 struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data in PHY_StoreTxPowerByRateOld() argument 768 u8 index = PHY_GetRateSectionIndexOfTxPowerByRate(padapter, RegAddr, BitMask); in PHY_StoreTxPowerByRateOld() [all …]
|
/Linux-v5.10/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_phy.c | 200 u32 RegAddr, u32 BitMask, u32 Data) in rtl92e_set_rf_reg() argument 212 if (BitMask != bMask12Bits) { in rtl92e_set_rf_reg() 215 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_set_rf_reg() 216 New_Value = (Original_Value & ~BitMask) | (Data << BitShift); in rtl92e_set_rf_reg() 225 if (BitMask != bMask12Bits) { in rtl92e_set_rf_reg() 228 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_set_rf_reg() 229 New_Value = (Original_Value & ~BitMask) | (Data << BitShift); in rtl92e_set_rf_reg() 238 u32 RegAddr, u32 BitMask) in rtl92e_get_rf_reg() argument 254 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_get_rf_reg() 255 Readback_Value = (Original_Value & BitMask) >> BitShift; in rtl92e_get_rf_reg() [all …]
|
D | r8192E_phy.h | 63 u32 RegAddr, u32 BitMask, u32 Data); 65 u32 RegAddr, u32 BitMask);
|
/Linux-v5.10/drivers/staging/rtl8188eu/include/ |
D | hal_intf.h | 205 u32 RegAddr, u32 BitMask);
|