/drivers/staging/rtl8723au/hal/ |
D | rtl8723a_phycfg.c | 164 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in phy_RFSerialRead() local 165 struct bb_reg_define *pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RFSerialRead() 284 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in phy_RFSerialWrite() local 285 struct bb_reg_define *pPhyReg = &pHalData->PHYRegDef[eRFPath]; in phy_RFSerialWrite() 415 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in PHY_MACConfig8723A() local 420 ODM_ReadAndConfig_MAC_REG_8723A(&pHalData->odmpriv); in PHY_MACConfig8723A() 424 if (pHalData->rf_type == RF_2T2R && in PHY_MACConfig8723A() 425 BOARD_USB_DONGLE == pHalData->BoardType) in PHY_MACConfig8723A() 447 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in phy_InitBBRFRegisterDefinition() local 451 pHalData->PHYRegDef[RF_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in phy_InitBBRFRegisterDefinition() [all …]
|
D | rtl8723a_rf6052.c | 62 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in rtl8723a_phy_rf6052set_bw() local 66 pHalData->RfRegChnlVal[0] = in rtl8723a_phy_rf6052set_bw() 67 (pHalData->RfRegChnlVal[0] & 0xfffff3ff) | 0x0400; in rtl8723a_phy_rf6052set_bw() 69 pHalData->RfRegChnlVal[0]); in rtl8723a_phy_rf6052set_bw() 72 pHalData->RfRegChnlVal[0] = in rtl8723a_phy_rf6052set_bw() 73 (pHalData->RfRegChnlVal[0] & 0xfffff3ff); in rtl8723a_phy_rf6052set_bw() 75 pHalData->RfRegChnlVal[0]); in rtl8723a_phy_rf6052set_bw() 102 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in rtl823a_phy_rf6052setccktxpower() local 103 struct dm_priv *pdmpriv = &pHalData->dmpriv; in rtl823a_phy_rf6052setccktxpower() 122 if (TxAGC[idx1] > 0x20 && pHalData->ExternalPA) in rtl823a_phy_rf6052setccktxpower() [all …]
|
D | rtl8723a_hal_init.c | 154 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_FirmwareSelfReset() local 159 ((pHalData->FirmwareVersion < 0x21) || in rtl8723a_FirmwareSelfReset() 160 (pHalData->FirmwareVersion == 0x21 && in rtl8723a_FirmwareSelfReset() 161 pHalData->FirmwareSubVersion < 0x01)))) { in rtl8723a_FirmwareSelfReset() 197 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_FirmwareDownload() local 210 if (IS_8723A_A_CUT(pHalData->VersionID)) { in rtl8723a_FirmwareDownload() 214 } else if (IS_8723A_B_CUT(pHalData->VersionID)) { in rtl8723a_FirmwareDownload() 263 pHalData->FirmwareVersion = le16_to_cpu(pFwHdr->Version); in rtl8723a_FirmwareDownload() 264 pHalData->FirmwareSubVersion = pFwHdr->Subversion; in rtl8723a_FirmwareDownload() 265 pHalData->FirmwareSignature = le16_to_cpu(pFwHdr->Signature); in rtl8723a_FirmwareDownload() [all …]
|
D | usb_halinit.c | 35 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in _ConfigChipOutEP() local 37 pHalData->OutEpQueueSel = 0; in _ConfigChipOutEP() 38 pHalData->OutEpNumber = 0; in _ConfigChipOutEP() 44 pHalData->OutEpQueueSel |= TX_SELE_HQ; in _ConfigChipOutEP() 45 pHalData->OutEpNumber++; in _ConfigChipOutEP() 49 pHalData->OutEpQueueSel |= TX_SELE_NQ; in _ConfigChipOutEP() 50 pHalData->OutEpNumber++; in _ConfigChipOutEP() 56 pHalData->OutEpQueueSel |= TX_SELE_LQ; in _ConfigChipOutEP() 57 pHalData->OutEpNumber++; in _ConfigChipOutEP() 68 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723au_chip_configure() 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() 100 if (IS_8723A_A_CUT(pHalData->VersionID)) { in rtl8723a_init_dm_priv() 103 } else if (IS_8723A_B_CUT(pHalData->VersionID)) { in rtl8723a_init_dm_priv() 112 ODM_CmnInfoInit23a(pDM_Odm, ODM_CMNINFO_MP_TEST_CHIP, IS_NORMAL_CHIP(pHalData->VersionID)); in rtl8723a_init_dm_priv() 114 ODM_CmnInfoInit23a(pDM_Odm, ODM_CMNINFO_BOARD_TYPE, pHalData->BoardType); in rtl8723a_init_dm_priv() 116 if (pHalData->BoardType == BOARD_USB_High_PA) { in rtl8723a_init_dm_priv() 125 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in Update_ODM_ComInfo_8723a() local 126 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in Update_ODM_ComInfo_8723a() [all …]
|
D | rtl8723a_bt-coexist.c | 5173 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in btdm_SetFwIgnoreWlanAct() local 5179 pHalData->bt_coexist.bFWCoexistAllOff = false; in btdm_SetFwIgnoreWlanAct() 5237 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in btdm_Is1AntPsTdmaStateChange() local 5238 struct btdm_8723a_1ant *pBtdm8723 = &pHalData->bt_coexist.halCoex8723.btdm1Ant; in btdm_Is1AntPsTdmaStateChange() 5255 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in btdm_1AntPsTdma() local 5256 struct btdm_8723a_1ant *pBtdm8723 = &pHalData->bt_coexist.halCoex8723.btdm1Ant; in btdm_1AntPsTdma() 5404 struct hal_data_8723a *pHalData; in _btdm_1AntSetPSTDMA() local 5422 pHalData = GET_HAL_DATA(padapter); in _btdm_1AntSetPSTDMA() 5423 pBtdm8723 = &pHalData->bt_coexist.halCoex8723.btdm1Ant; in _btdm_1AntSetPSTDMA() 5472 (pHalData->bt_coexist.halCoex8723.c2hBtInfo == BT_INFO_STATE_NO_CONNECTION) || in _btdm_1AntSetPSTDMA() [all …]
|
D | rtl8723a_cmd.c | 58 struct hal_data_8723a *pHalData; 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() 144 struct hal_data_8723a *pHalData = GET_HAL_DATA(pAdapter); in rtl8723a_add_rateatid() local 150 bitmap = ODM_Get_Rate_Bitmap23a(pHalData, macid, bitmap, in rtl8723a_add_rateatid() 162 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_set_FwPwrMode_cmd() local 171 if (Mode != PS_MODE_ACTIVE && pHalData->rf_type != RF_2T2R) in rtl8723a_set_FwPwrMode_cmd() 172 ODM_RF_Saving23a(&pHalData->odmpriv, true); in rtl8723a_set_FwPwrMode_cmd() 431 struct hal_data_8723a *pHalData; in SetFwRsvdPagePkt() local [all …]
|
D | HalDMOutSrc8723A_CE.c | 29 struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); in odm_TXPowerTrackingCallback_ThermalMeter_92C() local 30 struct dm_priv *pdmpriv = &pHalData->dmpriv; in odm_TXPowerTrackingCallback_ThermalMeter_92C() 50 if (pHalData->CurrentChannel == 14 && !pdmpriv->bCCKinCH14) in odm_TXPowerTrackingCallback_ThermalMeter_92C() 52 else if (pHalData->CurrentChannel != 14 && pdmpriv->bCCKinCH14) in odm_TXPowerTrackingCallback_ThermalMeter_92C() 59 pHalData->EEPROMThermalMeter)); in odm_TXPowerTrackingCallback_ThermalMeter_92C() 61 if (pHalData->rf_type == RF_2T2R) in odm_TXPowerTrackingCallback_ThermalMeter_92C() 79 if (pHalData->rf_type == RF_2T2R) { in odm_TXPowerTrackingCallback_ThermalMeter_92C() 110 pdmpriv->ThermalValue = pHalData->EEPROMThermalMeter; in odm_TXPowerTrackingCallback_ThermalMeter_92C() 113 pdmpriv->ThermalValue_DPK = pHalData->EEPROMThermalMeter; in odm_TXPowerTrackingCallback_ThermalMeter_92C() 123 if (pHalData->BoardType == BOARD_USB_High_PA) { in odm_TXPowerTrackingCallback_ThermalMeter_92C() [all …]
|
D | hal_com.c | 118 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in HalSetBrateCfg23a() local 181 pHalData->BasicRateSet = brate_cfg; in HalSetBrateCfg23a() 582 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_ack_preamble() local 587 regTmp = (pHalData->nCur40MhzPrimeSC) << 5; in rtl8723a_ack_preamble() 751 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_set_ac_param_be() local 753 pHalData->AcParam_BE = be; in rtl8723a_set_ac_param_be() 769 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in rtl8723a_set_initial_gain() local 770 struct dig_t *pDigTable = &pHalData->odmpriv.DM_DigTable; in rtl8723a_set_initial_gain() 773 ODM_Write_DIG23a(&pHalData->odmpriv, pDigTable->BackupIGValue); in rtl8723a_set_initial_gain() 776 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); 244 struct hal_data_8723a *pHalData = GET_HAL_DATA(adapter); in ODM_DMWatchdog23a() local 245 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in ODM_DMWatchdog23a() 250 odm_CommonInfoSelfUpdate(pHalData); in ODM_DMWatchdog23a() 398 static void odm_CommonInfoSelfUpdate(struct hal_data_8723a *pHalData) in odm_CommonInfoSelfUpdate() argument 400 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in odm_CommonInfoSelfUpdate() 544 struct hal_data_8723a *pHalData = GET_HAL_DATA(adapter); in odm_DIG23a() local 545 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in odm_DIG23a() 1034 u32 ODM_Get_Rate_Bitmap23a(struct hal_data_8723a *pHalData, u32 macid, in ODM_Get_Rate_Bitmap23a() argument 1037 struct dm_odm_t *pDM_Odm = &pHalData->odmpriv; in ODM_Get_Rate_Bitmap23a() [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 | 139 struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); in update_txdesc() local 140 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() 146 pHalData->VersionID = ChipVersion; in ReadChipVersion8188E() 147 pHalData->rf_type = RF_1T1R; in ReadChipVersion8188E() 148 pHalData->NumTotalRFPath = 1; in ReadChipVersion8188E() 150 MSG_88E("RF_Type is %x!!\n", pHalData->rf_type); in ReadChipVersion8188E() 155 struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter); in rtl8188e_SetHalODMVar() local 156 struct odm_dm_struct *podmpriv = &pHalData->odmpriv; in rtl8188e_SetHalODMVar() [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 | 1108 struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter); in odm_DynamicTxPowerInit() local 1109 struct dm_priv *pdmpriv = &pHalData->dmpriv; in odm_DynamicTxPowerInit() 1134 struct hal_data_8188e *pHalData = GET_HAL_DATA(pAdapter); in FindMinimumRSSI() local 1135 struct dm_priv *pdmpriv = &pHalData->dmpriv; in FindMinimumRSSI() 1144 struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter); in odm_RSSIMonitorCheckCE() local 1145 struct dm_priv *pdmpriv = &pHalData->dmpriv; in odm_RSSIMonitorCheckCE() 1174 ODM_RA_SetRSSI_8188E(&pHalData->odmpriv, in odm_RSSIMonitorCheckCE() 1191 ODM_CmnInfoUpdate(&pHalData->odmpriv, ODM_CMNINFO_RSSI_MIN, in odm_RSSIMonitorCheckCE() 1302 struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter); in odm_EdcaTurboCheckCE() local 1356 usb_write32(Adapter, REG_EDCA_BE_PARAM, pHalData->AcParam_BE); in odm_EdcaTurboCheckCE()
|
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 | 839 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 | 1170 pHalData->eRFPowerState = eRFPowerState; in rtl8192_SetRFPowerState() 1171 switch (pHalData->RFChipID) { in rtl8192_SetRFPowerState() 1173 switch (pHalData->eRFPowerState) { in rtl8192_SetRFPowerState() 1633 PHY_SetRF8225Bandwidth(Adapter, pHalData->CurrentChannelBW); in rtl8192_SetBWModeWorkItem()
|
D | r8192U_core.c | 2211 pAdapter, pHalData->CurrentWirelessMode, in rtl8192_SetWirelessMode() 2291 pHalData->ShortRetryLimit = 7; in rtl8192_init_priv_variable() 2292 pHalData->LongRetryLimit = 7; in rtl8192_init_priv_variable() 2312 pHalData->ReceiveConfig = in rtl8192_init_priv_variable() 2313 pHalData->CSMethod | in rtl8192_init_priv_variable() 2333 (pHalData->EarlyRxThreshold << RCR_FIFO_OFFSET) | in rtl8192_init_priv_variable() 2334 (pHalData->EarlyRxThreshold == 7 ? RCR_OnlyErlPkt : 0); in rtl8192_init_priv_variable() 2940 for (eRFPath = 0; eRFPath < pHalData->NumTotalRFPath; eRFPath++) in rtl8192_adapter_start() 2953 pHalData->eRFPowerState = eRfOn; in rtl8192_adapter_start() 2959 if (pHalData->eRFPowerState == eRfOff) { in rtl8192_adapter_start() [all …]
|
D | r8192U_dm.c | 3090 SetTxPowerLevel8190(Adapter, pHalData->CurrentChannel); in dm_dynamic_txpower()
|