/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 411 if (rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A] <= in rtl8821ae_dm_txpower_track_adjust() 412 rtlpriv->dm.swing_idx_ofdm_base[RF90_PATH_A]) { in rtl8821ae_dm_txpower_track_adjust() 414 pwr_val = rtldm->swing_idx_ofdm_base[RF90_PATH_A] - in rtl8821ae_dm_txpower_track_adjust() 415 rtldm->swing_idx_ofdm[RF90_PATH_A]; in rtl8821ae_dm_txpower_track_adjust() 418 pwr_val = rtldm->swing_idx_ofdm[RF90_PATH_A] - in rtl8821ae_dm_txpower_track_adjust() 419 rtldm->swing_idx_ofdm_base[RF90_PATH_A]; in rtl8821ae_dm_txpower_track_adjust() 452 for (p = RF90_PATH_A; p <= RF90_PATH_B; ++p) { in rtl8821ae_dm_clear_txpower_tracking_state() 481 RF90_PATH_A); in rtl8821ae_dm_get_swing_index() 513 for (p = RF90_PATH_A; p < MAX_RF_PATH; ++p) { in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter() 1072 rtl_set_rfreg(hw, RF90_PATH_A, RF_T_METER_88E, in rtl8812ae_dm_check_txpower_tracking_thermalmeter() [all …]
|
D | rf.c | 39 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, BIT(11)|BIT(10), 3); in rtl8821ae_phy_rf6052_set_bandwidth() 43 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, BIT(11)|BIT(10), 1); in rtl8821ae_phy_rf6052_set_bandwidth() 47 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, BIT(11)|BIT(10), 0); in rtl8821ae_phy_rf6052_set_bandwidth() 74 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl8821ae_phy_rf6052_set_cck_txpower() 78 for (idx1 = RF90_PATH_A; in rtl8821ae_phy_rf6052_set_cck_txpower() 88 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8821ae_phy_rf6052_set_cck_txpower() 100 tx_agc[RF90_PATH_A] += tmpval; in rtl8821ae_phy_rf6052_set_cck_txpower() 109 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8821ae_phy_rf6052_set_cck_txpower() 125 tmpval = tx_agc[RF90_PATH_A]; in rtl8821ae_phy_rf6052_set_cck_txpower() 425 case RF90_PATH_A: { in _rtl8821ae_phy_rf6052_config_parafile()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
D | phy_common.c | 106 if (rfpath == RF90_PATH_A) in rtl8723_phy_rf_serial_read() 120 if (rfpath == RF90_PATH_A) in rtl8723_phy_rf_serial_read() 193 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def() 198 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in rtl8723_phy_init_bb_rf_reg_def() 203 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in rtl8723_phy_init_bb_rf_reg_def() 206 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in rtl8723_phy_init_bb_rf_reg_def() 209 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in rtl8723_phy_init_bb_rf_reg_def() 214 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in rtl8723_phy_init_bb_rf_reg_def() 219 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in rtl8723_phy_init_bb_rf_reg_def() 224 rtlphy->phyreg_def[RF90_PATH_A].rfhssi_para1 = RFPGA0_XA_HSSIPARAMETER1; in rtl8723_phy_init_bb_rf_reg_def() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | rf.c | 53 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_powerbase() 101 [RF90_PATH_A][ in _rtl92s_get_powerbase() 108 [RF90_PATH_A][ in _rtl92s_get_powerbase() 244 [RF90_PATH_A][chnl - 1]); in _rtl92s_get_txpower_writeval_byregulatory() 249 [RF90_PATH_A][chnl - 1]); in _rtl92s_get_txpower_writeval_byregulatory() 261 [RF90_PATH_A][chnl - 1]) { in _rtl92s_get_txpower_writeval_byregulatory() 264 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_txpower_writeval_byregulatory() 269 [RF90_PATH_A][chnl - 1]) { in _rtl92s_get_txpower_writeval_byregulatory() 272 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_txpower_writeval_byregulatory() 436 case RF90_PATH_A: in rtl92s_phy_rf6052_config() [all …]
|
D | phy.c | 111 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 131 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 707 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92s_phy_init_register_definition() 713 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92s_phy_init_register_definition() 719 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92s_phy_init_register_definition() 725 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92s_phy_init_register_definition() 731 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92s_phy_init_register_definition() 741 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl92s_phy_init_register_definition() 747 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92s_phy_init_register_definition() 753 rtlphy->phyreg_def[RF90_PATH_A].rfhssi_para1 = RFPGA0_XA_HSSIPARAMETER1; in _rtl92s_phy_init_register_definition() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | rf.c | 44 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92cu_phy_rf6052_set_bandwidth() 50 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92cu_phy_rf6052_set_bandwidth() 74 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl92cu_phy_rf6052_set_cck_txpower() 76 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower() 87 tx_agc[RF90_PATH_A] = 0x10101010; in rtl92cu_phy_rf6052_set_cck_txpower() 91 tx_agc[RF90_PATH_A] = 0x00000000; in rtl92cu_phy_rf6052_set_cck_txpower() 94 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower() 103 tx_agc[RF90_PATH_A] += tmpval; in rtl92cu_phy_rf6052_set_cck_txpower() 110 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower() 118 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl92cu_phy_rf6052_set_cck_txpower() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.c | 185 u8 ofdm_base = rtlpriv->dm.swing_idx_ofdm_base[RF90_PATH_A]; in rtl8723be_dm_txpower_track_adjust() 186 u8 ofdm_val = rtlpriv->dm.swing_idx_ofdm[RF90_PATH_A]; in rtl8723be_dm_txpower_track_adjust() 246 rtlpriv->dm.delta_power_index[RF90_PATH_A] = 0; in rtl8723be_dm_init_txpower_tracking() 247 rtlpriv->dm.delta_power_index_last[RF90_PATH_A] = 0; in rtl8723be_dm_init_txpower_tracking() 248 rtlpriv->dm.power_index_offset[RF90_PATH_A] = 0; in rtl8723be_dm_init_txpower_tracking() 642 case RF90_PATH_A: in rtl8723be_set_iqk_matrix() 658 case RF90_PATH_A: in rtl8723be_set_iqk_matrix() 721 if (rfpath == RF90_PATH_A) { in rtl8723be_dm_tx_power_track_set_power() 722 if (rtldm->swing_idx_ofdm[RF90_PATH_A] < in rtl8723be_dm_tx_power_track_set_power() 725 rtldm->swing_idx_ofdm[RF90_PATH_A]; in rtl8723be_dm_tx_power_track_set_power() [all …]
|
D | rf.c | 44 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl8723be_phy_rf6052_set_bandwidth() 50 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl8723be_phy_rf6052_set_bandwidth() 77 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl8723be_phy_rf6052_set_cck_txpower() 81 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723be_phy_rf6052_set_cck_txpower() 89 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723be_phy_rf6052_set_cck_txpower() 100 tx_agc[RF90_PATH_A] += tmpval; in rtl8723be_phy_rf6052_set_cck_txpower() 109 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723be_phy_rf6052_set_cck_txpower() 125 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl8723be_phy_rf6052_set_cck_txpower() 132 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl8723be_phy_rf6052_set_cck_txpower() 449 case RF90_PATH_A: in _rtl8723be_phy_rf6052_config_parafile() [all …]
|
D | phy.c | 258 _rtl8723be_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl8723be_config_rf_radio_a() 394 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl8723be_phy_store_txpower_by_rate_base() 395 if (path == RF90_PATH_A) { in _rtl8723be_phy_store_txpower_by_rate_base() 464 u8 base = 0, rfpath = RF90_PATH_A; in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() 776 case RF90_PATH_A: in rtl8723be_phy_config_rf_with_headerfile() 839 if (path == RF90_PATH_A) in _rtl8723be_phy_get_ratesection_intxpower_byrate() 1021 if (path == RF90_PATH_A) { in _rtl8723be_phy_set_txpower_index() 1154 power_index = _rtl8723be_get_txpower_index(hw, RF90_PATH_A, in rtl8723be_phy_set_txpower_level() 1158 _rtl8723be_phy_set_txpower_index(hw, power_index, RF90_PATH_A, in rtl8723be_phy_set_txpower_level() 1162 power_index = _rtl8723be_get_txpower_index(hw, RF90_PATH_A, in rtl8723be_phy_set_txpower_level() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | phy.c | 183 if (rfpath == RF90_PATH_A) in _rtl88e_phy_rf_serial_read() 194 if (rfpath == RF90_PATH_A) in _rtl88e_phy_rf_serial_read() 342 _rtl8188e_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl8188e_config_rf_radio_a() 805 case RF90_PATH_A: in rtl88e_phy_config_rf_with_headerfile() 852 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl88e_phy_init_bb_rf_register_definition() 857 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl88e_phy_init_bb_rf_register_definition() 862 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl88e_phy_init_bb_rf_register_definition() 865 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl88e_phy_init_bb_rf_register_definition() 868 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl88e_phy_init_bb_rf_register_definition() 873 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl88e_phy_init_bb_rf_register_definition() [all …]
|
D | rf.c | 44 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl88e_phy_rf6052_set_bandwidth() 50 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl88e_phy_rf6052_set_bandwidth() 77 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl88e_phy_rf6052_set_cck_txpower() 81 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl88e_phy_rf6052_set_cck_txpower() 89 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl88e_phy_rf6052_set_cck_txpower() 101 tx_agc[RF90_PATH_A] += tmpval; in rtl88e_phy_rf6052_set_cck_txpower() 110 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl88e_phy_rf6052_set_cck_txpower() 126 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl88e_phy_rf6052_set_cck_txpower() 133 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl88e_phy_rf6052_set_cck_txpower() 445 case RF90_PATH_A: in _rtl88e_phy_rf6052_config_parafile() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | rf.c | 44 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ee_phy_rf6052_set_bandwidth() 52 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ee_phy_rf6052_set_bandwidth() 89 case RF90_PATH_A: in _rtl92ee_phy_rf6052_config_parafile() 115 case RF90_PATH_A: in _rtl92ee_phy_rf6052_config_parafile() 130 case RF90_PATH_A: in _rtl92ee_phy_rf6052_config_parafile()
|
D | phy.c | 177 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read() 188 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read() 369 _rtl92ee_config_rf_reg(hw, addr, data, RF90_PATH_A, in _rtl92ee_config_rf_radio_a() 507 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl92ee_phy_store_txpower_by_rate_base() 508 if (path == RF90_PATH_A) { in _rtl92ee_phy_store_txpower_by_rate_base() 577 for (rf = RF90_PATH_A; rf <= RF90_PATH_B; ++rf) { in phy_convert_txpwr_dbm_to_rel_val() 578 if (rf == RF90_PATH_A) { in phy_convert_txpwr_dbm_to_rel_val() 939 case RF90_PATH_A: in rtl92ee_phy_config_rf_with_headerfile() 1075 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in phy_init_bb_rf_register_def() 1078 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in phy_init_bb_rf_register_def() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | rf.c | 44 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl8723e_phy_rf6052_set_bandwidth() 50 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl8723e_phy_rf6052_set_bandwidth() 75 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl8723e_phy_rf6052_set_cck_txpower() 79 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; in rtl8723e_phy_rf6052_set_cck_txpower() 88 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723e_phy_rf6052_set_cck_txpower() 100 tx_agc[RF90_PATH_A] += tmpval; in rtl8723e_phy_rf6052_set_cck_txpower() 109 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723e_phy_rf6052_set_cck_txpower() 118 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl8723e_phy_rf6052_set_cck_txpower() 125 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl8723e_phy_rf6052_set_cck_txpower() 450 case RF90_PATH_A: in _rtl8723e_phy_rf6052_config_parafile() [all …]
|
D | hal_bt_coexist.c | 414 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 416 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 418 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 420 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 422 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 433 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 435 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 437 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 439 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table() 441 rtl8723e_phy_set_rf_reg(hw, RF90_PATH_A, in rtl8723e_dm_bt_agc_table()
|
D | phy.c | 523 case RF90_PATH_A: in rtl8723e_phy_config_rf_with_headerfile() 621 cckpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 622 rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 626 ofdmpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 627 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 631 ofdmpowerlevel[RF90_PATH_A] = in _rtl8723e_get_txpower_index() 632 rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_A][index]; in _rtl8723e_get_txpower_index() 914 rtl_set_rfreg(hw, RF90_PATH_A, RF_RX_G1, in _rtl8723e_phy_sw_rf_seting() 918 RF90_PATH_A, RF_RX_G1, in _rtl8723e_phy_sw_rf_seting() 920 rtl_set_rfreg(hw, RF90_PATH_A, RF_RX_G1, in _rtl8723e_phy_sw_rf_seting() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | rf.c | 44 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ce_phy_rf6052_set_bandwidth() 50 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK, in rtl92ce_phy_rf6052_set_bandwidth() 75 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl92ce_phy_rf6052_set_cck_txpower() 79 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower() 87 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower() 97 tx_agc[RF90_PATH_A] += tmpval; in rtl92ce_phy_rf6052_set_cck_txpower() 105 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower() 114 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl92ce_phy_rf6052_set_cck_txpower() 121 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl92ce_phy_rf6052_set_cck_txpower() 441 case RF90_PATH_A: in _rtl92ce_phy_rf6052_config_parafile() [all …]
|
D | phy.c | 284 case RF90_PATH_A: in rtl92c_phy_config_rf_with_headerfile() 390 rf_a_mode = rtl_get_rfreg(hw, RF90_PATH_A, 0x00, MASK12BITS); in _rtl92ce_phy_lc_calibrate() 396 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, MASK12BITS, in _rtl92ce_phy_lc_calibrate() 403 lc_cal = rtl_get_rfreg(hw, RF90_PATH_A, 0x18, MASK12BITS); in _rtl92ce_phy_lc_calibrate() 405 rtl_set_rfreg(hw, RF90_PATH_A, 0x18, MASK12BITS, lc_cal | 0x08000); in _rtl92ce_phy_lc_calibrate() 411 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, MASK12BITS, rf_a_mode); in _rtl92ce_phy_lc_calibrate() 428 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, RFREG_OFFSET_MASK, 0x00); in _rtl92ce_phy_set_rf_sleep() 430 u4b_tmp = rtl_get_rfreg(hw, RF90_PATH_A, 0, RFREG_OFFSET_MASK); in _rtl92ce_phy_set_rf_sleep() 433 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, RFREG_OFFSET_MASK, 0x00); in _rtl92ce_phy_set_rf_sleep() 435 u4b_tmp = rtl_get_rfreg(hw, RF90_PATH_A, 0, RFREG_OFFSET_MASK); in _rtl92ce_phy_set_rf_sleep()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | rf.c | 86 tx_agc[RF90_PATH_A] = 0x3f3f3f3f; in rtl92d_phy_rf6052_set_cck_txpower() 89 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower() 97 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower() 106 tx_agc[RF90_PATH_A] += tmpval; in rtl92d_phy_rf6052_set_cck_txpower() 113 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower() 122 tmpval = tx_agc[RF90_PATH_A] & 0xff; in rtl92d_phy_rf6052_set_cck_txpower() 127 tmpval = tx_agc[RF90_PATH_A] >> 8; in rtl92d_phy_rf6052_set_cck_txpower() 516 if (rfpath == RF90_PATH_A) { in rtl92d_phy_rf6052_config() 522 rfpath = RF90_PATH_A; in rtl92d_phy_rf6052_config() 528 if (rfpath == RF90_PATH_A) in rtl92d_phy_rf6052_config() [all …]
|
D | phy.c | 277 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 292 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 411 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition() 421 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92d_phy_init_bb_rf_register_definition() 431 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92d_phy_init_bb_rf_register_definition() 437 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92d_phy_init_bb_rf_register_definition() 443 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92d_phy_init_bb_rf_register_definition() 450 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = RFPGA0_XAB_RFPARAMETER; in _rtl92d_phy_init_bb_rf_register_definition() 457 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92d_phy_init_bb_rf_register_definition() 467 rtlphy->phyreg_def[RF90_PATH_A].rfhssi_para1 = RFPGA0_XA_HSSIPARAMETER1; in _rtl92d_phy_init_bb_rf_register_definition() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | phy_common.c | 111 if (rfpath == RF90_PATH_A) in _rtl92c_phy_rf_serial_read() 125 if (rfpath == RF90_PATH_A) in _rtl92c_phy_rf_serial_read() 434 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92c_phy_init_bb_rf_register_definition() 439 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in _rtl92c_phy_init_bb_rf_register_definition() 444 rtlphy->phyreg_def[RF90_PATH_A].rfintfo = RFPGA0_XA_RFINTERFACEOE; in _rtl92c_phy_init_bb_rf_register_definition() 447 rtlphy->phyreg_def[RF90_PATH_A].rfintfe = RFPGA0_XA_RFINTERFACEOE; in _rtl92c_phy_init_bb_rf_register_definition() 450 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in _rtl92c_phy_init_bb_rf_register_definition() 455 rtlphy->phyreg_def[RF90_PATH_A].rflssi_select = rFPGA0_XAB_RFPARAMETER; in _rtl92c_phy_init_bb_rf_register_definition() 460 rtlphy->phyreg_def[RF90_PATH_A].rftxgain_stage = RFPGA0_TXGAINSTAGE; in _rtl92c_phy_init_bb_rf_register_definition() 465 rtlphy->phyreg_def[RF90_PATH_A].rfhssi_para1 = RFPGA0_XA_HSSIPARAMETER1; in _rtl92c_phy_init_bb_rf_register_definition() [all …]
|
/Linux-v4.19/drivers/staging/rtl8192u/ |
D | r819xU_phy.c | 49 if (e_rfpath == RF90_PATH_A || e_rfpath == RF90_PATH_B) in rtl8192_phy_CheckIsLegalRFPath() 565 priv->PHYRegDef[RF90_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in rtl8192_InitBBRFRegDef() 575 priv->PHYRegDef[RF90_PATH_A].rfintfi = rFPGA0_XAB_RFInterfaceRB; in rtl8192_InitBBRFRegDef() 585 priv->PHYRegDef[RF90_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; in rtl8192_InitBBRFRegDef() 595 priv->PHYRegDef[RF90_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; in rtl8192_InitBBRFRegDef() 604 priv->PHYRegDef[RF90_PATH_A].rf3wireOffset = rFPGA0_XA_LSSIParameter; in rtl8192_InitBBRFRegDef() 611 priv->PHYRegDef[RF90_PATH_A].rfLSSI_Select = rFPGA0_XAB_RFParameter; in rtl8192_InitBBRFRegDef() 617 priv->PHYRegDef[RF90_PATH_A].rfTxGainStage = rFPGA0_TxGainStage; in rtl8192_InitBBRFRegDef() 624 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara1 = rFPGA0_XA_HSSIParameter1; in rtl8192_InitBBRFRegDef() 631 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara2 = rFPGA0_XA_HSSIParameter2; in rtl8192_InitBBRFRegDef() [all …]
|
D | r8190_rtl8256.c | 118 for (eRFPath = (enum rf90_radio_path_e)RF90_PATH_A; eRFPath < priv->NumTotalRFPath; eRFPath++) { in phy_RF8256_Config_ParaFile() 129 case RF90_PATH_A: in phy_RF8256_Config_ParaFile() 163 case RF90_PATH_A: in phy_RF8256_Config_ParaFile() 199 case RF90_PATH_A: in phy_RF8256_Config_ParaFile()
|
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_phy.c | 67 if (eRFPath == RF90_PATH_A || eRFPath == RF90_PATH_B) in rtl92e_is_legal_rf_path() 394 priv->PHYRegDef[RF90_PATH_A].rfintfs = rFPGA0_XAB_RFInterfaceSW; in _rtl92e_init_bb_rf_reg_def() 399 priv->PHYRegDef[RF90_PATH_A].rfintfi = rFPGA0_XAB_RFInterfaceRB; in _rtl92e_init_bb_rf_reg_def() 404 priv->PHYRegDef[RF90_PATH_A].rfintfo = rFPGA0_XA_RFInterfaceOE; in _rtl92e_init_bb_rf_reg_def() 409 priv->PHYRegDef[RF90_PATH_A].rfintfe = rFPGA0_XA_RFInterfaceOE; in _rtl92e_init_bb_rf_reg_def() 414 priv->PHYRegDef[RF90_PATH_A].rf3wireOffset = rFPGA0_XA_LSSIParameter; in _rtl92e_init_bb_rf_reg_def() 419 priv->PHYRegDef[RF90_PATH_A].rfLSSI_Select = rFPGA0_XAB_RFParameter; in _rtl92e_init_bb_rf_reg_def() 424 priv->PHYRegDef[RF90_PATH_A].rfTxGainStage = rFPGA0_TxGainStage; in _rtl92e_init_bb_rf_reg_def() 429 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara1 = rFPGA0_XA_HSSIParameter1; in _rtl92e_init_bb_rf_reg_def() 434 priv->PHYRegDef[RF90_PATH_A].rfHSSIPara2 = rFPGA0_XA_HSSIParameter2; in _rtl92e_init_bb_rf_reg_def() [all …]
|
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/ |
D | phy.c | 345 for (path = RF90_PATH_A; path <= RF90_PATH_B; path++) { in _rtl8822be_phy_store_txpower_by_rate_base() 394 [channel][RF90_PATH_A]; in __rtl8822be_phy_cross_reference_core() 399 [RF90_PATH_A]; in __rtl8822be_phy_cross_reference_core() 404 [RF90_PATH_A] = ref_pwrlmt; in __rtl8822be_phy_cross_reference_core() 445 [channel][RF90_PATH_A]; in __rtl8822be_txpwr_limit_to_index_2g() 451 for (rf_path = RF90_PATH_A; rf_path < MAX_RF_PATH_NUM; in __rtl8822be_txpwr_limit_to_index_2g() 497 [channel][RF90_PATH_A]; in __rtl8822be_txpwr_limit_to_index_5g() 503 for (rf_path = RF90_PATH_A; rf_path < MAX_RF_PATH_NUM; in __rtl8822be_txpwr_limit_to_index_5g() 599 for (path = RF90_PATH_A; path <= RF90_PATH_B; ++path) { in _rtl8822be_phy_convert_txpower_dbm_to_relative_value() 826 [RF90_PATH_A]; in rtl8822be_phy_set_txpower_limit() [all …]
|