/drivers/staging/rtl8712/ |
D | rtl871x_mp.c | 106 static u32 fw_iocmd_read(struct _adapter *pAdapter, struct IOCMD_STRUCT iocmd) in fw_iocmd_read() argument 114 if (r8712_fw_cmd(pAdapter, cmd32)) in fw_iocmd_read() 115 r8712_fw_cmd_data(pAdapter, &val32, 1); in fw_iocmd_read() 121 static u8 fw_iocmd_write(struct _adapter *pAdapter, in fw_iocmd_write() argument 129 r8712_fw_cmd_data(pAdapter, &value, 0); in fw_iocmd_write() 132 return r8712_fw_cmd(pAdapter, cmd32); in fw_iocmd_write() 136 u32 r8712_bb_reg_read(struct _adapter *pAdapter, u16 offset) in r8712_bb_reg_read() argument 146 bb_val = fw_iocmd_read(pAdapter, iocmd); in r8712_bb_reg_read() 152 bb_val2 = fw_iocmd_read(pAdapter, iocmd); in r8712_bb_reg_read() 160 u8 r8712_bb_reg_write(struct _adapter *pAdapter, u16 offset, u32 value) in r8712_bb_reg_write() argument [all …]
|
D | rtl871x_mp.h | 269 void r8712_SetChannel(struct _adapter *pAdapter); 271 void r8712_SetTxAGCOffset(struct _adapter *pAdapter, u32 ulTxAGCOffset); 272 void r8712_SetDataRate(struct _adapter *pAdapter); 273 void r8712_SwitchBandwidth(struct _adapter *pAdapter); 274 void r8712_SwitchAntenna(struct _adapter *pAdapter); 275 void r8712_SetCrystalCap(struct _adapter *pAdapter); 276 void r8712_GetThermalMeter(struct _adapter *pAdapter, u32 *value); 277 void r8712_SetContinuousTx(struct _adapter *pAdapter, u8 bStart); 278 void r8712_SetSingleCarrierTx(struct _adapter *pAdapter, u8 bStart); 279 void r8712_SetSingleToneTx(struct _adapter *pAdapter, u8 bStart); [all …]
|
D | rtl8712_cmd.c | 296 u8 r8712_fw_cmd(struct _adapter *pAdapter, u32 cmd) in r8712_fw_cmd() argument 300 r8712_write32(pAdapter, IOCMD_CTRL_REG, cmd); in r8712_fw_cmd() 302 while ((0 != r8712_read32(pAdapter, IOCMD_CTRL_REG)) && in r8712_fw_cmd() 312 void r8712_fw_cmd_data(struct _adapter *pAdapter, u32 *value, u8 flag) in r8712_fw_cmd_data() argument 315 r8712_write32(pAdapter, IOCMD_DATA_REG, *value); in r8712_fw_cmd_data() 317 *value = r8712_read32(pAdapter, IOCMD_DATA_REG); in r8712_fw_cmd_data()
|
D | rtl8712_cmd.h | 31 u8 r8712_fw_cmd(struct _adapter *pAdapter, u32 cmd); 32 void r8712_fw_cmd_data(struct _adapter *pAdapter, u32 *value, u8 flag);
|
/drivers/staging/rtl8723au/hal/ |
D | HalDMOutSrc8723A_CE.c | 393 static u8 _PHY_PathA_IQK(struct rtw_adapter *pAdapter, bool configPathB) in _PHY_PathA_IQK() argument 397 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in _PHY_PathA_IQK() 400 PHY_SetBBReg(pAdapter, rTx_IQK_Tone_A, bMaskDWord, 0x10008c1f); in _PHY_PathA_IQK() 401 PHY_SetBBReg(pAdapter, rRx_IQK_Tone_A, bMaskDWord, 0x10008c1f); in _PHY_PathA_IQK() 402 PHY_SetBBReg(pAdapter, rTx_IQK_PI_A, bMaskDWord, 0x82140102); in _PHY_PathA_IQK() 404 PHY_SetBBReg(pAdapter, rRx_IQK_PI_A, bMaskDWord, configPathB ? 0x28160202 : in _PHY_PathA_IQK() 409 PHY_SetBBReg(pAdapter, rTx_IQK_Tone_B, bMaskDWord, 0x10008c22); in _PHY_PathA_IQK() 410 PHY_SetBBReg(pAdapter, rRx_IQK_Tone_B, bMaskDWord, 0x10008c22); in _PHY_PathA_IQK() 411 PHY_SetBBReg(pAdapter, rTx_IQK_PI_B, bMaskDWord, 0x82140102); in _PHY_PathA_IQK() 412 PHY_SetBBReg(pAdapter, rRx_IQK_PI_B, bMaskDWord, 0x28160202); in _PHY_PathA_IQK() [all …]
|
D | hal_com.c | 243 static void _OneOutPipeMapping(struct rtw_adapter *pAdapter) in _OneOutPipeMapping() argument 245 struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(pAdapter); in _OneOutPipeMapping() 258 static void _TwoOutPipeMapping(struct rtw_adapter *pAdapter, bool bWIFICfg) in _TwoOutPipeMapping() argument 260 struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(pAdapter); in _TwoOutPipeMapping() 291 static void _ThreeOutPipeMapping(struct rtw_adapter *pAdapter, bool bWIFICfg) in _ThreeOutPipeMapping() argument 293 struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(pAdapter); in _ThreeOutPipeMapping() 324 bool Hal_MappingOutPipe23a(struct rtw_adapter *pAdapter, u8 NumOutPipe) in Hal_MappingOutPipe23a() argument 326 struct registry_priv *pregistrypriv = &pAdapter->registrypriv; in Hal_MappingOutPipe23a() 332 _TwoOutPipeMapping(pAdapter, bWIFICfg); in Hal_MappingOutPipe23a() 335 _ThreeOutPipeMapping(pAdapter, bWIFICfg); in Hal_MappingOutPipe23a() [all …]
|
D | usb_halinit.c | 30 _ConfigChipOutEP(struct rtw_adapter *pAdapter, u8 NumOutPipe) in _ConfigChipOutEP() argument 33 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in _ConfigChipOutEP() 39 value8 = rtl8723au_read8(pAdapter, (REG_NORMAL_SIE_EP + 1)); in _ConfigChipOutEP() 52 value8 = rtl8723au_read8(pAdapter, (REG_NORMAL_SIE_EP + 2)); in _ConfigChipOutEP() 64 static bool rtl8723au_set_queue_pipe_mapping(struct rtw_adapter *pAdapter, in rtl8723au_set_queue_pipe_mapping() argument 67 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in rtl8723au_set_queue_pipe_mapping() 70 _ConfigChipOutEP(pAdapter, NumOutPipe); in rtl8723au_set_queue_pipe_mapping() 78 result = Hal_MappingOutPipe23a(pAdapter, NumOutPipe); in rtl8723au_set_queue_pipe_mapping() 514 enum rt_rf_power_state RfOnOffDetect23a(struct rtw_adapter *pAdapter) in RfOnOffDetect23a() argument 520 rtl8723au_write8(pAdapter, REG_MAC_PINMUX_CFG, in RfOnOffDetect23a() [all …]
|
D | rtl8723a_cmd.c | 146 void rtl8723a_add_rateatid(struct rtw_adapter *pAdapter, u32 bitmap, u8 arg, u8 rssi_level) in rtl8723a_add_rateatid() argument 148 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in rtl8723a_add_rateatid() 160 rtl8723a_set_raid_cmd(pAdapter, bitmap, arg); in rtl8723a_add_rateatid() 171 rtl8723au_write8(pAdapter, REG_INIDATA_RATE_SEL + macid, in rtl8723a_add_rateatid()
|
D | odm.c | 521 struct rtw_adapter *pAdapter = pDM_Odm->Adapter; in odm_DIG23abyRSSI_LPS() local 531 bFwCurrentInPSMode = pAdapter->pwrctrlpriv.bFwCurrentInPSMode; in odm_DIG23abyRSSI_LPS() 1187 struct rtw_adapter *pAdapter = pDM_Odm->Adapter; in odm_RefreshRateAdaptiveMask23aCE23a() local 1189 if (pAdapter->bDriverStopped) { in odm_RefreshRateAdaptiveMask23aCE23a() 1315 struct rtw_adapter *pAdapter in FindMinimumRSSI() argument 1318 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in FindMinimumRSSI()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_efuse.c | 46 struct adapter *pAdapter, in Efuse_PowerSwitch() argument 54 usb_write8(pAdapter, REG_EFUSE_ACCESS, EFUSE_ACCESS_ON); in Efuse_PowerSwitch() 57 tmpV16 = usb_read16(pAdapter, REG_SYS_ISO_CTRL); in Efuse_PowerSwitch() 60 usb_write16(pAdapter, REG_SYS_ISO_CTRL, tmpV16); in Efuse_PowerSwitch() 63 tmpV16 = usb_read16(pAdapter, REG_SYS_FUNC_EN); in Efuse_PowerSwitch() 66 usb_write16(pAdapter, REG_SYS_FUNC_EN, tmpV16); in Efuse_PowerSwitch() 70 tmpV16 = usb_read16(pAdapter, REG_SYS_CLKR); in Efuse_PowerSwitch() 73 usb_write16(pAdapter, REG_SYS_CLKR, tmpV16); in Efuse_PowerSwitch() 78 tempval = usb_read8(pAdapter, EFUSE_TEST+3); in Efuse_PowerSwitch() 81 usb_write8(pAdapter, EFUSE_TEST+3, (tempval | 0x80)); in Efuse_PowerSwitch() [all …]
|
/drivers/staging/rtl8723au/core/ |
D | rtw_efuse.c | 104 Efuse_GetCurrentSize23a(struct rtw_adapter *pAdapter, u8 efuseType) in Efuse_GetCurrentSize23a() argument 109 ret = rtl8723a_EfuseGetCurrentSize_WiFi(pAdapter); in Efuse_GetCurrentSize23a() 111 ret = rtl8723a_EfuseGetCurrentSize_BT(pAdapter); in Efuse_GetCurrentSize23a() 175 EFUSE_GetEfuseDefinition23a(struct rtw_adapter *pAdapter, u8 efuseType, in EFUSE_GetEfuseDefinition23a() argument 387 efuse_OneByteRead23a(struct rtw_adapter *pAdapter, u16 addr, u8 *data) in efuse_OneByteRead23a() argument 394 rtl8723au_write8(pAdapter, EFUSE_CTRL+1, (u8)(addr&0xff)); in efuse_OneByteRead23a() 395 rtl8723au_write8(pAdapter, EFUSE_CTRL+2, ((u8)((addr>>8) &0x03)) | in efuse_OneByteRead23a() 396 (rtl8723au_read8(pAdapter, EFUSE_CTRL+2)&0xFC)); in efuse_OneByteRead23a() 398 rtl8723au_write8(pAdapter, EFUSE_CTRL+3, 0x72);/* read cmd */ in efuse_OneByteRead23a() 400 while(!(0x80 &rtl8723au_read8(pAdapter, EFUSE_CTRL+3)) && (tmpidx<100)) in efuse_OneByteRead23a() [all …]
|
/drivers/staging/rtl8723au/include/ |
D | rtw_efuse.h | 91 u16 Efuse_GetCurrentSize23a(struct rtw_adapter *pAdapter, u8 efuseType); 94 void EFUSE_GetEfuseDefinition23a(struct rtw_adapter *pAdapter, u8 efuseType, u8 type, void *pOut); 95 int efuse_OneByteRead23a(struct rtw_adapter *pAdapter, u16 addr, u8 *data); 96 int efuse_OneByteWrite23a(struct rtw_adapter *pAdapter, u16 addr, u8 data); 98 void Efuse_PowerSwitch23a(struct rtw_adapter *pAdapter, u8 bWrite, 100 int Efuse_PgPacketRead23a(struct rtw_adapter *pAdapter, u8 offset, u8 *data); 101 int Efuse_PgPacketWrite23a(struct rtw_adapter *pAdapter, u8 offset, u8 word_en, u8 *data); 103 u8 Efuse_WordEnableDataWrite23a(struct rtw_adapter *pAdapter, u16 efuse_addr, u8 word_en, u8 *data); 105 u8 EFUSE_Read1Byte23a(struct rtw_adapter *pAdapter, u16 Address); 106 void EFUSE_ShadowMapUpdate23a(struct rtw_adapter *pAdapter, u8 efuseType); [all …]
|
D | HalDMOutSrc8723A.h | 50 void rtl8723a_phy_iq_calibrate(struct rtw_adapter *pAdapter, bool bReCovery); 55 void rtl8723a_phy_lc_calibrate(struct rtw_adapter *pAdapter); 60 void rtl8723a_phy_ap_calibrate(struct rtw_adapter *pAdapter, char delta);
|
D | Hal8723APhyCfg.h | 196 void PHY_SetBWMode23a8723A(struct rtw_adapter *pAdapter, 203 void PHY_SwChnl8723A(struct rtw_adapter *pAdapter, u8 channel);
|
/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 86 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_count_txstatistic() 97 if (pAdapter->bInHctTest) in cmpk_count_txstatistic() 342 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_count_tx_status() 433 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_handle_tx_rate_history()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_cmdpkt.c | 101 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_count_txstatistic() 227 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_count_tx_status() 276 pAdapter->HalFunc.GetHwRegHandler(pAdapter, HW_VAR_RF_STATE, in cmpk_handle_tx_rate_history()
|
/drivers/staging/vt6655/ |
D | wcmd.c | 331 CARDbSetBSSID(pMgmt->pAdapter, pMgmt->abyCurrBSSID, NL80211_IFTYPE_AP); in vCommandTimer() 355 set_channel(pMgmt->pAdapter, pMgmt->uCurrChannel); in vCommandTimer() 359 CARDbSetBSSID(pMgmt->pAdapter, pMgmt->abyCurrBSSID, NL80211_IFTYPE_ADHOC); in vCommandTimer() 361 CARDbSetBSSID(pMgmt->pAdapter, pMgmt->abyCurrBSSID, NL80211_IFTYPE_STATION); in vCommandTimer() 389 if (set_channel(pMgmt->pAdapter, pMgmt->uScanChannel)) in vCommandTimer() 396 CARDbSetBSSID(pMgmt->pAdapter, pMgmt->abyCurrBSSID, NL80211_IFTYPE_UNSPECIFIED); in vCommandTimer() 426 set_channel(pMgmt->pAdapter, pMgmt->uCurrChannel); in vCommandTimer() 430 CARDbSetBSSID(pMgmt->pAdapter, pMgmt->abyCurrBSSID, NL80211_IFTYPE_ADHOC); in vCommandTimer() 432 CARDbSetBSSID(pMgmt->pAdapter, pMgmt->abyCurrBSSID, NL80211_IFTYPE_STATION); in vCommandTimer()
|
D | IEEE11h.c | 125 CARDpGetCurrentAddress(pMgmt->pAdapter), WLAN_ADDR_LEN); in IEEE11hbMSRRepTx() 138 if (csMgmt_xmit(pMgmt->pAdapter, pTxPacket) != CMD_STATUS_PENDING) in IEEE11hbMSRRepTx()
|
D | wmgr.c | 456 if (CARDbIsShorSlotTime(pMgmt->pAdapter)) in vMgrAssocBeginSta() 459 if (CARDbIsShortPreamble(pMgmt->pAdapter)) in vMgrAssocBeginSta() 523 if (CARDbIsShorSlotTime(pMgmt->pAdapter)) in vMgrReAssocBeginSta() 526 if (CARDbIsShortPreamble(pMgmt->pAdapter)) in vMgrReAssocBeginSta() 1939 CARDbSetPhyParameter(pMgmt->pAdapter, in s_vMgrRxBeacon() 1948 CARDvSetPowerConstraint(pMgmt->pAdapter, in s_vMgrRxBeacon() 1954 CARDbChannelSwitch(pMgmt->pAdapter, in s_vMgrRxBeacon() 1956 get_channel_mapping(pMgmt->pAdapter, sFrame.pIE_CHSW->byMode, pMgmt->eCurrentPHYMode), in s_vMgrRxBeacon() 1961 set_channel(pMgmt->pAdapter, pBSSList->uChannel); in s_vMgrRxBeacon() 2138 CARDbSetPhyParameter(pMgmt->pAdapter, in s_vMgrRxBeacon() [all …]
|
D | bssdb.c | 470 set_country_info(pMgmt->pAdapter, pBSSList->eNetworkTypeInUse, in BSSbInsertToBSSList() 480 CARDbSetQuiet(pMgmt->pAdapter, in BSSbInsertToBSSList() 489 CARDbSetQuiet(pMgmt->pAdapter, in BSSbInsertToBSSList() 501 CARDbStartQuiet(pMgmt->pAdapter); in BSSbInsertToBSSList() 635 set_country_info(pMgmt->pAdapter, pBSSList->eNetworkTypeInUse, in BSSbUpdateToBSSList() 645 CARDbSetQuiet(pMgmt->pAdapter, in BSSbUpdateToBSSList() 654 CARDbSetQuiet(pMgmt->pAdapter, in BSSbUpdateToBSSList() 666 CARDbStartQuiet(pMgmt->pAdapter); in BSSbUpdateToBSSList()
|
D | wmgr.h | 188 void *pAdapter; member
|
/drivers/staging/rtl8188eu/include/ |
D | rtl8188e_hal.h | 406 void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, 410 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, 412 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo, 414 void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
|
D | hal_com.h | 166 bool Hal_MappingOutPipe(struct adapter *pAdapter, u8 NumOutPipe);
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_hal_init.c | 593 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseXtal_8188E() argument 595 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in Hal_EfuseParseXtal_8188E() 607 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseBoardType88E() argument 609 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in Hal_EfuseParseBoardType88E() 658 void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, bool AutoLoadFail) in Hal_ReadAntennaDiversity88E() argument 660 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in Hal_ReadAntennaDiversity88E() 661 struct registry_priv *registry_par = &pAdapter->registrypriv; in Hal_ReadAntennaDiversity88E()
|
D | odm.c | 1036 struct adapter *pAdapter = pDM_Odm->Adapter; in odm_RefreshRateAdaptiveMaskCE() local 1038 if (pAdapter->bDriverStopped) { in odm_RefreshRateAdaptiveMaskCE() 1055 rtw_hal_update_ra_mask(pAdapter, i, pstat->rssi_level); in odm_RefreshRateAdaptiveMaskCE() 1137 static void FindMinimumRSSI(struct adapter *pAdapter) in FindMinimumRSSI() argument 1139 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in FindMinimumRSSI() 1141 struct mlme_priv *pmlmepriv = &pAdapter->mlmepriv; in FindMinimumRSSI()
|