/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 389 if (rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A] <= in rtl8821ae_dm_txpower_track_adjust() 390 rtlpriv->dm.swing_idx_ofdm_base[RF90_PATH_A]) { in rtl8821ae_dm_txpower_track_adjust() 392 pwr_val = rtldm->swing_idx_ofdm_base[RF90_PATH_A] - in rtl8821ae_dm_txpower_track_adjust() 393 rtldm->swing_idx_ofdm[RF90_PATH_A]; in rtl8821ae_dm_txpower_track_adjust() 396 pwr_val = rtldm->swing_idx_ofdm[RF90_PATH_A] - in rtl8821ae_dm_txpower_track_adjust() 397 rtldm->swing_idx_ofdm_base[RF90_PATH_A]; in rtl8821ae_dm_txpower_track_adjust() 430 for (p = RF90_PATH_A; p <= RF90_PATH_B; ++p) { in rtl8821ae_dm_clear_txpower_tracking_state() 459 RF90_PATH_A); in rtl8821ae_dm_get_swing_index() 491 for (p = RF90_PATH_A; p < MAX_RF_PATH; ++p) { in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter() 1049 rtl_set_rfreg(hw, RF90_PATH_A, RF_T_METER_88E, in rtl8812ae_dm_check_txpower_tracking_thermalmeter() [all …]
|
D | rf.c | 17 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, BIT(11)|BIT(10), 3); in rtl8821ae_phy_rf6052_set_bandwidth() 21 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, BIT(11)|BIT(10), 1); in rtl8821ae_phy_rf6052_set_bandwidth() 25 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, BIT(11)|BIT(10), 0); in rtl8821ae_phy_rf6052_set_bandwidth() 52 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl8821ae_phy_rf6052_set_cck_txpower() 56 for (idx1 = RF90_PATH_A; in rtl8821ae_phy_rf6052_set_cck_txpower() 66 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8821ae_phy_rf6052_set_cck_txpower() 78 tx_agc[RF90_PATH_A] += tmpval; in rtl8821ae_phy_rf6052_set_cck_txpower() 87 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8821ae_phy_rf6052_set_cck_txpower() 103 tmpval = tx_agc[RF90_PATH_A]; in rtl8821ae_phy_rf6052_set_cck_txpower() 403 case RF90_PATH_A: { in _rtl8821ae_phy_rf6052_config_parafile()
|
D | phy.c | 215 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 227 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 234 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 700 rtlpriv->dm.ofdm_index[RF90_PATH_A]); in rtl8821ae_phy_switch_wirelessband() 707 phy_get_tx_swing_8812A(hw, band, RF90_PATH_A)); in rtl8821ae_phy_switch_wirelessband() 864 RF90_PATH_A, addr | maskforphyset); in _rtl8821ae_config_rf_radio_a() 1062 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl8821ae_phy_store_txpower_by_rate_base() 1146 [bw][rate_section][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() 1151 1, bw, rate_section, channel, RF90_PATH_A); in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() 1153 rtlphy->txpwr_limit_5g[regulation][bw][2][channel][RF90_PATH_A] = in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
D | phy_common.c | 84 if (rfpath == RF90_PATH_A) in rtl8723_phy_rf_serial_read() 98 if (rfpath == RF90_PATH_A) in rtl8723_phy_rf_serial_read() 171 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def() 176 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in rtl8723_phy_init_bb_rf_reg_def() 181 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in rtl8723_phy_init_bb_rf_reg_def() 184 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in rtl8723_phy_init_bb_rf_reg_def() 187 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in rtl8723_phy_init_bb_rf_reg_def() 192 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in rtl8723_phy_init_bb_rf_reg_def() 197 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in rtl8723_phy_init_bb_rf_reg_def() 202 rtlphy->phyreg_def[RF90_PATH_A].rfhssi_para1 = RFPGA0_XA_HSSIPARAMETER1; in rtl8723_phy_init_bb_rf_reg_def() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | rf.c | 31 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_powerbase() 79 [RF90_PATH_A][ in _rtl92s_get_powerbase() 86 [RF90_PATH_A][ in _rtl92s_get_powerbase() 222 [RF90_PATH_A][chnl - 1]); in _rtl92s_get_txpower_writeval_byregulatory() 227 [RF90_PATH_A][chnl - 1]); in _rtl92s_get_txpower_writeval_byregulatory() 239 [RF90_PATH_A][chnl - 1]) { in _rtl92s_get_txpower_writeval_byregulatory() 242 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_txpower_writeval_byregulatory() 247 [RF90_PATH_A][chnl - 1]) { in _rtl92s_get_txpower_writeval_byregulatory() 250 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_txpower_writeval_byregulatory() 414 case RF90_PATH_A: in rtl92s_phy_rf6052_config() [all …]
|
D | phy.c | 89 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 109 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 685 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92s_phy_init_register_definition() 691 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92s_phy_init_register_definition() 697 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92s_phy_init_register_definition() 703 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92s_phy_init_register_definition() 709 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92s_phy_init_register_definition() 719 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl92s_phy_init_register_definition() 725 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92s_phy_init_register_definition() 731 rtlphy->phyreg_def[RF90_PATH_A].rfhssi_para1 = RFPGA0_XA_HSSIPARAMETER1; in _rtl92s_phy_init_register_definition() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | rf.c | 22 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92cu_phy_rf6052_set_bandwidth() 28 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92cu_phy_rf6052_set_bandwidth() 49 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl92cu_phy_rf6052_set_cck_txpower() 51 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower() 62 tx_agc[RF90_PATH_A] = 0x10101010; in rtl92cu_phy_rf6052_set_cck_txpower() 66 tx_agc[RF90_PATH_A] = 0x00000000; in rtl92cu_phy_rf6052_set_cck_txpower() 69 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower() 78 tx_agc[RF90_PATH_A] += tmpval; in rtl92cu_phy_rf6052_set_cck_txpower() 85 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower() 93 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl92cu_phy_rf6052_set_cck_txpower() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.c | 163 u8 ofdm_base = rtlpriv->dm.swing_idx_ofdm_base[RF90_PATH_A]; in rtl8723be_dm_txpower_track_adjust() 164 u8 ofdm_val = rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A]; in rtl8723be_dm_txpower_track_adjust() 224 rtlpriv->dm.delta_power_index[RF90_PATH_A] = 0; in rtl8723be_dm_init_txpower_tracking() 225 rtlpriv->dm.delta_power_index_last[RF90_PATH_A] = 0; in rtl8723be_dm_init_txpower_tracking() 226 rtlpriv->dm.power_index_offset[RF90_PATH_A] = 0; in rtl8723be_dm_init_txpower_tracking() 620 case RF90_PATH_A: in rtl8723be_set_iqk_matrix() 636 case RF90_PATH_A: in rtl8723be_set_iqk_matrix() 699 if (rfpath == RF90_PATH_A) { in rtl8723be_dm_tx_power_track_set_power() 700 if (rtldm->swing_idx_ofdm[RF90_PATH_A] < in rtl8723be_dm_tx_power_track_set_power() 703 rtldm->swing_idx_ofdm[RF90_PATH_A]; in rtl8723be_dm_tx_power_track_set_power() [all …]
|
D | phy.c | 236 _rtl8723be_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl8723be_config_rf_radio_a() 372 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl8723be_phy_store_txpower_by_rate_base() 373 if (path == RF90_PATH_A) { in _rtl8723be_phy_store_txpower_by_rate_base() 442 u8 base = 0, rfpath = RF90_PATH_A; in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() 754 case RF90_PATH_A: in rtl8723be_phy_config_rf_with_headerfile() 817 if (path == RF90_PATH_A) in _rtl8723be_phy_get_ratesection_intxpower_byrate() 999 if (path == RF90_PATH_A) { in _rtl8723be_phy_set_txpower_index() 1132 power_index = _rtl8723be_get_txpower_index(hw, RF90_PATH_A, in rtl8723be_phy_set_txpower_level() 1136 _rtl8723be_phy_set_txpower_index(hw, power_index, RF90_PATH_A, in rtl8723be_phy_set_txpower_level() 1140 power_index = _rtl8723be_get_txpower_index(hw, RF90_PATH_A, in rtl8723be_phy_set_txpower_level() [all …]
|
D | rf.c | 22 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl8723be_phy_rf6052_set_bandwidth() 28 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl8723be_phy_rf6052_set_bandwidth() 55 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl8723be_phy_rf6052_set_cck_txpower() 59 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723be_phy_rf6052_set_cck_txpower() 67 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723be_phy_rf6052_set_cck_txpower() 78 tx_agc[RF90_PATH_A] += tmpval; in rtl8723be_phy_rf6052_set_cck_txpower() 87 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723be_phy_rf6052_set_cck_txpower() 103 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl8723be_phy_rf6052_set_cck_txpower() 110 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl8723be_phy_rf6052_set_cck_txpower() 427 case RF90_PATH_A: in _rtl8723be_phy_rf6052_config_parafile() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | phy.c | 161 if (rfpath == RF90_PATH_A) in _rtl88e_phy_rf_serial_read() 172 if (rfpath == RF90_PATH_A) in _rtl88e_phy_rf_serial_read() 320 _rtl8188e_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl8188e_config_rf_radio_a() 783 case RF90_PATH_A: in rtl88e_phy_config_rf_with_headerfile() 830 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl88e_phy_init_bb_rf_register_definition() 835 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl88e_phy_init_bb_rf_register_definition() 840 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl88e_phy_init_bb_rf_register_definition() 843 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl88e_phy_init_bb_rf_register_definition() 846 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl88e_phy_init_bb_rf_register_definition() 851 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl88e_phy_init_bb_rf_register_definition() [all …]
|
D | rf.c | 22 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl88e_phy_rf6052_set_bandwidth() 28 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl88e_phy_rf6052_set_bandwidth() 55 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl88e_phy_rf6052_set_cck_txpower() 59 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl88e_phy_rf6052_set_cck_txpower() 67 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl88e_phy_rf6052_set_cck_txpower() 79 tx_agc[RF90_PATH_A] += tmpval; in rtl88e_phy_rf6052_set_cck_txpower() 88 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl88e_phy_rf6052_set_cck_txpower() 104 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl88e_phy_rf6052_set_cck_txpower() 111 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl88e_phy_rf6052_set_cck_txpower() 423 case RF90_PATH_A: in _rtl88e_phy_rf6052_config_parafile() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | rf.c | 22 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ce_phy_rf6052_set_bandwidth() 28 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ce_phy_rf6052_set_bandwidth() 53 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl92ce_phy_rf6052_set_cck_txpower() 57 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower() 65 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower() 75 tx_agc[RF90_PATH_A] += tmpval; in rtl92ce_phy_rf6052_set_cck_txpower() 83 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower() 92 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl92ce_phy_rf6052_set_cck_txpower() 99 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl92ce_phy_rf6052_set_cck_txpower() 419 case RF90_PATH_A: in _rtl92ce_phy_rf6052_config_parafile() [all …]
|
D | phy.c | 262 case RF90_PATH_A: in rtl92c_phy_config_rf_with_headerfile() 368 rf_a_mode = rtl_get_rfreg(hw, RF90_PATH_A, 0x00, MASK12BITS); in _rtl92ce_phy_lc_calibrate() 374 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, MASK12BITS, in _rtl92ce_phy_lc_calibrate() 381 lc_cal = rtl_get_rfreg(hw, RF90_PATH_A, 0x18, MASK12BITS); in _rtl92ce_phy_lc_calibrate() 383 rtl_set_rfreg(hw, RF90_PATH_A, 0x18, MASK12BITS, lc_cal | 0x08000); in _rtl92ce_phy_lc_calibrate() 389 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, MASK12BITS, rf_a_mode); in _rtl92ce_phy_lc_calibrate() 406 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, RFREG_OFFSET_MASK, 0x00); in _rtl92ce_phy_set_rf_sleep() 408 u4b_tmp = rtl_get_rfreg(hw, RF90_PATH_A, 0, RFREG_OFFSET_MASK); in _rtl92ce_phy_set_rf_sleep() 411 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, RFREG_OFFSET_MASK, 0x00); in _rtl92ce_phy_set_rf_sleep() 413 u4b_tmp = rtl_get_rfreg(hw, RF90_PATH_A, 0, RFREG_OFFSET_MASK); in _rtl92ce_phy_set_rf_sleep()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | rf.c | 22 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl8723e_phy_rf6052_set_bandwidth() 28 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl8723e_phy_rf6052_set_bandwidth() 53 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl8723e_phy_rf6052_set_cck_txpower() 57 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; in rtl8723e_phy_rf6052_set_cck_txpower() 66 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723e_phy_rf6052_set_cck_txpower() 78 tx_agc[RF90_PATH_A] += tmpval; in rtl8723e_phy_rf6052_set_cck_txpower() 87 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723e_phy_rf6052_set_cck_txpower() 96 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl8723e_phy_rf6052_set_cck_txpower() 103 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl8723e_phy_rf6052_set_cck_txpower() 428 case RF90_PATH_A: in _rtl8723e_phy_rf6052_config_parafile() [all …]
|
D | hal_bt_coexist.c | 392 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 394 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 396 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 398 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 400 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 411 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 413 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 415 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 417 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 419 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table()
|
D | phy.c | 498 case RF90_PATH_A: in rtl8723e_phy_config_rf_with_headerfile() 596 cckpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 597 rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 601 ofdmpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 602 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 606 ofdmpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 607 rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 889 rtl_set_rfreg(hw, RF90_PATH_A, RF_RX_G1, in _rtl8723e_phy_sw_rf_seting() 893 RF90_PATH_A, RF_RX_G1, in _rtl8723e_phy_sw_rf_seting() 895 rtl_set_rfreg(hw, RF90_PATH_A, RF_RX_G1, in _rtl8723e_phy_sw_rf_seting() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | rf.c | 64 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl92d_phy_rf6052_set_cck_txpower() 67 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower() 75 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower() 84 tx_agc[RF90_PATH_A] += tmpval; in rtl92d_phy_rf6052_set_cck_txpower() 91 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower() 100 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl92d_phy_rf6052_set_cck_txpower() 105 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl92d_phy_rf6052_set_cck_txpower() 494 if (rfpath == RF90_PATH_A) { in rtl92d_phy_rf6052_config() 500 rfpath = RF90_PATH_A; in rtl92d_phy_rf6052_config() 506 if (rfpath == RF90_PATH_A) in rtl92d_phy_rf6052_config() [all …]
|
D | phy.c | 255 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 270 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 389 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition() 399 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92d_phy_init_bb_rf_register_definition() 409 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92d_phy_init_bb_rf_register_definition() 415 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92d_phy_init_bb_rf_register_definition() 421 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92d_phy_init_bb_rf_register_definition() 428 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl92d_phy_init_bb_rf_register_definition() 435 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92d_phy_init_bb_rf_register_definition() 445 rtlphy->phyreg_def[RF90_PATH_A].rfhssi_para1 = RFPGA0_XA_HSSIPARAMETER1; in _rtl92d_phy_init_bb_rf_register_definition() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | rf.c | 22 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ee_phy_rf6052_set_bandwidth() 30 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ee_phy_rf6052_set_bandwidth() 67 case RF90_PATH_A: in _rtl92ee_phy_rf6052_config_parafile() 93 case RF90_PATH_A: in _rtl92ee_phy_rf6052_config_parafile() 108 case RF90_PATH_A: in _rtl92ee_phy_rf6052_config_parafile()
|
D | phy.c | 155 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read() 166 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read() 347 _rtl92ee_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl92ee_config_rf_radio_a() 485 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl92ee_phy_store_txpower_by_rate_base() 486 if (path == RF90_PATH_A) { in _rtl92ee_phy_store_txpower_by_rate_base() 555 for (rf = RF90_PATH_A; rf <= RF90_PATH_B; ++rf) { in phy_convert_txpwr_dbm_to_rel_val() 556 if (rf == RF90_PATH_A) { in phy_convert_txpwr_dbm_to_rel_val() 917 case RF90_PATH_A: in rtl92ee_phy_config_rf_with_headerfile() 1053 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in phy_init_bb_rf_register_def() 1056 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in phy_init_bb_rf_register_def() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | phy_common.c | 89 if (rfpath == RF90_PATH_A) in _rtl92c_phy_rf_serial_read() 103 if (rfpath == RF90_PATH_A) in _rtl92c_phy_rf_serial_read() 412 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92c_phy_init_bb_rf_register_definition() 417 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92c_phy_init_bb_rf_register_definition() 422 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92c_phy_init_bb_rf_register_definition() 425 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92c_phy_init_bb_rf_register_definition() 428 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92c_phy_init_bb_rf_register_definition() 433 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl92c_phy_init_bb_rf_register_definition() 438 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92c_phy_init_bb_rf_register_definition() 443 rtlphy->phyreg_def[RF90_PATH_A].rfhssi_para1 = RFPGA0_XA_HSSIPARAMETER1; in _rtl92c_phy_init_bb_rf_register_definition() [all …]
|
/drivers/staging/rtl8192u/ |
D | r819xU_phy.c | 49 if (e_rfpath == RF90_PATH_A || e_rfpath == RF90_PATH_B) in rtl8192_phy_CheckIsLegalRFPath() 556 priv->PHYRegDef[RF90_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in rtl8192_InitBBRFRegDef() 566 priv->PHYRegDef[RF90_PATH_A].rfintfi = rFPGA0_XAB_RFInterfaceRB; in rtl8192_InitBBRFRegDef() 576 priv->PHYRegDef[RF90_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; in rtl8192_InitBBRFRegDef() 586 priv->PHYRegDef[RF90_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; in rtl8192_InitBBRFRegDef() 595 priv->PHYRegDef[RF90_PATH_A].rf3wireOffset = rFPGA0_XA_LSSIParameter; in rtl8192_InitBBRFRegDef() 602 priv->PHYRegDef[RF90_PATH_A].rfLSSI_Select = rFPGA0_XAB_RFParameter; in rtl8192_InitBBRFRegDef() 608 priv->PHYRegDef[RF90_PATH_A].rfTxGainStage = rFPGA0_TxGainStage; in rtl8192_InitBBRFRegDef() 615 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara1 = rFPGA0_XA_HSSIParameter1; in rtl8192_InitBBRFRegDef() 622 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara2 = rFPGA0_XA_HSSIParameter2; in rtl8192_InitBBRFRegDef() [all …]
|
D | r8190_rtl8256.c | 124 for (eRFPath = (enum rf90_radio_path_e)RF90_PATH_A; eRFPath < priv->NumTotalRFPath; eRFPath++) { in phy_rf8256_config_para_file() 135 case RF90_PATH_A: in phy_rf8256_config_para_file() 169 case RF90_PATH_A: in phy_rf8256_config_para_file() 205 case RF90_PATH_A: in phy_rf8256_config_para_file()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_phy.c | 58 if (eRFPath == RF90_PATH_A || eRFPath == RF90_PATH_B) in rtl92e_is_legal_rf_path() 382 priv->PHYRegDef[RF90_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in _rtl92e_init_bb_rf_reg_def() 387 priv->PHYRegDef[RF90_PATH_A].rfintfi = rFPGA0_XAB_RFInterfaceRB; in _rtl92e_init_bb_rf_reg_def() 392 priv->PHYRegDef[RF90_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; in _rtl92e_init_bb_rf_reg_def() 397 priv->PHYRegDef[RF90_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; in _rtl92e_init_bb_rf_reg_def() 402 priv->PHYRegDef[RF90_PATH_A].rf3wireOffset = rFPGA0_XA_LSSIParameter; in _rtl92e_init_bb_rf_reg_def() 407 priv->PHYRegDef[RF90_PATH_A].rfLSSI_Select = rFPGA0_XAB_RFParameter; in _rtl92e_init_bb_rf_reg_def() 412 priv->PHYRegDef[RF90_PATH_A].rfTxGainStage = rFPGA0_TxGainStage; in _rtl92e_init_bb_rf_reg_def() 417 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara1 = rFPGA0_XA_HSSIParameter1; in _rtl92e_init_bb_rf_reg_def() 422 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara2 = rFPGA0_XA_HSSIParameter2; in _rtl92e_init_bb_rf_reg_def() [all …]
|