Home
last modified time | relevance | path

Searched refs:RF_PATH_A (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/rtl8188eu/hal/
Dbb_cfg.c581 reg[RF_PATH_A] = &adapter->HalData->PHYRegDef[RF_PATH_A]; in rtl88e_phy_init_bb_rf_register_definition()
584 reg[RF_PATH_A]->rfintfs = rFPGA0_XAB_RFInterfaceSW; in rtl88e_phy_init_bb_rf_register_definition()
587 reg[RF_PATH_A]->rfintfi = rFPGA0_XAB_RFInterfaceRB; in rtl88e_phy_init_bb_rf_register_definition()
590 reg[RF_PATH_A]->rfintfo = rFPGA0_XA_RFInterfaceOE; in rtl88e_phy_init_bb_rf_register_definition()
593 reg[RF_PATH_A]->rfintfe = rFPGA0_XA_RFInterfaceOE; in rtl88e_phy_init_bb_rf_register_definition()
596 reg[RF_PATH_A]->rf3wireOffset = rFPGA0_XA_LSSIParameter; in rtl88e_phy_init_bb_rf_register_definition()
599 reg[RF_PATH_A]->rfLSSI_Select = rFPGA0_XAB_RFParameter; in rtl88e_phy_init_bb_rf_register_definition()
602 reg[RF_PATH_A]->rfTxGainStage = rFPGA0_TxGainStage; in rtl88e_phy_init_bb_rf_register_definition()
605 reg[RF_PATH_A]->rfHSSIPara1 = rFPGA0_XA_HSSIParameter1; in rtl88e_phy_init_bb_rf_register_definition()
608 reg[RF_PATH_A]->rfHSSIPara2 = rFPGA0_XA_HSSIParameter2; in rtl88e_phy_init_bb_rf_register_definition()
[all …]
Drf.c23 phy_set_rf_reg(adapt, RF_PATH_A, RF_CHNLBW, bRFRegOffsetMask, in rtl88eu_phy_rf6052_set_bandwidth()
29 phy_set_rf_reg(adapt, RF_PATH_A, RF_CHNLBW, bRFRegOffsetMask, in rtl88eu_phy_rf6052_set_bandwidth()
48 tx_agc[RF_PATH_A] = 0x3f3f3f3f; in rtl88eu_phy_rf6052_set_cck_txpower()
50 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl88eu_phy_rf6052_set_cck_txpower()
58 tx_agc[RF_PATH_A] = 0x10101010; in rtl88eu_phy_rf6052_set_cck_txpower()
61 tx_agc[RF_PATH_A] = 0x00000000; in rtl88eu_phy_rf6052_set_cck_txpower()
64 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl88eu_phy_rf6052_set_cck_txpower()
73 tx_agc[RF_PATH_A] += tmpval; in rtl88eu_phy_rf6052_set_cck_txpower()
81 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl88eu_phy_rf6052_set_cck_txpower()
103 tmpval = tx_agc[RF_PATH_A] & 0xff; in rtl88eu_phy_rf6052_set_cck_txpower()
[all …]
Dphy.c64 if (rfpath == RF_PATH_A) in rf_serial_read()
82 if (rfpath == RF_PATH_A) in rf_serial_read()
143 if (TxCount == RF_PATH_A) { 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()
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()
157 bw20_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index] + in get_tx_power_index()
[all …]
Dodm_hwconfig.c82 pPhyInfo->RxMIMOSignalQuality[RF_PATH_A] = -1; in odm_RxPhyStatus92CSeries_Parsing()
166 pPhyInfo->RxMIMOSignalQuality[RF_PATH_A] = SQ; in odm_RxPhyStatus92CSeries_Parsing()
174 for (i = RF_PATH_A; i < RF_PATH_MAX; i++) { in odm_RxPhyStatus92CSeries_Parsing()
228 if (i == RF_PATH_A) /* Fill value in RFD, Get the first spatial stream only */ in odm_RxPhyStatus92CSeries_Parsing()
304 RSSI_Ave = pPhyInfo->RxMIMOSignalStrength[RF_PATH_A]; in odm_Process_RSSIForDM()
306 if (pPhyInfo->RxMIMOSignalStrength[RF_PATH_A] > pPhyInfo->RxMIMOSignalStrength[RF_PATH_B]) { in odm_Process_RSSIForDM()
307 RSSI_max = pPhyInfo->RxMIMOSignalStrength[RF_PATH_A]; in odm_Process_RSSIForDM()
311 RSSI_min = pPhyInfo->RxMIMOSignalStrength[RF_PATH_A]; in odm_Process_RSSIForDM()
Drf_cfg.c179 rtl_rfreg_delay(adapt, RF_PATH_A, addr | maskforphyset, in rtl8188e_config_rf_reg()
Dodm.c964 phy_set_rf_reg(Adapter, RF_PATH_A, RF_T_METER_88E, BIT(17) | BIT(16), 0x03); in ODM_TXPowerTrackingCheck()
/drivers/net/wireless/realtek/rtw88/
Drtw8723d.c79 lc_cal = rtw_read_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK); in rtw8723d_lck()
81 rtw_write_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK, lc_cal | BIT_LCK); in rtw8723d_lck()
85 rtwdev, RF_PATH_A, RF_CFGCH, BIT_LCK); in rtw8723d_lck()
89 rtw_write_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK, lc_cal); in rtw8723d_lck()
125 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8723d_pwrtrack_init()
256 pkt_stat->rx_power[RF_PATH_A] = pwdb - 97; in query_phy_status_page0()
259 pkt_stat->signal_power = max(pkt_stat->rx_power[RF_PATH_A], in query_phy_status_page0()
261 dm_info->rssi[RF_PATH_A] = pkt_stat->rssi; in query_phy_status_page0()
284 pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110; in query_phy_status_page1()
287 pkt_stat->signal_power = max(pkt_stat->rx_power[RF_PATH_A], in query_phy_status_page1()
[all …]
Drtw8822c.c46 efuse->thermal_meter[RF_PATH_A] = map->path_a_thermal; in rtw8822c_read_efuse()
213 case RF_PATH_A: in rtw8822c_get_path_write_addr()
232 case RF_PATH_A: in rtw8822c_get_path_read_addr()
340 rf_a = rtw_read_rf(rtwdev, RF_PATH_A, 0x0, RFREG_MASK); in rtw8822c_dac_cal_rf_mode()
379 case RF_PATH_A: in rtw8822c_dac_cal_adc()
398 rtw_write_rf(rtwdev, RF_PATH_A, 0x0, RFREG_MASK, 0x10000); in rtw8822c_dac_cal_adc()
455 if (path == RF_PATH_A) { in rtw8822c_dac_cal_step1()
668 dm_info->dack_dck[RF_PATH_A][0][0] = val; in rtw8822c_dac_cal_backup_dck()
670 dm_info->dack_dck[RF_PATH_A][0][1] = val; in rtw8822c_dac_cal_backup_dck()
672 dm_info->dack_dck[RF_PATH_A][1][0] = val; in rtw8822c_dac_cal_backup_dck()
[all …]
Drtw8821c.c96 ewma_thermal_init(&dm_info->avg_thermal[RF_PATH_A]); in rtw8821c_pwrtrack_init()
97 dm_info->delta_power_index[RF_PATH_A] = 0; in rtw8821c_pwrtrack_init()
98 dm_info->delta_power_index_last[RF_PATH_A] = 0; in rtw8821c_pwrtrack_init()
231 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8821c_set_channel_rf()
260 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTDBG, BIT(6), 0x1); in rtw8821c_set_channel_rf()
261 rtw_write_rf(rtwdev, RF_PATH_A, 0x64, 0xf, 0xf); in rtw8821c_set_channel_rf()
263 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTDBG, BIT(6), 0x0); in rtw8821c_set_channel_rf()
266 rtw_write_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK, rf_reg18); in rtw8821c_set_channel_rf()
268 rtw_write_rf(rtwdev, RF_PATH_A, RF_XTALX2, BIT(19), 0); in rtw8821c_set_channel_rf()
269 rtw_write_rf(rtwdev, RF_PATH_A, RF_XTALX2, BIT(19), 1); in rtw8821c_set_channel_rf()
[all …]
Drtw8822b.c48 efuse->thermal_meter[RF_PATH_A] = map->thermal_meter; in rtw8822b_read_efuse()
116 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8822b_pwrtrack_init()
494 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8822b_set_channel_rf()
532 rtw_write_rf(rtwdev, RF_PATH_A, RF_MALSEL, RFBE_MASK, rf_reg_be); in rtw8822b_set_channel_rf()
536 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTDBG, BIT(18), 0x1); in rtw8822b_set_channel_rf()
538 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTDBG, BIT(18), 0x0); in rtw8822b_set_channel_rf()
540 rtw_write_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK, rf_reg18); in rtw8822b_set_channel_rf()
544 rtw_write_rf(rtwdev, RF_PATH_A, RF_XTALX2, BIT(19), 0); in rtw8822b_set_channel_rf()
545 rtw_write_rf(rtwdev, RF_PATH_A, RF_XTALX2, BIT(19), 1); in rtw8822b_set_channel_rf()
792 rtw_write_rf(rtwdev, RF_PATH_A, RF_LUTWE, RFREG_MASK, 0x80000); in rtw8822b_config_trx_mode()
[all …]
Dphy.c733 rf_sipi_addr_a = &chip->rf_sipi_read_addr[RF_PATH_A]; in rtw_phy_read_rf_sipi()
2053 swing_table->p[RF_PATH_A] = tbl->pwrtrk_2g_ccka_p; in rtw_phy_config_swing_table()
2054 swing_table->n[RF_PATH_A] = tbl->pwrtrk_2g_ccka_n; in rtw_phy_config_swing_table()
2058 swing_table->p[RF_PATH_A] = tbl->pwrtrk_2ga_p; in rtw_phy_config_swing_table()
2059 swing_table->n[RF_PATH_A] = tbl->pwrtrk_2ga_n; in rtw_phy_config_swing_table()
2064 swing_table->p[RF_PATH_A] = tbl->pwrtrk_5ga_p[RTW_PWR_TRK_5G_1]; in rtw_phy_config_swing_table()
2065 swing_table->n[RF_PATH_A] = tbl->pwrtrk_5ga_n[RTW_PWR_TRK_5G_1]; in rtw_phy_config_swing_table()
2069 swing_table->p[RF_PATH_A] = tbl->pwrtrk_5ga_p[RTW_PWR_TRK_5G_2]; in rtw_phy_config_swing_table()
2070 swing_table->n[RF_PATH_A] = tbl->pwrtrk_5ga_n[RTW_PWR_TRK_5G_2]; in rtw_phy_config_swing_table()
2074 swing_table->p[RF_PATH_A] = tbl->pwrtrk_5ga_p[RTW_PWR_TRK_5G_3]; in rtw_phy_config_swing_table()
[all …]
Ddebug.c587 for (path = RF_PATH_A; path <= RF_PATH_B; path++) { in rtw_debugfs_get_tx_pwr_tbl()
701 dm_info->rssi[RF_PATH_A] - 100, in rtw_debugfs_get_phy_info()
704 dm_info->rx_evm_dbm[RF_PATH_A], in rtw_debugfs_get_phy_info()
707 dm_info->rx_snr[RF_PATH_A], in rtw_debugfs_get_phy_info()
710 dm_info->cfo_tail[RF_PATH_A], in rtw_debugfs_get_phy_info()
Dmain.h131 RF_PATH_A = 0, enumerator
Dcoex.c2697 rf_path = RF_PATH_A; in rtw_coex_val_info()
/drivers/staging/rtl8723bs/hal/
Drtl8723b_rf6052.c100 case RF_PATH_A: in phy_RF6052_Config_ParaFile()
127 case RF_PATH_A: in phy_RF6052_Config_ParaFile()
139 case RF_PATH_A: in phy_RF6052_Config_ParaFile()
Drtl8723b_phycfg.c146 if (eRFPath == RF_PATH_A) { in phy_RFSerialRead_8723B()
166 if (eRFPath == RF_PATH_A) in phy_RFSerialRead_8723B()
499 PHY_SetRFReg(Adapter, RF_PATH_A, 0xB0, bRFRegOffsetMask, 0xDFBE0); in phy_LCK_8723B()
500 PHY_SetRFReg(Adapter, RF_PATH_A, RF_CHNLBW, bRFRegOffsetMask, 0x8C01); in phy_LCK_8723B()
502 PHY_SetRFReg(Adapter, RF_PATH_A, 0xB0, bRFRegOffsetMask, 0xDFFE0); in phy_LCK_8723B()
Dhal_com.c1707 res = rtw_hal_read_rfreg(padapter, RF_PATH_A, 0x7f, 0xffffffff); in rtw_bb_rf_gain_offset()
1721 PHY_SetRFReg(padapter, RF_PATH_A, REG_RF_BB_GAIN_OFFSET, BIT18|BIT17|BIT16|BIT15, target); in rtw_bb_rf_gain_offset()
1725 res = rtw_hal_read_rfreg(padapter, RF_PATH_A, 0x7f, 0xffffffff); in rtw_bb_rf_gain_offset()
/drivers/staging/rtl8712/
Drtl871x_mp.c325 u8 path = RF_PATH_A; in r8712_SetDataRate()
379 set_rf_reg(pAdapter, RF_PATH_A, RF_CHNLBW, in r8712_SwitchBandwidth()
383 set_rf_reg(pAdapter, RF_PATH_A, RF_CHNLBW, in r8712_SwitchBandwidth()
483 set_rf_reg(pAdapter, RF_PATH_A, RF_T_METER, bRFRegOffsetMask, 0x60); in TriggerRFThermalMeter()
489 return get_rf_reg(pAdapter, RF_PATH_A, RF_T_METER, 0x1F); in ReadRFThermalMeter()
537 rfPath = RF_PATH_A; in r8712_SetSingleToneTx()
Drtl871x_mp.h137 #define RF_PATH_A 0 macro
/drivers/staging/rtl8188eu/include/
Dhal8188e_phy_cfg.h45 RF_PATH_A = 0, /* Radio Path A */ enumerator
/drivers/staging/rtl8723bs/include/
Dhal_phy.h63 RF_PATH_A = 0, enumerator