/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/ |
D | halrf_powertracking_ce.c | 625 RF_PATH_A); in get_swing_index() 719 cali_info->thermal_value_path[RF_PATH_A] = tssi->thermal[RF_PATH_A]; in odm_txpowertracking_thermal_meter_init() 721 cali_info->thermal_value_iqk = tssi->thermal[RF_PATH_A]; in odm_txpowertracking_thermal_meter_init() 722 cali_info->thermal_value_lck = tssi->thermal[RF_PATH_A]; in odm_txpowertracking_thermal_meter_init() 726 cali_info->thermal_value_path[RF_PATH_A] = tssi->thermal[RF_PATH_A]; in odm_txpowertracking_thermal_meter_init() 730 cali_info->thermal_value_iqk = tssi->thermal[RF_PATH_A]; in odm_txpowertracking_thermal_meter_init() 731 cali_info->thermal_value_lck = tssi->thermal[RF_PATH_A]; in odm_txpowertracking_thermal_meter_init() 779 for (p = RF_PATH_A; p < MAX_RF_PATH; ++p) { in odm_txpowertracking_thermal_meter_init() 850 odm_set_rf_reg(dm, RF_PATH_A, RF_T_METER_NEW, in odm_txpowertracking_check_ce() 853 odm_set_rf_reg(dm, RF_PATH_A, R_0x42, BIT(19), 0x01); in odm_txpowertracking_check_ce() [all …]
|
D | halrf_powertracking.c | 85 odm_tx_pwr_track_set_pwr8821a(dm, MIX_MODE, RF_PATH_A, 0); in halrf_update_pwr_track() 88 for (path_idx = RF_PATH_A; path_idx < MAX_PATH_NUM_8812A; path_idx++) { in halrf_update_pwr_track() 95 odm_tx_pwr_track_set_pwr_8723b(dm, MIX_MODE, RF_PATH_A, 0); in halrf_update_pwr_track() 98 for (path_idx = RF_PATH_A; path_idx < MAX_PATH_NUM_8192E; path_idx++) { in halrf_update_pwr_track() 105 odm_tx_pwr_track_set_pwr88_e(dm, MIX_MODE, RF_PATH_A, 0); in halrf_update_pwr_track() 128 odm_tx_pwr_track_set_pwr8821a(dm, MIX_MODE, RF_PATH_A, 0); in halrf_update_init_rate_work_item_callback() 133 for (p = RF_PATH_A; p < MAX_PATH_NUM_8812A; p++) in halrf_update_init_rate_work_item_callback() 138 odm_tx_pwr_track_set_pwr_8723b(dm, MIX_MODE, RF_PATH_A, 0); in halrf_update_init_rate_work_item_callback() 143 for (p = RF_PATH_A; p < MAX_PATH_NUM_8192E; p++) in halrf_update_init_rate_work_item_callback() 148 odm_tx_pwr_track_set_pwr88_e(dm, MIX_MODE, RF_PATH_A, 0); in halrf_update_init_rate_work_item_callback()
|
D | halrf_kfree.c | 443 for (e_rf_path = RF_PATH_A; e_rf_path < 2; e_rf_path++) in phydm_get_pa_bias_offset_8822b() 899 for (i = RF_PATH_A; i < 4; i++) { in phydm_get_pa_bias_offset_8198f() 914 for (i = RF_PATH_A; i < 4; i++) in phydm_get_pa_bias_offset_8198f() 958 for (i = RF_PATH_A; i <= RF_PATH_D; i++) { in phydm_get_set_lna_offset_8198f() 1088 thermal[RF_PATH_A] = in phydm_get_set_thermal_trim_offset_8822c() 1091 odm_set_rf_reg(dm, RF_PATH_A, RF_0x43, 0x000f0000, thermal[RF_PATH_A]); in phydm_get_set_thermal_trim_offset_8822c() 1111 thermal[RF_PATH_A], in phydm_get_set_thermal_trim_offset_8822c() 1121 for (e_rf_path = RF_PATH_A; e_rf_path < 2; e_rf_path++) in phydm_set_power_trim_offset_8822c() 1399 odm_set_rf_reg(dm, RF_PATH_A, 0x60, 0x0000f000, pg_pa_bias); in phydm_get_set_pa_bias_offset_8822c() 1417 odm_set_rf_reg(dm, RF_PATH_A, 0x60, 0x000f0000, pg_pa_bias); in phydm_get_set_pa_bias_offset_8822c() [all …]
|
D | halphyrf_ce.c | 145 for (p = RF_PATH_A; p < MAX_RF_PATH; ++p) { in odm_clear_txpowertracking_state() 215 for (p = RF_PATH_A; p < c.rf_path_count; p++) { in odm_get_tracking_table() 294 for (p = RF_PATH_A; p < c.rf_path_count; p++) { in odm_get_tracking_table() 387 for (p = RF_PATH_A; p < c.rf_path_count; p++) in odm_pwrtrk_method() 400 for (p = RF_PATH_A; p < c.rf_path_count; p++) in odm_pwrtrk_method() 454 cali_info->bb_swing_idx_ofdm_base[RF_PATH_A], 463 (u8)odm_get_rf_reg(dm, RF_PATH_A, c.thermal_reg_addr, 0xfc00); 591 for (p = RF_PATH_A; p < c.rf_path_count; p++) { 652 for (p = RF_PATH_A; p < c.rf_path_count; p++) 662 for (p = RF_PATH_A; p < c.rf_path_count; p++) { [all …]
|
D | halrf_txgapcal.c | 158 for (rf_path = RF_PATH_A; rf_path <= RF_PATH_B; rf_path++) { in odm_tx_gain_gap_calibration_8197f() 159 if (rf_path == RF_PATH_A) in odm_tx_gain_gap_calibration_8197f() 251 if (rf_path == RF_PATH_A) in odm_tx_gain_gap_calibration_8197f() 263 for (rf_path = RF_PATH_A; rf_path <= RF_PATH_B; rf_path++) { in odm_tx_gain_gap_calibration_8197f()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/ |
D | phydm_direct_bf.c | 37 enum rf_path i = RF_PATH_A; in phydm_iq_gen_en() 38 enum rf_path path = RF_PATH_A; in phydm_iq_gen_en() 42 for (i = RF_PATH_A; i <= RF_PATH_B; i++) { in phydm_iq_gen_en() 60 odm_set_rf_reg(dm, RF_PATH_A, RF_0xef, 0x80000, 0x1); in phydm_iq_gen_en() 63 odm_set_rf_reg(dm, RF_PATH_A, RF_0x30, 0xfffff, 0x08000); in phydm_iq_gen_en() 64 odm_set_rf_reg(dm, RF_PATH_A, RF_0x31, 0xfffff, 0x0005f); in phydm_iq_gen_en() 65 odm_set_rf_reg(dm, RF_PATH_A, RF_0x32, 0xfffff, 0x01042); in phydm_iq_gen_en() 66 odm_set_rf_reg(dm, RF_PATH_A, RF_0x30, 0xfffff, 0x18000); in phydm_iq_gen_en() 67 odm_set_rf_reg(dm, RF_PATH_A, RF_0x31, 0xfffff, 0x0004f); in phydm_iq_gen_en() 68 odm_set_rf_reg(dm, RF_PATH_A, RF_0x32, 0xfffff, 0x71fc2); in phydm_iq_gen_en() [all …]
|
D | phydm_noisemonitor.c | 46 for (i = RF_PATH_A; i < max_rf_path; i++) { in phydm_set_noise_data_sum() 96 noise_data.value[RF_PATH_A] = (u8)(tmp4b & 0xff); in odm_inband_noise_monitor_n() 99 for (i = RF_PATH_A; i < max_rf_path; i++) { in odm_inband_noise_monitor_n() 104 for (i = RF_PATH_A; i < max_rf_path; i++) { in odm_inband_noise_monitor_n() 126 val_s8 = (s8)(-110 + reg_c50 + noise_data.sum[RF_PATH_A]); in odm_inband_noise_monitor_n() 127 dm->noise_level.noise[RF_PATH_A] = val_s8; in odm_inband_noise_monitor_n() 128 dm->noise_level.noise_all += dm->noise_level.noise[RF_PATH_A]; in odm_inband_noise_monitor_n() 141 dm->noise_level.noise[RF_PATH_A], in odm_inband_noise_monitor_n() 197 noise_data.value[RF_PATH_A] = (u8)(tmp4b & 0xff); in phydm_idle_noise_measure_ac() 200 for (i = RF_PATH_A; i < max_rf_path; i++) { in phydm_idle_noise_measure_ac() [all …]
|
D | phydm_psd.c | 154 dm_psd_table->rf_0x18_bkp = odm_get_rf_reg(dm, RF_PATH_A, RF_0x18, in phydm_psd() 196 odm_set_rf_reg(dm, RF_PATH_A, RF_0x18, 0xff, psd_fc_channel); in phydm_psd() 198 odm_set_rf_reg(dm, RF_PATH_A, RF_0x18, 0x300, is_5G); in phydm_psd() 204 odm_set_rf_reg(dm, RF_PATH_A, RF_0x18, 0x3000, in phydm_psd() 209 odm_set_rf_reg(dm, RF_PATH_A, RF_0x18, 0x70000, in phydm_psd() 216 odm_set_rf_reg(dm, RF_PATH_A, RF_0x18, 0x1c00, in phydm_psd() 221 odm_set_rf_reg(dm, RF_PATH_A, RF_0x18, 0x30000, 1); in phydm_psd() 224 odm_set_rf_reg(dm, RF_PATH_A, RF_0x19, 0xc0000, 0); in phydm_psd() 228 odm_set_rf_reg(dm, RF_PATH_A, RF_0x19, 0xc0000, 1); in phydm_psd() 232 odm_set_rf_reg(dm, RF_PATH_A, RF_0x19, 0xc0000, 2); in phydm_psd() [all …]
|
D | phydm_mp.c | 41 u8 start = RF_PATH_A, end = RF_PATH_A; in phydm_mp_set_single_tone_jgr3() 47 case RF_PATH_A: in phydm_mp_set_single_tone_jgr3() 55 start = RF_PATH_A; in phydm_mp_set_single_tone_jgr3() 60 start = RF_PATH_A; in phydm_mp_set_single_tone_jgr3() 64 start = RF_PATH_A; in phydm_mp_set_single_tone_jgr3() 80 start = RF_PATH_A; in phydm_mp_set_single_tone_jgr3() 84 start = RF_PATH_A; in phydm_mp_set_single_tone_jgr3() 88 start = RF_PATH_A; in phydm_mp_set_single_tone_jgr3() 96 start = RF_PATH_A; in phydm_mp_set_single_tone_jgr3() 102 central_ch = (u8)odm_get_rf_reg(dm, RF_PATH_A, RF_0x18, 0xff); in phydm_mp_set_single_tone_jgr3()
|
D | phydm_hwconfig.c | 79 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 99 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 123 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 143 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 154 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 166 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 183 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 214 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 222 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() 231 if (e_rf_path == RF_PATH_A) in odm_config_rf_with_header_file() [all …]
|
D | phydm_lna_sat.c | 262 phydm_set_ofdm_agc_tab_path(dm, OFDM_AGC_TAB_0, RF_PATH_A); in phydm_lna_sat_chk() 270 config_phydm_write_rf_reg_8198f(dm, RF_PATH_A, 0x85, in phydm_lna_sat_chk() 279 config_phydm_write_rf_reg_8198f(dm, RF_PATH_A, 0x86, 0x10, 1); in phydm_lna_sat_chk() 287 config_phydm_write_rf_reg_8814b(dm, RF_PATH_A, 0x8B, 0x3, 0x3); in phydm_lna_sat_chk() 292 config_phydm_write_rf_reg_8814b(dm, RF_PATH_A, 0x8B, 0x4, 1); in phydm_lna_sat_chk() 298 odm_set_rf_reg(dm, RF_PATH_A, RF_0x86, 0x1f, 0x10); in phydm_lna_sat_chk() 312 sat_status_a = config_phydm_read_rf_reg_8198f(dm, RF_PATH_A, in phydm_lna_sat_chk() 328 sat_status_a = config_phydm_read_rf_reg_8814b(dm, RF_PATH_A, in phydm_lna_sat_chk() 342 sat_status_a = odm_get_rf_reg(dm, RF_PATH_A, RF_0xae, 0xc0000); in phydm_lna_sat_chk() 407 RF_PATH_A); in phydm_lna_sat_chk() [all …]
|
D | phydm_antdect.c | 116 current_channel = odm_get_rf_reg(dm, RF_PATH_A, ODM_CHANNEL, RFREGOFFSETMASK); in odm_single_dual_antenna_detection() 117 rf_loop_reg = odm_get_rf_reg(dm, RF_PATH_A, RF_0x00, RFREGOFFSETMASK); in odm_single_dual_antenna_detection() 147 odm_set_rf_reg(dm, RF_PATH_A, ODM_CHANNEL, RFREGOFFSETMASK, 0x7401); /* @channel 1 */ in odm_single_dual_antenna_detection() 227 odm_set_rf_reg(dm, RF_PATH_A, RF_CHNLBW, RFREGOFFSETMASK, current_channel); in odm_single_dual_antenna_detection() 228 odm_set_rf_reg(dm, RF_PATH_A, RF_0x00, RFREGOFFSETMASK, rf_loop_reg); in odm_single_dual_antenna_detection() 691 channel_ori = odm_get_rf_reg(dm, RF_PATH_A, ODM_CHANNEL, RFREGOFFSETMASK); in odm_single_dual_antenna_detection_psd() 716 odm_set_rf_reg(dm, RF_PATH_A, ODM_CHANNEL, 0x7ff, 0x04); /* Set RF to CH4 & 40M */ in odm_single_dual_antenna_detection_psd() 752 odm_set_rf_reg(dm, RF_PATH_A, ODM_CHANNEL, 0x7ff, 0x04); /* Set RF to CH8 & 40M */ in odm_single_dual_antenna_detection_psd() 851 odm_set_rf_reg(dm, RF_PATH_A, RF_CHNLBW, RFREGOFFSETMASK, channel_ori); in odm_single_dual_antenna_detection_psd()
|
D | phydm_phystatus.c | 439 for (i = RF_PATH_A; i < PHYDM_MAX_RF_PATH; i++) { in phydm_process_signal_strength() 887 phy_info->rx_mimo_signal_quality[RF_PATH_A] = sq; in phydm_phy_sts_n_parsing() 890 for (i = RF_PATH_A; i < PHYDM_MAX_RF_PATH; i++) { in phydm_phy_sts_n_parsing() 900 for (i = RF_PATH_A; i < dm->num_rf_path; i++) { in phydm_phy_sts_n_parsing() 923 if (i == RF_PATH_A) { in phydm_phy_sts_n_parsing() 959 if (i == RF_PATH_A) in phydm_phy_sts_n_parsing() 1135 for (i = RF_PATH_A; i < dm->num_rf_path; i++) { in phydm_rx_physts_1st_type() 1258 rssi_linear += phydm_db_2_linear(rssi_in[RF_PATH_A]); in phydm_get_rssi_8814_ofdm() 1393 rssi_ave = rssi_tmp[RF_PATH_A]; in phydm_process_rssi_for_dm() 1395 if (rssi_tmp[RF_PATH_A] > rssi_tmp[RF_PATH_B]) { in phydm_process_rssi_for_dm() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/ |
D | hal_mp.c | 89 pMptCtx->backup0x52_RF_A = (u8)phy_query_rf_reg(pAdapter, RF_PATH_A, RF_0x52, 0x000F0); in hal_mpt_SwitchRfSetting() 93 phy_set_rf_reg(pAdapter, RF_PATH_A, RF_0x52, 0x000F0, 0xB); in hal_mpt_SwitchRfSetting() 96 phy_set_rf_reg(pAdapter, RF_PATH_A, RF_0x52, 0x000F0, 0xD); in hal_mpt_SwitchRfSetting() 101 phy_set_rf_reg(pAdapter, RF_PATH_A, RF_0x52, 0x000F0, 0xB); /*RF 0x52 = 0x0007E4BD*/ in hal_mpt_SwitchRfSetting() 104 phy_set_rf_reg(pAdapter, RF_PATH_A, RF_0x52, 0x000F0, 0x9); /*RF 0x52 = 0x0007E49D*/ in hal_mpt_SwitchRfSetting() 108 phy_set_rf_reg(pAdapter, RF_PATH_A, RF_0x52, 0x000F0, pMptCtx->backup0x52_RF_A); in hal_mpt_SwitchRfSetting() 375 pwr = pTxPower[RF_PATH_A]; in mpt_SetTxPower_Old() 378 phy_set_bb_reg(pAdapter, rTxAGC_A_CCK1_Mcs32, bMaskByte1, pTxPower[RF_PATH_A]); in mpt_SetTxPower_Old() 436 u8 StartPath = RF_PATH_A, EndPath = RF_PATH_B; in mpt_SetTxPower() 444 EndPath = RF_PATH_A; in mpt_SetTxPower() [all …]
|
D | hal_phy.c | 148 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowCompareAll() 163 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowRecorverAll() 204 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowCompareFlagSetAll() 224 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowRecorverFlagSetAll() 243 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowRefresh()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/txbf/ |
D | phydm_hal_txbf_api.c | 202 odm_set_rf_reg(dm, RF_PATH_A, RF_0xef, BIT(19), 0x1); in phydm_txbf_rfmode() 204 odm_set_rf_reg(dm, RF_PATH_A, RF_0x33, 0xF, 3); in phydm_txbf_rfmode() 206 odm_set_rf_reg(dm, RF_PATH_A, RF_0x3e, 0x3, 0x2); in phydm_txbf_rfmode() 208 odm_set_rf_reg(dm, RF_PATH_A, RF_0x3f, 0xfffff, in phydm_txbf_rfmode() 211 odm_set_rf_reg(dm, RF_PATH_A, RF_0xef, BIT(19), 0x0); in phydm_txbf_rfmode() 259 odm_set_rf_reg(dm, RF_PATH_A, RF_0xef, BIT(19), 0x1); in phydm_txbf_rfmode() 261 odm_set_rf_reg(dm, RF_PATH_A, RF_0x33, 0xF, 3); in phydm_txbf_rfmode() 263 odm_set_rf_reg(dm, RF_PATH_A, RF_0x3e, 0x3, 0x3); in phydm_txbf_rfmode() 265 odm_set_rf_reg(dm, RF_PATH_A, RF_0x3f, 0xfffff, in phydm_txbf_rfmode() 268 odm_set_rf_reg(dm, RF_PATH_A, RF_0xef, BIT(19), 0x0); in phydm_txbf_rfmode() [all …]
|
D | haltxbfjaguar.c | 47 odm_set_rf_reg(dm, RF_PATH_A, RF_0xef, 0x80000, 0x1); /*RF mode table write enable*/ in hal_txbf_jaguar_rf_mode() 52 odm_set_rf_reg(dm, RF_PATH_A, RF_0x30, 0x78000, 0x3); /*Select RX mode*/ in hal_txbf_jaguar_rf_mode() 53 odm_set_rf_reg(dm, RF_PATH_A, RF_0x31, 0xfffff, 0x3F7FF); /*Set Table data*/ in hal_txbf_jaguar_rf_mode() 54 odm_set_rf_reg(dm, RF_PATH_A, RF_0x32, 0xfffff, 0xE26BF); /*@Enable TXIQGEN in RX mode*/ in hal_txbf_jaguar_rf_mode() 61 odm_set_rf_reg(dm, RF_PATH_A, RF_0x30, 0x78000, 0x3); /*Select RX mode*/ in hal_txbf_jaguar_rf_mode() 62 odm_set_rf_reg(dm, RF_PATH_A, RF_0x31, 0xfffff, 0x3F7FF); /*Set Table data*/ in hal_txbf_jaguar_rf_mode() 63 odm_set_rf_reg(dm, RF_PATH_A, RF_0x32, 0xfffff, 0xC26BF); /*@Disable TXIQGEN in RX mode*/ in hal_txbf_jaguar_rf_mode() 70 odm_set_rf_reg(dm, RF_PATH_A, RF_0xef, 0x80000, 0x0); /*RF mode table write disable*/ in hal_txbf_jaguar_rf_mode()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/rtl8822c/ |
D | phydm_hal_api8822c.c | 72 dm->txagc_buff[RF_PATH_A][i] = i >> 2; in phydm_txagc_tab_buff_init_8822c() 85 dm->txagc_buff[RF_PATH_A][i]); in phydm_txagc_tab_buff_show_8822c() 112 odm_set_rf_reg(dm, RF_PATH_A, RF_0xbc, BIT(19), 0x0); in phydm_sdm_reset_8822c() 113 odm_set_rf_reg(dm, RF_PATH_A, RF_0xbc, BIT(19), 0x1); in phydm_sdm_reset_8822c() 114 odm_set_rf_reg(dm, RF_PATH_A, RF_0xbc, BIT(19), 0x0); in phydm_sdm_reset_8822c() 477 u8 ref_pow_cck[2] = {dm->txagc_buff[RF_PATH_A][ODM_RATE11M], in config_phydm_set_txagc_to_hw_8822c() 479 u8 ref_pow_ofdm[2] = {dm->txagc_buff[RF_PATH_A][ODM_RATEMCS7], in config_phydm_set_txagc_to_hw_8822c() 495 config_phydm_write_txagc_ref_8822c(dm, ref_pow_cck[0], RF_PATH_A, in config_phydm_set_txagc_to_hw_8822c() 499 config_phydm_write_txagc_ref_8822c(dm, ref_pow_ofdm[0], RF_PATH_A, in config_phydm_set_txagc_to_hw_8822c() 505 for (path = RF_PATH_A; path <= RF_PATH_B; path++) in config_phydm_set_txagc_to_hw_8822c() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/rtl8822c/ |
D | halrf_8822c.c | 93 case RF_PATH_A: in odm_tx_pwr_track_set_pwr8822c() 114 case RF_PATH_A: in odm_tx_pwr_track_set_pwr8822c() 129 case RF_PATH_A: in odm_tx_pwr_track_set_pwr8822c() 195 odm_set_rf_reg(dm, RF_PATH_A, 0xb0, RFREGOFFSETMASK, 0x1F0FA); in _phy_aac_calibrate_8822c() 197 odm_set_rf_reg(dm, RF_PATH_A, RF_0xca, RFREGOFFSETMASK, 0x80000); in _phy_aac_calibrate_8822c() 198 odm_set_rf_reg(dm, RF_PATH_A, RF_0xc9, RFREGOFFSETMASK, 0x80001); in _phy_aac_calibrate_8822c() 201 if (odm_get_rf_reg(dm, RF_PATH_A, RF_0xca, 0x1000) != 0x1) in _phy_aac_calibrate_8822c() 205 odm_set_rf_reg(dm, RF_PATH_A, RF_0xb0, RFREGOFFSETMASK, 0x1F0F8); in _phy_aac_calibrate_8822c() 214 odm_set_rf_reg(dm, RF_PATH_A, 0xcc, RFREGOFFSETMASK, 0x0f000); in _phy_rt_calibrate_8822c() 215 odm_set_rf_reg(dm, RF_PATH_A, 0xcc, RFREGOFFSETMASK, 0x4f000); in _phy_rt_calibrate_8822c() [all …]
|
D | halrf_txgapk_8822c.c | 82 reg_rf0_a = (u8)odm_get_rf_reg(dm, RF_PATH_A, RF_0x00, 0xF0000); in _halrf_txgapk_tx_pause_8822c() 86 reg_rf0_a = (u8)odm_get_rf_reg(dm, RF_PATH_A, RF_0x00, 0xF0000); in _halrf_txgapk_tx_pause_8822c() 110 if (path == RF_PATH_A) { in _halrf_txgapk_bb_dpk_8822c() 132 if (path == RF_PATH_A) { in _halrf_txgapk_afe_dpk_8822c() 182 if (path == RF_PATH_A) { in _halrf_txgapk_afe_dpk_restore_8822c() 248 if (path == RF_PATH_A) { in _halrf_txgapk_bb_dpk_restore_8822c() 292 tmp_3f = txgapk->txgapk_rf3f_bp[0][i][RF_PATH_A] & 0xfff; in _halrf_txgapk_write_gain_bb_table_8822c() 313 for (path_idx = RF_PATH_A; path_idx < MAX_PATH_NUM_8822C; path_idx++) { in _halrf_txgapk_write_gain_bb_table_8822c() 548 if (path == RF_PATH_A) { in _halrf_txgapk_rf_restore_8822c() 549 odm_set_rf_reg(dm, RF_PATH_A, RF_0x00, 0xf0000, 0x3); in _halrf_txgapk_rf_restore_8822c() [all …]
|
D | halrf_tssi_8822c.c | 273 tssi->thermal[RF_PATH_A] = 0xff; in _halrf_calculate_set_thermal_codeword_8822c() 365 tssi->thermal[RF_PATH_A] = thermal; in _halrf_calculate_set_thermal_codeword_8822c() 628 odm_set_rf_reg(dm, RF_PATH_A, RF_0x7f, 0x00002, 0x1); in _halrf_tssi_8822c() 629 odm_set_rf_reg(dm, RF_PATH_A, RF_0x65, 0x03000, 0x3); in _halrf_tssi_8822c() 630 odm_set_rf_reg(dm, RF_PATH_A, RF_0x67, 0x0000c, 0x3); in _halrf_tssi_8822c() 631 odm_set_rf_reg(dm, RF_PATH_A, RF_0x67, 0x000c0, 0x0); in _halrf_tssi_8822c() 632 odm_set_rf_reg(dm, RF_PATH_A, RF_0x6e, 0x001e0, 0x0); in _halrf_tssi_8822c() 678 odm_set_rf_reg(dm, RF_PATH_A, RF_0x7f, 0x00100, 0x1); in _halrf_tssi_8822c() 679 odm_set_rf_reg(dm, RF_PATH_A, RF_0x65, 0x03000, 0x3); in _halrf_tssi_8822c() 680 odm_set_rf_reg(dm, RF_PATH_A, RF_0x67, 0x00003, 0x3); in _halrf_tssi_8822c() [all …]
|
D | halrf_iqk_8822c.c | 90 _iqk_check_cal_8822c(dm, RF_PATH_A, 0x0); in _iqk_idft() 273 if (path == RF_PATH_A) /*path s0*/ in _iqk_get_efuse_thermal_8822c() 289 if ((odm_get_rf_reg(dm, RF_PATH_A, RF_0x8, RFREGOFFSETMASK) == 0xabcde) || counter > 300) in phydm_get_read_counter_8822c() 294 odm_set_rf_reg(dm, RF_PATH_A, RF_0x8, RFREGOFFSETMASK, 0x0); in phydm_get_read_counter_8822c() 411 reg_rf18 = odm_get_rf_reg(dm, RF_PATH_A, RF_0x18, RFREG_MASK); in _iqk_information_8822c() 2506 if (odm_get_rf_reg(dm, RF_PATH_A, RF_0x1bf0, BIT(16)) == 1) in _iqk_fail_count_8822c() 2571 RF_backup[i][RF_PATH_A] = odm_get_rf_reg(dm, RF_PATH_A, backup_rf_reg[i], RFREGOFFSETMASK); in _iqk_backup_rf_8822c() 2599 odm_set_rf_reg(dm, RF_PATH_A, RF_0x0, RFREGOFFSETMASK, 0x10000); in _iqk_bb_reset_8822c() 2655 odm_set_rf_reg(dm, RF_PATH_A, 0xef, 0xfffff, 0x80000); in _iqk_rf_setting_8822c() 2656 odm_set_rf_reg(dm, RF_PATH_A, 0x33, 0x0000f, 0x4); in _iqk_rf_setting_8822c() [all …]
|
D | halrf_dpk_8822c.c | 180 rf_reg_backup[i][RF_PATH_A] = odm_get_rf_reg(dm, RF_PATH_A, in _backup_rf_registers_8822c() 186 rf_reg[i], rf_reg_backup[i][RF_PATH_A]); in _backup_rf_registers_8822c() 226 odm_set_rf_reg(dm, RF_PATH_A, rf_reg[i], RFREG_MASK, in _reload_rf_registers_8822c() 227 rf_reg_backup[i][RF_PATH_A]); in _reload_rf_registers_8822c() 232 rf_reg[i], rf_reg_backup[i][RF_PATH_A]); in _reload_rf_registers_8822c() 260 dpk_info->dpk_rf18[0] = odm_get_rf_reg(dm, RF_PATH_A, RF_0x18, RFREG_MASK); in _dpk_information_8822c() 335 reg_rf0_a = (u8)odm_get_rf_reg(dm, RF_PATH_A, RF_0x00, 0xF0000); in _dpk_tx_pause_8822c() 339 reg_rf0_a = (u8)odm_get_rf_reg(dm, RF_PATH_A, RF_0x00, 0xF0000); in _dpk_tx_pause_8822c() 1068 if (path == RF_PATH_A) { in _dpk_get_coef_8822c() 1157 if (path == RF_PATH_A) in _dpk_coef_write_8822c() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_odm.c | 558 reg_rf18 = odm_get_rf_reg(dm, RF_PATH_A, RF_0x18, RFREG_MASK); in debug_information_8822c() 608 if (path == RF_PATH_A) in debug_reload_data_8822c() 623 debug_IQK(dm, TX_IQK, RF_PATH_A); in odm_lps_pg_debug_8822c() 624 debug_IQK(dm, RX_IQK, RF_PATH_A); in odm_lps_pg_debug_8822c()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/ |
D | rtl8822c_phy.c | 33 hal->PHYRegDef[RF_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in bb_rf_register_definition() 37 hal->PHYRegDef[RF_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; in bb_rf_register_definition() 41 hal->PHYRegDef[RF_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; in bb_rf_register_definition() 44 hal->PHYRegDef[RF_PATH_A].rf3wireOffset = rA_LSSIWrite_Jaguar; in bb_rf_register_definition() 47 hal->PHYRegDef[RF_PATH_A].rfHSSIPara2 = rHSSIRead_Jaguar; in bb_rf_register_definition() 51 hal->PHYRegDef[RF_PATH_A].rfLSSIReadBack = rA_SIRead_Jaguar; in bb_rf_register_definition() 53 hal->PHYRegDef[RF_PATH_A].rfLSSIReadBackPi = rA_PIRead_Jaguar; in bb_rf_register_definition() 219 phydm_path = RF_PATH_A; in _init_rf_reg() 678 for (path = RF_PATH_A; path < hal_spec->rf_reg_path_num; ++path) { in rtl8822c_set_tx_power_level() 1216 mpt->mpt_rf_path = RF_PATH_A; in rtl8822c_mp_config_rfpath()
|