/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 237 if (rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A] <= in rtl8821ae_dm_txpower_track_adjust() 238 rtlpriv->dm.swing_idx_ofdm_base[RF90_PATH_A]) { in rtl8821ae_dm_txpower_track_adjust() 240 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() 278 for (p = RF90_PATH_A; p <= RF90_PATH_B; ++p) { in rtl8821ae_dm_clear_txpower_tracking_state() 307 RF90_PATH_A); in rtl8821ae_dm_get_swing_index() 339 for (p = RF90_PATH_A; p < MAX_RF_PATH; ++p) { in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter() 896 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 | 219 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 231 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 238 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 692 rtlpriv->dm.ofdm_index[RF90_PATH_A]); in rtl8821ae_phy_switch_wirelessband() 699 phy_get_tx_swing_8812A(hw, band, RF90_PATH_A)); in rtl8821ae_phy_switch_wirelessband() 856 RF90_PATH_A, addr | maskforphyset); in _rtl8821ae_config_rf_radio_a() 1054 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl8821ae_phy_store_txpower_by_rate_base() 1138 [bw][rate_section][channel][RF90_PATH_A]; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() 1143 1, bw, rate_section, channel, RF90_PATH_A); in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() 1145 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 | 80 if (rfpath == RF90_PATH_A) in rtl8723_phy_rf_serial_read() 92 if (rfpath == RF90_PATH_A) in rtl8723_phy_rf_serial_read() 165 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def() 170 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in rtl8723_phy_init_bb_rf_reg_def() 175 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in rtl8723_phy_init_bb_rf_reg_def() 178 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in rtl8723_phy_init_bb_rf_reg_def() 181 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in rtl8723_phy_init_bb_rf_reg_def() 186 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in rtl8723_phy_init_bb_rf_reg_def() 191 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in rtl8723_phy_init_bb_rf_reg_def() 196 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 | 77 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 97 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 672 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92s_phy_init_register_definition() 678 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92s_phy_init_register_definition() 684 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92s_phy_init_register_definition() 690 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92s_phy_init_register_definition() 696 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92s_phy_init_register_definition() 706 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl92s_phy_init_register_definition() 712 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92s_phy_init_register_definition() 718 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 | 234 _rtl8723be_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl8723be_config_rf_radio_a() 370 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl8723be_phy_store_txpower_by_rate_base() 371 if (path == RF90_PATH_A) { in _rtl8723be_phy_store_txpower_by_rate_base() 440 u8 base = 0, rfpath = RF90_PATH_A; in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() 752 case RF90_PATH_A: in rtl8723be_phy_config_rf_with_headerfile() 815 if (path == RF90_PATH_A) in _rtl8723be_phy_get_ratesection_intxpower_byrate() 997 if (path == RF90_PATH_A) { in _rtl8723be_phy_set_txpower_index() 1130 power_index = _rtl8723be_get_txpower_index(hw, RF90_PATH_A, in rtl8723be_phy_set_txpower_level() 1134 _rtl8723be_phy_set_txpower_index(hw, power_index, RF90_PATH_A, in rtl8723be_phy_set_txpower_level() 1138 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 | 158 if (rfpath == RF90_PATH_A) in _rtl88e_phy_rf_serial_read() 169 if (rfpath == RF90_PATH_A) in _rtl88e_phy_rf_serial_read() 306 _rtl8188e_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl8188e_config_rf_radio_a() 764 case RF90_PATH_A: in rtl88e_phy_config_rf_with_headerfile() 811 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl88e_phy_init_bb_rf_register_definition() 816 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl88e_phy_init_bb_rf_register_definition() 821 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl88e_phy_init_bb_rf_register_definition() 824 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl88e_phy_init_bb_rf_register_definition() 827 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl88e_phy_init_bb_rf_register_definition() 832 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 | 493 case RF90_PATH_A: in rtl8723e_phy_config_rf_with_headerfile() 591 cckpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 592 rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 596 ofdmpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 597 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 601 ofdmpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 602 rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 884 rtl_set_rfreg(hw, RF90_PATH_A, RF_RX_G1, in _rtl8723e_phy_sw_rf_seting() 888 RF90_PATH_A, RF_RX_G1, in _rtl8723e_phy_sw_rf_seting() 890 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 | 252 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 267 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 384 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition() 394 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92d_phy_init_bb_rf_register_definition() 404 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92d_phy_init_bb_rf_register_definition() 410 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92d_phy_init_bb_rf_register_definition() 416 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92d_phy_init_bb_rf_register_definition() 423 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl92d_phy_init_bb_rf_register_definition() 430 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92d_phy_init_bb_rf_register_definition() 440 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 | 152 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read() 162 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read() 332 _rtl92ee_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl92ee_config_rf_radio_a() 470 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl92ee_phy_store_txpower_by_rate_base() 471 if (path == RF90_PATH_A) { in _rtl92ee_phy_store_txpower_by_rate_base() 540 for (rf = RF90_PATH_A; rf <= RF90_PATH_B; ++rf) { in phy_convert_txpwr_dbm_to_rel_val() 541 if (rf == RF90_PATH_A) { in phy_convert_txpwr_dbm_to_rel_val() 902 case RF90_PATH_A: in rtl92ee_phy_config_rf_with_headerfile() 1038 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in phy_init_bb_rf_register_def() 1041 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() 400 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92c_phy_init_bb_rf_register_definition() 405 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92c_phy_init_bb_rf_register_definition() 410 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92c_phy_init_bb_rf_register_definition() 413 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92c_phy_init_bb_rf_register_definition() 416 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92c_phy_init_bb_rf_register_definition() 421 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl92c_phy_init_bb_rf_register_definition() 426 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92c_phy_init_bb_rf_register_definition() 431 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() 549 priv->PHYRegDef[RF90_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in rtl8192_InitBBRFRegDef() 559 priv->PHYRegDef[RF90_PATH_A].rfintfi = rFPGA0_XAB_RFInterfaceRB; in rtl8192_InitBBRFRegDef() 569 priv->PHYRegDef[RF90_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; in rtl8192_InitBBRFRegDef() 579 priv->PHYRegDef[RF90_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; in rtl8192_InitBBRFRegDef() 588 priv->PHYRegDef[RF90_PATH_A].rf3wireOffset = rFPGA0_XA_LSSIParameter; in rtl8192_InitBBRFRegDef() 595 priv->PHYRegDef[RF90_PATH_A].rfLSSI_Select = rFPGA0_XAB_RFParameter; in rtl8192_InitBBRFRegDef() 601 priv->PHYRegDef[RF90_PATH_A].rfTxGainStage = rFPGA0_TxGainStage; in rtl8192_InitBBRFRegDef() 608 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara1 = rFPGA0_XA_HSSIParameter1; in rtl8192_InitBBRFRegDef() 615 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 …]
|