Home
last modified time | relevance | path

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

/drivers/staging/rtl8723bs/include/
Dhal_intf.h252 u32 (*read_bbreg)(struct adapter *padapter, u32 RegAddr, u32 BitMask);
253 void (*write_bbreg)(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data);
254 u32 (*read_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask);
255 void (*write_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data);
375 u32 rtw_hal_read_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask);
376 void rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data);
377 u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask);
378 void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data);
380 #define PHY_QueryBBReg(Adapter, RegAddr, BitMask) rtw_hal_read_bbreg((Adapter), (RegAddr), (BitMask… argument
381 #define PHY_SetBBReg(Adapter, RegAddr, BitMask, Data) rtw_hal_write_bbreg((Adapter), (RegAddr), (Bi… argument
[all …]
DHal8723BPhyCfg.h39 u32 RegAddr,
46 u32 RegAddr,
55 u32 RegAddr,
63 u32 RegAddr,
Dhal_com_phycfg.h93 u32 RegAddr,
100 u32 RegAddr,
168 u32 RegAddr,
/drivers/staging/rtl8723bs/hal/
Dhal_btcoex.c729 static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr) in halbtcoutsrc_Read1Byte() argument
738 return rtw_read8(padapter, RegAddr); in halbtcoutsrc_Read1Byte()
741 static u16 halbtcoutsrc_Read2Byte(void *pBtcContext, u32 RegAddr) in halbtcoutsrc_Read2Byte() argument
750 return rtw_read16(padapter, RegAddr); in halbtcoutsrc_Read2Byte()
753 static u32 halbtcoutsrc_Read4Byte(void *pBtcContext, u32 RegAddr) in halbtcoutsrc_Read4Byte() argument
762 return rtw_read32(padapter, RegAddr); in halbtcoutsrc_Read4Byte()
765 static void halbtcoutsrc_Write1Byte(void *pBtcContext, u32 RegAddr, u8 Data) in halbtcoutsrc_Write1Byte() argument
774 rtw_write8(padapter, RegAddr, Data); in halbtcoutsrc_Write1Byte()
805 static void halbtcoutsrc_Write2Byte(void *pBtcContext, u32 RegAddr, u16 Data) in halbtcoutsrc_Write2Byte() argument
814 rtw_write16(padapter, RegAddr, Data); in halbtcoutsrc_Write2Byte()
[all …]
DHalBtcOutSrc.h387 typedef u8 (*BFP_BTC_R1)(void *pBtcContext, u32 RegAddr);
388 typedef u16(*BFP_BTC_R2)(void *pBtcContext, u32 RegAddr);
389 typedef u32 (*BFP_BTC_R4)(void *pBtcContext, u32 RegAddr);
390 typedef void (*BFP_BTC_W1)(void *pBtcContext, u32 RegAddr, u8 Data);
394 typedef void (*BFP_BTC_W2)(void *pBtcContext, u32 RegAddr, u16 Data);
395 typedef void (*BFP_BTC_W4)(void *pBtcContext, u32 RegAddr, u32 Data);
396 typedef void (*BFP_BTC_LOCAL_REG_W1)(void *pBtcContext, u32 RegAddr, u8 Data);
398 void *pBtcContext, u32 RegAddr, u32 BitMask, u32 Data
400 typedef u32 (*BFP_BTC_GET_BB_REG)(void *pBtcContext, u32 RegAddr, u32 BitMask);
402 void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data
[all …]
Dhal_intf.c324 u32 rtw_hal_read_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask) in rtw_hal_read_bbreg() argument
328 data = padapter->HalFunc.read_bbreg(padapter, RegAddr, BitMask); in rtw_hal_read_bbreg()
331 void rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data) in rtw_hal_write_bbreg() argument
334 padapter->HalFunc.write_bbreg(padapter, RegAddr, BitMask, Data); in rtw_hal_write_bbreg()
337 u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask) in rtw_hal_read_rfreg() argument
341 data = padapter->HalFunc.read_rfreg(padapter, eRFPath, RegAddr, BitMask); in rtw_hal_read_rfreg()
344 void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data) in rtw_hal_write_rfreg() argument
347 padapter->HalFunc.write_rfreg(padapter, eRFPath, RegAddr, BitMask, Data); in rtw_hal_write_rfreg()
Dodm_RegConfig8723B.c23 u32 RegAddr in odm_ConfigRFReg_8723B() argument
29 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH, RegAddr, bRFRegOffsetMask, Data); in odm_ConfigRFReg_8723B()
46 PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH, RegAddr, bRFRegOffsetMask, Data); in odm_ConfigRFReg_8723B()
80 RegAddr, in odm_ConfigRFReg_8723B()
Drtl8723b_phycfg.c67 u32 PHY_QueryBBReg_8723B(struct adapter *Adapter, u32 RegAddr, u32 BitMask) in PHY_QueryBBReg_8723B() argument
77 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_QueryBBReg_8723B()
106 u32 RegAddr, in PHY_SetBBReg_8723B() argument
121 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_SetBBReg_8723B()
126 rtw_write32(Adapter, RegAddr, Data); in PHY_SetBBReg_8723B()
291 u32 RegAddr, in PHY_QueryRFReg_8723B() argument
301 Original_Value = phy_RFSerialRead_8723B(Adapter, eRFPath, RegAddr); in PHY_QueryRFReg_8723B()
330 u32 RegAddr, in PHY_SetRFReg_8723B() argument
343 Original_Value = phy_RFSerialRead_8723B(Adapter, eRFPath, RegAddr); in PHY_SetRFReg_8723B()
348 phy_RFSerialWrite_8723B(Adapter, eRFPath, RegAddr, Data); in PHY_SetRFReg_8723B()
Dhal_com_phycfg.c277 struct adapter *padapter, u32 RegAddr, u32 BitMask in PHY_GetRateSectionIndexOfTxPowerByRate() argument
285 switch (RegAddr) { in PHY_GetRateSectionIndexOfTxPowerByRate()
336 DBG_871X("Invalid RegAddr 0x3%x in PHY_GetRateSectionIndexOfTxPowerByRate()", RegAddr); in PHY_GetRateSectionIndexOfTxPowerByRate()
347 u32 RegAddr, in PHY_GetRateValuesOfTxPowerByRate() argument
357 switch (RegAddr) { in PHY_GetRateValuesOfTxPowerByRate()
726 DBG_871X("Invalid RegAddr 0x%x in %s()\n", RegAddr, __func__); in PHY_GetRateValuesOfTxPowerByRate()
736 u32 RegAddr, in PHY_StoreTxPowerByRateNew() argument
745 …PHY_GetRateValuesOfTxPowerByRate(padapter, RegAddr, BitMask, Data, rateIndex, PwrByRateVal, &rateN… in PHY_StoreTxPowerByRateNew()
772 struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data in PHY_StoreTxPowerByRateOld() argument
776 u8 index = PHY_GetRateSectionIndexOfTxPowerByRate(padapter, RegAddr, BitMask); in PHY_StoreTxPowerByRateOld()
[all …]
Dodm_RegConfig8723B.h23 u32 RegAddr
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_phy.h71 u32 RegAddr, u32 BitMask, u32 Data);
73 u32 RegAddr, u32 BitMask);
Dr8192E_phy.c210 u32 RegAddr, u32 BitMask, u32 Data) in rtl92e_set_rf_reg() argument
224 RegAddr); in rtl92e_set_rf_reg()
229 _rtl92e_phy_rf_fw_write(dev, eRFPath, RegAddr, in rtl92e_set_rf_reg()
232 _rtl92e_phy_rf_fw_write(dev, eRFPath, RegAddr, Data); in rtl92e_set_rf_reg()
238 RegAddr); in rtl92e_set_rf_reg()
243 _rtl92e_phy_rf_write(dev, eRFPath, RegAddr, New_Value); in rtl92e_set_rf_reg()
245 _rtl92e_phy_rf_write(dev, eRFPath, RegAddr, Data); in rtl92e_set_rf_reg()
250 u32 RegAddr, u32 BitMask) in rtl92e_get_rf_reg() argument
261 Original_Value = _rtl92e_phy_rf_fw_read(dev, eRFPath, RegAddr); in rtl92e_get_rf_reg()
264 Original_Value = _rtl92e_phy_rf_read(dev, eRFPath, RegAddr); in rtl92e_get_rf_reg()
/drivers/staging/rtl8188eu/include/
Dhal_intf.h211 u32 RegAddr, u32 BitMask);
/drivers/tty/
Dsynclinkmp.c5538 unsigned char * RegAddr = (unsigned char*)(info->sca_base + Addr); \
5540 RegAddr += 256; /* port 0-1 SCA0, 2-3 SCA1 */ \
5543 RegAddr += 0x40; /* DMA access */ \
5545 RegAddr += 0x20; /* MSCI access */ \
5552 return *RegAddr; in read_reg()
5557 *RegAddr = Value; in write_reg()
5563 return *((u16 *)RegAddr); in read_reg16()
5569 *((u16 *)RegAddr) = Value; in write_reg16()
5574 unsigned char *RegAddr = (unsigned char *)info->statctrl_base; in read_status_reg() local
5575 return *RegAddr; in read_status_reg()
[all …]
Dsynclink.c4521 static void usc_OutDmaReg( struct mgsl_struct *info, u16 RegAddr, u16 RegValue ) in usc_OutDmaReg() argument
4526 outw( RegAddr + info->mbre_bit, info->io_base ); in usc_OutDmaReg()
4550 static u16 usc_InDmaReg( struct mgsl_struct *info, u16 RegAddr ) in usc_InDmaReg() argument
4555 outw( RegAddr + info->mbre_bit, info->io_base ); in usc_InDmaReg()
4577 static void usc_OutReg( struct mgsl_struct *info, u16 RegAddr, u16 RegValue ) in usc_OutReg() argument
4579 outw( RegAddr + info->loopback_bits, info->io_base + CCAR ); in usc_OutReg()
4602 static u16 usc_InReg( struct mgsl_struct *info, u16 RegAddr ) in usc_InReg() argument
4604 outw( RegAddr + info->loopback_bits, info->io_base + CCAR ); in usc_InReg()
/drivers/media/tuners/
Dmxl5005s.c3594 u8 RegAddr[] = { in MXL_GetInitRegister() local
3599 *count = ARRAY_SIZE(RegAddr); in MXL_GetInitRegister()
3604 RegNum[i] = RegAddr[i]; in MXL_GetInitRegister()
3619 u8 RegAddr[] = {14, 15, 16, 17, 22, 43, 65, 68, 69, 70, 73, 92, 93, 106, in MXL_GetCHRegister() local
3622 u8 RegAddr[] = {14, 15, 16, 17, 22, 43, 68, 69, 70, 73, 92, 93, 106, in MXL_GetCHRegister() local
3631 *count = ARRAY_SIZE(RegAddr); in MXL_GetCHRegister()
3634 RegNum[i] = RegAddr[i]; in MXL_GetCHRegister()
3647 u8 RegAddr[] = {43, 136}; in MXL_GetCHRegister_ZeroIF() local
3649 *count = ARRAY_SIZE(RegAddr); in MXL_GetCHRegister_ZeroIF()
3652 RegNum[i] = RegAddr[i]; in MXL_GetCHRegister_ZeroIF()