/drivers/staging/rtl8723au/hal/ |
D | rtl8723a_phycfg.c | 167 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in phy_RFSerialRead() local 168 struct bb_reg_define *pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RFSerialRead() 288 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in phy_RFSerialWrite() local 289 struct bb_reg_define *pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RFSerialWrite() 422 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in PHY_MACConfig8723A() local 423 bool is92C = IS_92C_SERIAL(pHalData->VersionID); in PHY_MACConfig8723A() 428 ODM_ReadAndConfig_MAC_REG_8723A(&pHalData->odmpriv); in PHY_MACConfig8723A() 433 if (is92C && (BOARD_USB_DONGLE == pHalData->BoardType)) in PHY_MACConfig8723A() 455 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in phy_InitBBRFRegisterDefinition() local 459 pHalData->PHYRegDef[RF_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in phy_InitBBRFRegisterDefinition() [all …]
|
D | rtl8723a_rf6052.c | 78 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in rtl8723a_phy_rf6052set_bw() local 82 pHalData->RfRegChnlVal[0] = ((pHalData->RfRegChnlVal[0] & 0xfffff3ff) | 0x0400); in rtl8723a_phy_rf6052set_bw() 83 PHY_SetRFReg(Adapter, RF_PATH_A, RF_CHNLBW, bRFRegOffsetMask, pHalData->RfRegChnlVal[0]); in rtl8723a_phy_rf6052set_bw() 86 pHalData->RfRegChnlVal[0] = ((pHalData->RfRegChnlVal[0] & 0xfffff3ff)); in rtl8723a_phy_rf6052set_bw() 87 PHY_SetRFReg(Adapter, RF_PATH_A, RF_CHNLBW, bRFRegOffsetMask, pHalData->RfRegChnlVal[0]); in rtl8723a_phy_rf6052set_bw() 113 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in rtl823a_phy_rf6052setccktxpower() local 114 struct dm_priv *pdmpriv = &pHalData->dmpriv; in rtl823a_phy_rf6052setccktxpower() 123 if (pHalData->EEPROMRegulatory != 0 || pHalData->ExternalPA) in rtl823a_phy_rf6052setccktxpower() 138 if (TxAGC[idx1] > 0x20 && pHalData->ExternalPA) in rtl823a_phy_rf6052setccktxpower() 159 if (pHalData->EEPROMRegulatory == 0) { in rtl823a_phy_rf6052setccktxpower() [all …]
|
D | usb_halinit.c | 33 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in _ConfigChipOutEP() local 35 pHalData->OutEpQueueSel = 0; in _ConfigChipOutEP() 36 pHalData->OutEpNumber = 0; in _ConfigChipOutEP() 42 pHalData->OutEpQueueSel |= TX_SELE_HQ; in _ConfigChipOutEP() 43 pHalData->OutEpNumber++; in _ConfigChipOutEP() 47 pHalData->OutEpQueueSel |= TX_SELE_NQ; in _ConfigChipOutEP() 48 pHalData->OutEpNumber++; in _ConfigChipOutEP() 54 pHalData->OutEpQueueSel |= TX_SELE_LQ; in _ConfigChipOutEP() 55 pHalData->OutEpNumber++; in _ConfigChipOutEP() 67 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in rtl8723au_set_queue_pipe_mapping() local [all …]
|
D | rtl8723a_dm.c | 88 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in rtl8723a_init_dm_priv() local 89 struct dm_priv *pdmpriv = &pHalData->dmpriv; in rtl8723a_init_dm_priv() 90 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in rtl8723a_init_dm_priv() 102 if (IS_8723A_A_CUT(pHalData->VersionID)) { in rtl8723a_init_dm_priv() 105 } else if (IS_8723A_B_CUT(pHalData->VersionID)) { in rtl8723a_init_dm_priv() 114 ODM_CmnInfoInit23a(pDM_Odm, ODM_CMNINFO_MP_TEST_CHIP, IS_NORMAL_CHIP(pHalData->VersionID)); in rtl8723a_init_dm_priv() 116 ODM_CmnInfoInit23a(pDM_Odm, ODM_CMNINFO_BOARD_TYPE, pHalData->BoardType); in rtl8723a_init_dm_priv() 118 if (pHalData->BoardType == BOARD_USB_High_PA) { in rtl8723a_init_dm_priv() 122 ODM_CmnInfoInit23a(pDM_Odm, ODM_CMNINFO_PATCH_ID, pHalData->CustomerID); in rtl8723a_init_dm_priv() 125 if (pHalData->rf_type == RF_1T1R) in rtl8723a_init_dm_priv() [all …]
|
D | rtl8723a_hal_init.c | 165 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_FirmwareSelfReset() local 170 ((pHalData->FirmwareVersion < 0x21) || in rtl8723a_FirmwareSelfReset() 171 (pHalData->FirmwareVersion == 0x21 && in rtl8723a_FirmwareSelfReset() 172 pHalData->FirmwareSubVersion < 0x01)))) { in rtl8723a_FirmwareSelfReset() 208 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_FirmwareDownload() local 221 if (IS_8723A_A_CUT(pHalData->VersionID)) { in rtl8723a_FirmwareDownload() 226 } else if (IS_8723A_B_CUT(pHalData->VersionID)) { in rtl8723a_FirmwareDownload() 275 pHalData->FirmwareVersion = le16_to_cpu(pFwHdr->Version); in rtl8723a_FirmwareDownload() 276 pHalData->FirmwareSubVersion = pFwHdr->Subversion; in rtl8723a_FirmwareDownload() 277 pHalData->FirmwareSignature = le16_to_cpu(pFwHdr->Signature); in rtl8723a_FirmwareDownload() [all …]
|
D | rtl8723a_bt-coexist.c | 5205 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in btdm_SetFwIgnoreWlanAct() local 5211 pHalData->bt_coexist.bFWCoexistAllOff = false; in btdm_SetFwIgnoreWlanAct() 5269 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in btdm_Is1AntPsTdmaStateChange() local 5270 struct btdm_8723a_1ant *pBtdm8723 = &pHalData->bt_coexist.halCoex8723.btdm1Ant; in btdm_Is1AntPsTdmaStateChange() 5287 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in btdm_1AntPsTdma() local 5288 struct btdm_8723a_1ant *pBtdm8723 = &pHalData->bt_coexist.halCoex8723.btdm1Ant; in btdm_1AntPsTdma() 5436 struct hal_data_8723a *pHalData; in _btdm_1AntSetPSTDMA() local 5454 pHalData = GET_HAL_DATA(padapter); in _btdm_1AntSetPSTDMA() 5455 pBtdm8723 = &pHalData->bt_coexist.halCoex8723.btdm1Ant; in _btdm_1AntSetPSTDMA() 5504 (pHalData->bt_coexist.halCoex8723.c2hBtInfo == BT_INFO_STATE_NO_CONNECTION) || in _btdm_1AntSetPSTDMA() [all …]
|
D | rtl8723a_cmd.c | 58 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in FillH2CCmd() local 64 pHalData = GET_HAL_DATA(padapter); in FillH2CCmd() 77 h2c_box_num = pHalData->LastHMEBoxNum; in FillH2CCmd() 105 pHalData->LastHMEBoxNum = (h2c_box_num+1) % RTL92C_MAX_H2C_BOX_NUMS; in FillH2CCmd() 148 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in rtl8723a_add_rateatid() local 154 bitmap = ODM_Get_Rate_Bitmap23a(pHalData, macid, bitmap, in rtl8723a_add_rateatid() 159 if (pHalData->fw_ractrl == true) { in rtl8723a_add_rateatid() 180 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_set_FwPwrMode_cmd() local 190 (!IS_92C_SERIAL(pHalData->VersionID))) { in rtl8723a_set_FwPwrMode_cmd() 191 ODM_RF_Saving23a(&pHalData->odmpriv, true); in rtl8723a_set_FwPwrMode_cmd() [all …]
|
D | HalDMOutSrc8723A_CE.c | 30 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in odm_TXPowerTrackingCallback_ThermalMeter_92C() local 31 struct dm_priv *pdmpriv = &pHalData->dmpriv; in odm_TXPowerTrackingCallback_ThermalMeter_92C() 38 bool is2T = IS_92C_SERIAL(pHalData->VersionID); in odm_TXPowerTrackingCallback_ThermalMeter_92C() 52 if (pHalData->CurrentChannel == 14 && !pdmpriv->bCCKinCH14) in odm_TXPowerTrackingCallback_ThermalMeter_92C() 54 else if (pHalData->CurrentChannel != 14 && pdmpriv->bCCKinCH14) in odm_TXPowerTrackingCallback_ThermalMeter_92C() 61 pHalData->EEPROMThermalMeter)); in odm_TXPowerTrackingCallback_ThermalMeter_92C() 112 pdmpriv->ThermalValue = pHalData->EEPROMThermalMeter; in odm_TXPowerTrackingCallback_ThermalMeter_92C() 115 pdmpriv->ThermalValue_DPK = pHalData->EEPROMThermalMeter; in odm_TXPowerTrackingCallback_ThermalMeter_92C() 125 if (pHalData->BoardType == BOARD_USB_High_PA) { in odm_TXPowerTrackingCallback_ThermalMeter_92C() 145 if (pHalData->BoardType == BOARD_USB_High_PA) { in odm_TXPowerTrackingCallback_ThermalMeter_92C() [all …]
|
D | hal_com.c | 158 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in HalSetBrateCfg23a() local 221 pHalData->BasicRateSet = brate_cfg; in HalSetBrateCfg23a() 630 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_ack_preamble() local 635 regTmp = (pHalData->nCur40MhzPrimeSC) << 5; in rtl8723a_ack_preamble() 805 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_set_ac_param_be() local 807 pHalData->AcParam_BE = be; in rtl8723a_set_ac_param_be() 823 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_set_initial_gain() local 824 struct dig_t *pDigTable = &pHalData->odmpriv.DM_DigTable; in rtl8723a_set_initial_gain() 827 ODM_Write_DIG23a(&pHalData->odmpriv, pDigTable->BackupIGValue); in rtl8723a_set_initial_gain() 830 ODM_Write_DIG23a(&pHalData->odmpriv, rx_gain); in rtl8723a_set_initial_gain() [all …]
|
D | odm.c | 169 static void odm_CommonInfoSelfUpdate(struct hal_data_8723a *pHalData); 268 struct hal_data_8723a *pHalData = GET_HAL_DATA(adapter); in ODM_DMWatchdog23a() local 269 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in ODM_DMWatchdog23a() 274 odm_CommonInfoSelfUpdate(pHalData); in ODM_DMWatchdog23a() 443 static void odm_CommonInfoSelfUpdate(struct hal_data_8723a *pHalData) in odm_CommonInfoSelfUpdate() argument 445 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in odm_CommonInfoSelfUpdate() 450 if (pHalData->CurrentChannelBW == HT_CHANNEL_WIDTH_40) { in odm_CommonInfoSelfUpdate() 451 if (pHalData->nCur40MhzPrimeSC == 1) in odm_CommonInfoSelfUpdate() 452 pDM_Odm->ControlChannel = pHalData->CurrentChannel - 2; in odm_CommonInfoSelfUpdate() 453 else if (pHalData->nCur40MhzPrimeSC == 2) in odm_CommonInfoSelfUpdate() [all …]
|
D | usb_ops_linux.c | 195 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in InterruptRecognized8723AU() local 199 memcpy(&pHalData->IntArray[0], &buffer[USB_INTR_CONTENT_HISR_OFFSET], in InterruptRecognized8723AU() 201 pHalData->IntArray[0] &= pHalData->IntrMask[0]; in InterruptRecognized8723AU() 204 memcpy(&pHalData->IntArray[1], in InterruptRecognized8723AU() 206 pHalData->IntArray[1] &= pHalData->IntrMask[1]; in InterruptRecognized8723AU() 213 return (pHalData->IntArray[0] & pHalData->IntrMask[0]) != 0 || in InterruptRecognized8723AU() 214 (pHalData->IntArray[1] & pHalData->IntrMask[1]) != 0; in InterruptRecognized8723AU()
|
D | rtl8723a_sreset.c | 23 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_sreset_xmit_status_check() local 24 struct sreset_priv *psrtpriv = &pHalData->srestpriv; in rtl8723a_sreset_xmit_status_check()
|
D | rtl8723au_recv.c | 186 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in update_recvframe_phyinfo() local 249 ODM_PhyStatusQuery23a(&pHalData->odmpriv, pPHYInfo, in update_recvframe_phyinfo()
|
D | rtl8723au_xmit.c | 151 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in update_txdesc() local 152 struct dm_priv *pdmpriv = &pHalData->dmpriv; in update_txdesc()
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_hal_init.c | 116 struct hal_data_8188e *pHalData = GET_HAL_DATA(padapter); in rtl8188e_InitializeFirmwareVars() local 122 pHalData->LastHMEBoxNum = 0; in rtl8188e_InitializeFirmwareVars() 135 struct hal_data_8188e *pHalData; in ReadChipVersion8188E() local 137 pHalData = GET_HAL_DATA(padapter); in ReadChipVersion8188E() 148 pHalData->RegulatorMode = ((value32 & TRP_BT_EN) ? RT_LDO_REGULATOR : RT_SWITCHING_REGULATOR); in ReadChipVersion8188E() 154 pHalData->VersionID = ChipVersion; in ReadChipVersion8188E() 157 pHalData->rf_type = RF_1T2R; in ReadChipVersion8188E() 158 pHalData->NumTotalRFPath = 2; in ReadChipVersion8188E() 160 pHalData->rf_type = RF_2T2R; in ReadChipVersion8188E() 161 pHalData->NumTotalRFPath = 2; in ReadChipVersion8188E() [all …]
|
D | rtl8188eu_led.c | 48 struct hal_data_8188e *pHalData = GET_HAL_DATA(padapter); in SwLedOff() local 55 if (pHalData->bLedOpenDrain) { in SwLedOff()
|
D | odm.c | 1113 struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter); in odm_DynamicTxPowerInit() local 1114 struct dm_priv *pdmpriv = &pHalData->dmpriv; in odm_DynamicTxPowerInit() 1139 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in FindMinimumRSSI() local 1140 struct dm_priv *pdmpriv = &pHalData->dmpriv; in FindMinimumRSSI() 1156 struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter); in odm_RSSIMonitorCheckCE() local 1157 struct dm_priv *pdmpriv = &pHalData->dmpriv; in odm_RSSIMonitorCheckCE() 1186 if (pHalData->fw_ractrl) { in odm_RSSIMonitorCheckCE() 1190 &(pHalData->odmpriv), (PWDB_rssi[i]&0xFF), (u8)((PWDB_rssi[i]>>16) & 0xFF)); in odm_RSSIMonitorCheckCE() 1206 ODM_CmnInfoUpdate(&pHalData->odmpriv , ODM_CMNINFO_RSSI_MIN, pdmpriv->MinUndecoratedPWDBForDM); in odm_RSSIMonitorCheckCE() 1316 struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter); in odm_EdcaTurboCheckCE() local [all …]
|
D | rtl8188e_rxdesc.c | 148 struct hal_data_8188e *pHalData = GET_HAL_DATA(padapter); in update_recvframe_phyinfo_88e() local 189 ODM_PhyStatusQuery(&pHalData->odmpriv, pPHYInfo, (u8 *)pphy_status, &(pkt_info)); in update_recvframe_phyinfo_88e()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_sreset.c | 26 struct hal_data_8188e *pHalData = GET_HAL_DATA(padapter); in sreset_init_value() local 27 struct sreset_priv *psrtpriv = &pHalData->srestpriv; in sreset_init_value() 34 struct hal_data_8188e *pHalData = GET_HAL_DATA(padapter); in sreset_get_wifi_status() local 35 struct sreset_priv *psrtpriv = &pHalData->srestpriv; in sreset_get_wifi_status() 62 struct hal_data_8188e *pHalData = GET_HAL_DATA(padapter); in sreset_set_wifi_error_status() local 63 pHalData->srestpriv.Wifi_Error_Status = status; in sreset_set_wifi_error_status()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_sreset.c | 21 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtw_sreset_init() local 22 struct sreset_priv *psrtpriv = &pHalData->srestpriv; in rtw_sreset_init() 32 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtw_sreset_reset_value() local 33 struct sreset_priv *psrtpriv = &pHalData->srestpriv; in rtw_sreset_reset_value() 43 struct hal_data_8723a *pHalData = GET_HAL_DATA(primary_adapter); in rtw_sreset_inprogress() local 45 return pHalData->srestpriv.silent_reset_inprogress; in rtw_sreset_inprogress() 192 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtw_sreset_reset() local 193 struct sreset_priv *psrtpriv = &pHalData->srestpriv; in rtw_sreset_reset()
|
/drivers/staging/rtl8723au/include/ |
D | rtl8723a_spec.h | 729 #define SUPPORT_HW_RADIO_DETECT(pHalData) \ argument 730 (pHalData->BoardType == BOARD_MINICARD || \ 731 pHalData->BoardType == BOARD_USB_SOLO || \ 732 pHalData->BoardType == BOARD_USB_COMBO)
|
D | odm.h | 965 u32 ODM_Get_Rate_Bitmap23a(struct hal_data_8723a *pHalData, u32 macid, u32 ra_mask, u8 rssi_level);
|
/drivers/staging/rtl8192u/ |
D | r819xU_phy.c | 1172 pHalData->eRFPowerState = eRFPowerState; in rtl8192_SetRFPowerState() 1173 switch (pHalData->RFChipID) { in rtl8192_SetRFPowerState() 1175 switch (pHalData->eRFPowerState) { in rtl8192_SetRFPowerState() 1636 PHY_SetRF8225Bandwidth(Adapter, pHalData->CurrentChannelBW); in rtl8192_SetBWModeWorkItem()
|
D | r8192U_core.c | 2108 …ActUpdateChannelAccessSetting(pAdapter, pHalData->CurrentWirelessMode, &pAdapter->MgntInfo.Info818… in rtl8192_SetWirelessMode() 2182 pHalData->ShortRetryLimit = 7; in rtl8192_init_priv_variable() 2183 pHalData->LongRetryLimit = 7; in rtl8192_init_priv_variable() 2197 pHalData->ReceiveConfig = pHalData->CSMethod | in rtl8192_init_priv_variable() 2204 (pHalData->EarlyRxThreshold<<RCR_FIFO_OFFSET) | // Rx FIFO Threshold, 7: No Rx threshold. in rtl8192_init_priv_variable() 2205 (pHalData->EarlyRxThreshold == 7 ? RCR_OnlyErlPkt : 0); in rtl8192_init_priv_variable() 2768 for (eRFPath = 0; eRFPath < pHalData->NumTotalRFPath; eRFPath++) in rtl8192_adapter_start() 2774 pHalData->eRFPowerState = eRfOn; in rtl8192_adapter_start() 2779 if (pHalData->eRFPowerState == eRfOff) { in rtl8192_adapter_start() 2782 for (eRFPath = 0; eRFPath < pHalData->NumTotalRFPath; eRFPath++) in rtl8192_adapter_start()
|
D | r8192U_dm.c | 3527 SetTxPowerLevel8190(Adapter,pHalData->CurrentChannel); in dm_dynamic_txpower()
|