Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/hal/
Dbb_cfg.c513 struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter); in store_pwrindex_offset() local
516 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt][0] = data; in store_pwrindex_offset()
518 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt][1] = data; in store_pwrindex_offset()
520 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt][6] = data; in store_pwrindex_offset()
522 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt][7] = data; in store_pwrindex_offset()
524 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt][2] = data; in store_pwrindex_offset()
526 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt][3] = data; in store_pwrindex_offset()
528 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt][4] = data; in store_pwrindex_offset()
530 hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt][5] = data; in store_pwrindex_offset()
531 if (hal_data->rf_type == RF_1T1R) in store_pwrindex_offset()
[all …]
Drf.c29 struct hal_data_8188e *hal_data = GET_HAL_DATA(adapt); in rtl88eu_phy_rf6052_set_bandwidth() local
33 hal_data->RfRegChnlVal[0] = ((hal_data->RfRegChnlVal[0] & in rtl88eu_phy_rf6052_set_bandwidth()
36 hal_data->RfRegChnlVal[0]); in rtl88eu_phy_rf6052_set_bandwidth()
39 hal_data->RfRegChnlVal[0] = ((hal_data->RfRegChnlVal[0] & in rtl88eu_phy_rf6052_set_bandwidth()
42 hal_data->RfRegChnlVal[0]); in rtl88eu_phy_rf6052_set_bandwidth()
51 struct hal_data_8188e *hal_data = GET_HAL_DATA(adapt); in rtl88eu_phy_rf6052_set_cck_txpower() local
52 struct dm_priv *pdmpriv = &hal_data->dmpriv; in rtl88eu_phy_rf6052_set_cck_txpower()
68 if (tx_agc[idx1] > 0x20 && hal_data->ExternalPA) in rtl88eu_phy_rf6052_set_cck_txpower()
85 if (hal_data->EEPROMRegulatory == 0) { in rtl88eu_phy_rf6052_set_cck_txpower()
86 tmpval = hal_data->MCSTxPowerLevelOriginalOffset[0][6] + in rtl88eu_phy_rf6052_set_cck_txpower()
[all …]
Drtl8188e_dm.c50 struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter); in Init_ODM_ComInfo_88E() local
51 struct dm_priv *pdmpriv = &hal_data->dmpriv; in Init_ODM_ComInfo_88E()
52 struct odm_dm_struct *dm_odm = &(hal_data->odmpriv); in Init_ODM_ComInfo_88E()
70 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_MP_TEST_CHIP, IS_NORMAL_CHIP(hal_data->VersionID)); in Init_ODM_ComInfo_88E()
72 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_PATCH_ID, hal_data->CustomerID); in Init_ODM_ComInfo_88E()
76 if (hal_data->rf_type == RF_1T1R) in Init_ODM_ComInfo_88E()
78 else if (hal_data->rf_type == RF_2T2R) in Init_ODM_ComInfo_88E()
80 else if (hal_data->rf_type == RF_1T2R) in Init_ODM_ComInfo_88E()
83 ODM_CmnInfoInit(dm_odm, ODM_CMNINFO_RF_ANTENNA_TYPE, hal_data->TRxAntDivType); in Init_ODM_ComInfo_88E()
96 struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter); in Update_ODM_ComInfo_88E() local
[all …]
Dphy.c73 struct hal_data_8188e *hal_data = GET_HAL_DATA(adapt); in rf_serial_read() local
74 struct bb_reg_def *phyreg = &hal_data->PHYRegDef[rfpath]; in rf_serial_read()
120 struct hal_data_8188e *hal_data = GET_HAL_DATA(adapt); in rf_serial_write() local
121 struct bb_reg_def *phyreg = &hal_data->PHYRegDef[rfpath]; in rf_serial_write()
158 struct hal_data_8188e *hal_data = GET_HAL_DATA(adapt); in get_tx_power_index() local
162 if ((RF_1T2R == hal_data->rf_type) || (RF_1T1R == hal_data->rf_type)) in get_tx_power_index()
169 cck_pwr[TxCount] = hal_data->Index24G_CCK_Base[TxCount][index]; in get_tx_power_index()
170 ofdm_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index]+ in get_tx_power_index()
171 hal_data->OFDM_24G_Diff[TxCount][RF_PATH_A]; in get_tx_power_index()
173 bw20_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index]+ in get_tx_power_index()
[all …]
Drf_cfg.c236 struct hal_data_8188e *hal_data = GET_HAL_DATA(adapt); in rf6052_conf_para() local
242 for (rfpath = 0; rfpath < hal_data->NumTotalRFPath; rfpath++) { in rf6052_conf_para()
243 pphyreg = &hal_data->PHYRegDef[rfpath]; in rf6052_conf_para()
307 struct hal_data_8188e *hal_data = GET_HAL_DATA(adapt); in rtl88e_phy_rf6052_config() local
309 if (hal_data->rf_type == RF_1T1R) in rtl88e_phy_rf6052_config()
310 hal_data->NumTotalRFPath = 1; in rtl88e_phy_rf6052_config()
312 hal_data->NumTotalRFPath = 2; in rtl88e_phy_rf6052_config()