/Linux-v4.19/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 | 32 u32 BitMask 39 u32 BitMask, 48 u32 BitMask 56 u32 BitMask,
|
D | hal_com_phycfg.h | 86 u32 BitMask 93 u32 BitMask, 161 u32 BitMask,
|
/Linux-v4.19/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() 71 ReturnValue = (OriginalValue & BitMask) >> BitShift; in PHY_QueryBBReg_8723B() 99 u32 BitMask, in PHY_SetBBReg_8723B() argument 112 if (BitMask != bMaskDWord) { /* if not "double word" write */ in PHY_SetBBReg_8723B() 114 BitShift = phy_CalculateBitShift(BitMask); in PHY_SetBBReg_8723B() 115 Data = ((OriginalValue & (~BitMask)) | ((Data << BitShift) & BitMask)); in PHY_SetBBReg_8723B() 284 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_phy.c | 22 u32 PHY_CalculateBitShift(u32 BitMask) in PHY_CalculateBitShift() argument 27 if (((BitMask>>i) & 0x1) == 1) in PHY_CalculateBitShift()
|
D | hal_btcoex.c | 833 static void halbtcoutsrc_SetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask, u32 Data) in halbtcoutsrc_SetBbReg() argument 842 PHY_SetBBReg(padapter, RegAddr, BitMask, Data); in halbtcoutsrc_SetBbReg() 846 static u32 halbtcoutsrc_GetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask) in halbtcoutsrc_GetBbReg() argument 855 return PHY_QueryBBReg(padapter, RegAddr, BitMask); in halbtcoutsrc_GetBbReg() 858 static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data) in halbtcoutsrc_SetRfReg() argument 867 PHY_SetRFReg(padapter, eRFPath, RegAddr, BitMask, Data); in halbtcoutsrc_SetRfReg() 870 static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask) in halbtcoutsrc_GetRfReg() argument 879 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-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_phy.c | 210 u32 RegAddr, u32 BitMask, u32 Data) in rtl92e_set_rf_reg() argument 222 if (BitMask != bMask12Bits) { in rtl92e_set_rf_reg() 225 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_set_rf_reg() 226 New_Value = (((Original_Value) & (~BitMask)) | in rtl92e_set_rf_reg() 236 if (BitMask != bMask12Bits) { in rtl92e_set_rf_reg() 239 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_set_rf_reg() 240 New_Value = (((Original_Value) & (~BitMask)) | in rtl92e_set_rf_reg() 250 u32 RegAddr, u32 BitMask) in rtl92e_get_rf_reg() argument 266 BitShift = _rtl92e_calculate_bit_shift(BitMask); in rtl92e_get_rf_reg() 267 Readback_Value = (Original_Value & BitMask) >> BitShift; in rtl92e_get_rf_reg() [all …]
|
D | r8192E_phy.h | 71 u32 RegAddr, u32 BitMask, u32 Data); 73 u32 RegAddr, u32 BitMask);
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | hal_intf.h | 205 u32 RegAddr, u32 BitMask);
|