Searched refs:rtldm (Results 1 – 7 of 7) sorted by relevance
233 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in rtl8821ae_dm_txpower_track_adjust() local240 pwr_val = rtldm->swing_idx_ofdm_base[RF90_PATH_A] - in rtl8821ae_dm_txpower_track_adjust()241 rtldm->swing_idx_ofdm[RF90_PATH_A]; in rtl8821ae_dm_txpower_track_adjust()244 pwr_val = rtldm->swing_idx_ofdm[RF90_PATH_A] - in rtl8821ae_dm_txpower_track_adjust()245 rtldm->swing_idx_ofdm_base[RF90_PATH_A]; in rtl8821ae_dm_txpower_track_adjust()248 if (rtldm->swing_idx_cck <= rtldm->swing_idx_cck_base) { in rtl8821ae_dm_txpower_track_adjust()250 pwr_val = rtldm->swing_idx_cck_base - in rtl8821ae_dm_txpower_track_adjust()251 rtldm->swing_idx_cck; in rtl8821ae_dm_txpower_track_adjust()254 pwr_val = rtldm->swing_idx_cck - in rtl8821ae_dm_txpower_track_adjust()255 rtldm->swing_idx_cck_base; in rtl8821ae_dm_txpower_track_adjust()[all …]
438 struct rtl_dm *rtldm = rtl_dm(rtlpriv); in phy_get_tx_swing_8812A() local454 rtldm->swing_diff_2g = swing_2g; in phy_get_tx_swing_8812A()464 rtldm->swing_diff_2g = 0; in phy_get_tx_swing_8812A()468 rtldm->swing_diff_5g = swing_5g; in phy_get_tx_swing_8812A()479 rtldm->swing_diff_5g = -3; in phy_get_tx_swing_8812A()482 rtldm->swing_diff_5g = 0; in phy_get_tx_swing_8812A()487 rtldm->swing_diff_2g = -3; in phy_get_tx_swing_8812A()488 rtldm->swing_diff_5g = -3; in phy_get_tx_swing_8812A()535 rtldm->swing_diff_2g = 0; in phy_get_tx_swing_8812A()537 rtldm->swing_diff_5g = 0; in phy_get_tx_swing_8812A()[all …]
66 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in query_rxphystatus() local271 rtldm->fat_table.antsel_rx_keep_0 = p_phystrpt->antidx_anta; in query_rxphystatus()272 rtldm->fat_table.antsel_rx_keep_1 = p_phystrpt->antidx_antb; in query_rxphystatus()
161 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in rtl8723be_dm_txpower_track_adjust() local165 u8 cck_base = rtldm->swing_idx_cck_base; in rtl8723be_dm_txpower_track_adjust()166 u8 cck_val = rtldm->swing_idx_cck; in rtl8723be_dm_txpower_track_adjust()654 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in rtl8723be_dm_tx_power_track_set_power() local660 if (rtldm->swing_idx_cck >= CCK_TABLE_SIZE) in rtl8723be_dm_tx_power_track_set_power()661 rtldm->swing_idx_cck = CCK_TABLE_SIZE - 1; in rtl8723be_dm_tx_power_track_set_power()663 if (!rtldm->cck_inch14) { in rtl8723be_dm_tx_power_track_set_power()665 cckswing_table_ch1ch13[rtldm->swing_idx_cck][0]); in rtl8723be_dm_tx_power_track_set_power()667 cckswing_table_ch1ch13[rtldm->swing_idx_cck][1]); in rtl8723be_dm_tx_power_track_set_power()669 cckswing_table_ch1ch13[rtldm->swing_idx_cck][2]); in rtl8723be_dm_tx_power_track_set_power()[all …]
216 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in rtl88e_dm_txpower_track_adjust() local218 u8 cck_base = rtldm->swing_idx_cck_base; in rtl88e_dm_txpower_track_adjust()219 u8 cck_val = rtldm->swing_idx_cck; in rtl88e_dm_txpower_track_adjust()220 u8 ofdm_base = rtldm->swing_idx_ofdm_base[0]; in rtl88e_dm_txpower_track_adjust()254 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in dm_tx_pwr_track_set_pwr() local257 if (rtldm->swing_flag_ofdm || in dm_tx_pwr_track_set_pwr()258 rtldm->swing_flag_cck) { in dm_tx_pwr_track_set_pwr()261 rtldm->swing_flag_ofdm = false; in dm_tx_pwr_track_set_pwr()262 rtldm->swing_flag_cck = false; in dm_tx_pwr_track_set_pwr()265 if (!rtldm->cck_inch14) { in dm_tx_pwr_track_set_pwr()[all …]
38 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in _rtl88ee_query_rxphystatus() local233 rtldm->fat_table.antsel_rx_keep_0 = phystrpt->ant_sel; in _rtl88ee_query_rxphystatus()234 rtldm->fat_table.antsel_rx_keep_1 = phystrpt->ant_sel_b; in _rtl88ee_query_rxphystatus()235 rtldm->fat_table.antsel_rx_keep_2 = phystrpt->antsel_rx_keep_2; in _rtl88ee_query_rxphystatus()241 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in _rtl88ee_smart_antenna() local244 struct fast_ant_training *pfat_table = &rtldm->fat_table; in _rtl88ee_smart_antenna()
674 struct rtl_dm *rtldm = rtl_dm(rtl_priv(hw)); in rtl92ee_dm_dynamic_atc_switch() local681 if (rtldm->atc_status == ATC_STATUS_OFF) { in rtl92ee_dm_dynamic_atc_switch()684 rtldm->atc_status = ATC_STATUS_ON; in rtl92ee_dm_dynamic_atc_switch()696 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl92ee_dm_dynamic_atc_switch()697 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl92ee_dm_dynamic_atc_switch()698 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl92ee_dm_dynamic_atc_switch()703 cfo_khz_a = (int)(rtldm->cfo_tail[0] * 3125) / 1280; in rtl92ee_dm_dynamic_atc_switch()704 cfo_khz_b = (int)(rtldm->cfo_tail[1] * 3125) / 1280; in rtl92ee_dm_dynamic_atc_switch()705 packet_count = rtldm->packet_count; in rtl92ee_dm_dynamic_atc_switch()707 if (packet_count == rtldm->packet_count_pre) in rtl92ee_dm_dynamic_atc_switch()[all …]