Home
last modified time | relevance | path

Searched refs:RegAddr (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8723bs/include/
Dhal_intf.h244 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 …]
Dhal_phy_cfg.h28 u32 PHY_QueryBBReg_8723B(struct adapter *Adapter, u32 RegAddr, u32 BitMask);
30 void PHY_SetBBReg_8723B(struct adapter *Adapter, u32 RegAddr,
34 u32 RegAddr, u32 BitMask);
37 u32 RegAddr, u32 BitMask, u32 Data);
Dhal_com_phycfg.h85 u32 RegAddr,
92 u32 RegAddr,
160 u32 RegAddr,
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
DHalBtcOutSrc.h379 typedef u8 (*BFP_BTC_R1)(void *pBtcContext, u32 RegAddr);
380 typedef u16(*BFP_BTC_R2)(void *pBtcContext, u32 RegAddr);
381 typedef u32 (*BFP_BTC_R4)(void *pBtcContext, u32 RegAddr);
382 typedef void (*BFP_BTC_W1)(void *pBtcContext, u32 RegAddr, u8 Data);
386 typedef void (*BFP_BTC_W2)(void *pBtcContext, u32 RegAddr, u16 Data);
387 typedef void (*BFP_BTC_W4)(void *pBtcContext, u32 RegAddr, u32 Data);
388 typedef void (*BFP_BTC_LOCAL_REG_W1)(void *pBtcContext, u32 RegAddr, u8 Data);
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
[all …]
Dhal_btcoex.c659 static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr) in halbtcoutsrc_Read1Byte() argument
668 return rtw_read8(padapter, RegAddr); in halbtcoutsrc_Read1Byte()
671 static u16 halbtcoutsrc_Read2Byte(void *pBtcContext, u32 RegAddr) in halbtcoutsrc_Read2Byte() argument
680 return rtw_read16(padapter, RegAddr); in halbtcoutsrc_Read2Byte()
683 static u32 halbtcoutsrc_Read4Byte(void *pBtcContext, u32 RegAddr) in halbtcoutsrc_Read4Byte() argument
692 return rtw_read32(padapter, RegAddr); in halbtcoutsrc_Read4Byte()
695 static void halbtcoutsrc_Write1Byte(void *pBtcContext, u32 RegAddr, u8 Data) in halbtcoutsrc_Write1Byte() argument
704 rtw_write8(padapter, RegAddr, Data); in halbtcoutsrc_Write1Byte()
735 static void halbtcoutsrc_Write2Byte(void *pBtcContext, u32 RegAddr, u16 Data) in halbtcoutsrc_Write2Byte() argument
744 rtw_write16(padapter, RegAddr, Data); in halbtcoutsrc_Write2Byte()
[all …]
Dodm_RegConfig8723B.c15 u32 RegAddr in odm_ConfigRFReg_8723B() argument
21 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH, RegAddr, bRFRegOffsetMask, Data); in odm_ConfigRFReg_8723B()
38 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH, RegAddr, bRFRegOffsetMask, Data); in odm_ConfigRFReg_8723B()
72 RegAddr, in odm_ConfigRFReg_8723B()
Dhal_intf.c316 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()
Drtl8723b_phycfg.c59 u32 PHY_QueryBBReg_8723B(struct adapter *Adapter, u32 RegAddr, u32 BitMask) in PHY_QueryBBReg_8723B() argument
69 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_QueryBBReg_8723B()
97 u32 RegAddr, in PHY_SetBBReg_8723B() argument
112 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_SetBBReg_8723B()
117 rtw_write32(Adapter, RegAddr, Data); in PHY_SetBBReg_8723B()
282 u32 RegAddr, in PHY_QueryRFReg_8723B() argument
292 Original_Value = phy_RFSerialRead_8723B(Adapter, eRFPath, RegAddr); in PHY_QueryRFReg_8723B()
319 u32 RegAddr, in PHY_SetRFReg_8723B() argument
332 Original_Value = phy_RFSerialRead_8723B(Adapter, eRFPath, RegAddr); in PHY_SetRFReg_8723B()
337 phy_RFSerialWrite_8723B(Adapter, eRFPath, RegAddr, Data); in PHY_SetRFReg_8723B()
Dhal_com_phycfg.c269 struct adapter *padapter, u32 RegAddr, u32 BitMask in PHY_GetRateSectionIndexOfTxPowerByRate() argument
277 switch (RegAddr) { in PHY_GetRateSectionIndexOfTxPowerByRate()
328 DBG_871X("Invalid RegAddr 0x3%x in PHY_GetRateSectionIndexOfTxPowerByRate()", RegAddr); in PHY_GetRateSectionIndexOfTxPowerByRate()
339 u32 RegAddr, in PHY_GetRateValuesOfTxPowerByRate() argument
349 switch (RegAddr) { in PHY_GetRateValuesOfTxPowerByRate()
718 DBG_871X("Invalid RegAddr 0x%x in %s()\n", RegAddr, __func__); in PHY_GetRateValuesOfTxPowerByRate()
728 u32 RegAddr, 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 …]
Dodm_RegConfig8723B.h14 u32 RegAddr
/Linux-v5.10/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_phy.h63 u32 RegAddr, u32 BitMask, u32 Data);
65 u32 RegAddr, u32 BitMask);
Dr8192E_phy.c200 u32 RegAddr, u32 BitMask, u32 Data) in rtl92e_set_rf_reg() argument
214 RegAddr); in rtl92e_set_rf_reg()
218 _rtl92e_phy_rf_fw_write(dev, eRFPath, RegAddr, in rtl92e_set_rf_reg()
221 _rtl92e_phy_rf_fw_write(dev, eRFPath, RegAddr, Data); in rtl92e_set_rf_reg()
227 RegAddr); in rtl92e_set_rf_reg()
231 _rtl92e_phy_rf_write(dev, eRFPath, RegAddr, New_Value); in rtl92e_set_rf_reg()
233 _rtl92e_phy_rf_write(dev, eRFPath, RegAddr, Data); in rtl92e_set_rf_reg()
238 u32 RegAddr, u32 BitMask) in rtl92e_get_rf_reg() argument
249 Original_Value = _rtl92e_phy_rf_fw_read(dev, eRFPath, RegAddr); in rtl92e_get_rf_reg()
252 Original_Value = _rtl92e_phy_rf_read(dev, eRFPath, RegAddr); in rtl92e_get_rf_reg()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Dhal_intf.h205 u32 RegAddr, u32 BitMask);
/Linux-v5.10/drivers/tty/
Dsynclinkmp.c5520 unsigned char * RegAddr = (unsigned char*)(info->sca_base + Addr); \
5522 RegAddr += 256; /* port 0-1 SCA0, 2-3 SCA1 */ \
5525 RegAddr += 0x40; /* DMA access */ \
5527 RegAddr += 0x20; /* MSCI access */ \
5534 return *RegAddr; in read_reg()
5539 *RegAddr = Value; in write_reg()
5545 return *((u16 *)RegAddr); in read_reg16()
5551 *((u16 *)RegAddr) = Value; in write_reg16()
5556 unsigned char *RegAddr = (unsigned char *)info->statctrl_base; in read_status_reg() local
5557 return *RegAddr; in read_status_reg()
[all …]
Dsynclink.c4380 static void usc_OutDmaReg( struct mgsl_struct *info, u16 RegAddr, u16 RegValue ) in usc_OutDmaReg() argument
4385 outw( RegAddr + info->mbre_bit, info->io_base ); in usc_OutDmaReg()
4408 static u16 usc_InDmaReg( struct mgsl_struct *info, u16 RegAddr ) in usc_InDmaReg() argument
4413 outw( RegAddr + info->mbre_bit, info->io_base ); in usc_InDmaReg()
4435 static void usc_OutReg( struct mgsl_struct *info, u16 RegAddr, u16 RegValue ) in usc_OutReg() argument
4437 outw( RegAddr + info->loopback_bits, info->io_base + CCAR ); in usc_OutReg()
4459 static u16 usc_InReg( struct mgsl_struct *info, u16 RegAddr ) in usc_InReg() argument
4461 outw( RegAddr + info->loopback_bits, info->io_base + CCAR ); in usc_InReg()
/Linux-v5.10/drivers/media/tuners/
Dmxl5005s.c3594 static const u8 RegAddr[] = { in MXL_GetInitRegister() local
3600 *count = ARRAY_SIZE(RegAddr); in MXL_GetInitRegister()
3605 RegNum[i] = RegAddr[i]; in MXL_GetInitRegister()
3620 static const u8 RegAddr[] = { in MXL_GetCHRegister() local
3625 static const u8 RegAddr[] = { in MXL_GetCHRegister() local
3636 *count = ARRAY_SIZE(RegAddr); in MXL_GetCHRegister()
3639 RegNum[i] = RegAddr[i]; in MXL_GetCHRegister()
3652 u8 RegAddr[] = {43, 136}; in MXL_GetCHRegister_ZeroIF() local
3654 *count = ARRAY_SIZE(RegAddr); in MXL_GetCHRegister_ZeroIF()
3657 RegNum[i] = RegAddr[i]; in MXL_GetCHRegister_ZeroIF()