Home
last modified time | relevance | path

Searched refs:hal_data (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drf.c17 struct hal_data_8188e *hal_data = adapt->HalData; in rtl88eu_phy_rf6052_set_bandwidth() local
21 hal_data->RfRegChnlVal[0] = ((hal_data->RfRegChnlVal[0] & in rtl88eu_phy_rf6052_set_bandwidth()
24 hal_data->RfRegChnlVal[0]); in rtl88eu_phy_rf6052_set_bandwidth()
27 hal_data->RfRegChnlVal[0] = ((hal_data->RfRegChnlVal[0] & in rtl88eu_phy_rf6052_set_bandwidth()
30 hal_data->RfRegChnlVal[0]); in rtl88eu_phy_rf6052_set_bandwidth()
39 struct hal_data_8188e *hal_data = adapt->HalData; in rtl88eu_phy_rf6052_set_cck_txpower() local
40 struct dm_priv *pdmpriv = &hal_data->dmpriv; in rtl88eu_phy_rf6052_set_cck_txpower()
70 if (hal_data->EEPROMRegulatory == 0) { in rtl88eu_phy_rf6052_set_cck_txpower()
71 tmpval = hal_data->MCSTxPowerLevelOriginalOffset[0][6] + in rtl88eu_phy_rf6052_set_cck_txpower()
72 (hal_data->MCSTxPowerLevelOriginalOffset[0][7] << 8); in rtl88eu_phy_rf6052_set_cck_txpower()
[all …]
Drtl8188e_dm.c34 struct hal_data_8188e *hal_data = Adapter->HalData; in Init_ODM_ComInfo_88E() local
35 struct dm_priv *pdmpriv = &hal_data->dmpriv; in Init_ODM_ComInfo_88E()
36 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; in Init_ODM_ComInfo_88E()
45 dm_odm->bIsMPChip = hal_data->VersionID.ChipType == NORMAL_CHIP; in Init_ODM_ComInfo_88E()
46 dm_odm->PatchID = hal_data->CustomerID; in Init_ODM_ComInfo_88E()
49 dm_odm->AntDivType = hal_data->TRxAntDivType; in Init_ODM_ComInfo_88E()
70 struct hal_data_8188e *hal_data = Adapter->HalData; in Update_ODM_ComInfo_88E() local
71 struct odm_dm_struct *dm_odm = &hal_data->odmpriv; in Update_ODM_ComInfo_88E()
72 struct dm_priv *pdmpriv = &hal_data->dmpriv; in Update_ODM_ComInfo_88E()
85 if (hal_data->AntDivCfg) in Update_ODM_ComInfo_88E()
[all …]
Dphy.c136 struct hal_data_8188e *hal_data = adapt->HalData; in get_tx_power_index() local
144 cck_pwr[TxCount] = hal_data->Index24G_CCK_Base[TxCount][index]; in get_tx_power_index()
145 ofdm_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index] + in get_tx_power_index()
146 hal_data->OFDM_24G_Diff[TxCount][RF_PATH_A]; in get_tx_power_index()
148 bw20_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index] + in get_tx_power_index()
149 hal_data->BW20_24G_Diff[TxCount][RF_PATH_A]; in get_tx_power_index()
150 bw40_pwr[TxCount] = hal_data->Index24G_BW40_Base[TxCount][index]; in get_tx_power_index()
152 cck_pwr[TxCount] = hal_data->Index24G_CCK_Base[TxCount][index]; in get_tx_power_index()
153 ofdm_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index] + in get_tx_power_index()
154 hal_data->BW20_24G_Diff[RF_PATH_A][index] + in get_tx_power_index()
[all …]
Dbb_cfg.c493 struct hal_data_8188e *hal_data = adapter->HalData; in store_pwrindex_offset() local
495 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt]; in store_pwrindex_offset()
513 hal_data->pwrGroupCnt++; in store_pwrindex_offset()
Drf_cfg.c222 struct hal_data_8188e *hal_data = adapt->HalData; in rtl88eu_phy_rf_config() local
227 pphyreg = &hal_data->PHYRegDef[RF90_PATH_A]; in rtl88eu_phy_rf_config()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Dhal_com.c1007 struct hal_com_data *hal_data = GET_HAL_DATA(adapter); in SetHwReg() local
1008 DM_ODM_T *odm = &(hal_data->odmpriv); in SetHwReg()
1054 struct dm_priv *dm = &hal_data->dmpriv; in SetHwReg()
1087 struct hal_com_data *hal_data = GET_HAL_DATA(adapter); in GetHwReg() local
1088 DM_ODM_T *odm = &(hal_data->odmpriv); in GetHwReg()
1092 *((u16 *)val) = hal_data->BasicRateSet; in GetHwReg()
1098 *((u8 *)val) = hal_data->rf_type; in GetHwReg()
1118 struct hal_com_data *hal_data = GET_HAL_DATA(adapter); in SetHalDefVar() local
1119 DM_ODM_T *odm = &(hal_data->odmpriv); in SetHalDefVar()
1153 struct dm_priv *dm = &hal_data->dmpriv; in SetHalDefVar()
[all …]
Dhal_com_phycfg.c1685 struct hal_com_data *hal_data = GET_HAL_DATA(adapter); in phy_get_tx_pwr_lmt() local
1688 (hal_data->EEPROMRegulatory != 1)) || in phy_get_tx_pwr_lmt()
1707 hal_data->Regulation2_4G : in phy_get_tx_pwr_lmt()
1708 hal_data->Regulation5G; in phy_get_tx_pwr_lmt()
1752 limits[i] = hal_data->TxPwrLimit_2_4G[i] in phy_get_tx_pwr_lmt()
1760 hal_data->TxPwrLimit_2_4G[idx_regulation] in phy_get_tx_pwr_lmt()
1770 limits[i] = hal_data->TxPwrLimit_5G[i] in phy_get_tx_pwr_lmt()
1778 hal_data->TxPwrLimit_5G[idx_regulation] in phy_get_tx_pwr_lmt()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_odm.c188 struct hal_com_data *hal_data = GET_HAL_DATA(adapter); in rtw_odm_get_perpkt_rssi() local
189 DM_ODM_T *odm = &hal_data->odmpriv; in rtw_odm_get_perpkt_rssi()