| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| A D | phy.c | 234 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl92ee_phy_bb_config() 362 rtl_set_bbreg(hw, addr, MASKDWORD , data); in _rtl92ee_config_bb_reg() 725 rtl_set_bbreg(hw, array[i], MASKDWORD, in phy_config_bb_with_hdr_file() 753 rtl_set_bbreg(hw, in phy_config_bb_with_hdr_file() 1691 rtl_set_bbreg(hw, ROFDM0_TXPSEUDONOISEWGT, in rtl92ee_phy_set_bw_mode_callback() 1699 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, in rtl92ee_phy_set_bw_mode_callback() 2389 rtl_set_bbreg(hw, 0x520, 0x00ff0000, 0xff); in _rtl92ee_phy_mac_setting_calibration() 2394 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in _rtl92ee_phy_path_a_standby() 2633 rtl_set_bbreg(hw, RFPGA0_IQK, MASKDWORD, 0); in _rtl92ee_phy_iq_calibrate() 2650 rtl_set_bbreg(hw, 0xc50, MASKBYTE0, 0x50); in _rtl92ee_phy_iq_calibrate() [all …]
|
| A D | rf.c | 79 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl92ee_phy_rf6052_config_parafile() 82 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl92ee_phy_rf6052_config_parafile() 85 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl92ee_phy_rf6052_config_parafile() 89 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl92ee_phy_rf6052_config_parafile() 110 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile() 115 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile()
|
| A D | dm.c | 21 rtl_set_bbreg(hw, DM_REG_OFDM_FA_HOLDC_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 22 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 50 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(12), 1); in rtl92ee_dm_false_alarm_counter_statistics() 51 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(14), 1); in rtl92ee_dm_false_alarm_counter_statistics() 75 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 76 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 0); in rtl92ee_dm_false_alarm_counter_statistics() 675 rtl_set_bbreg(hw, ROFDM1_CFOTRACKING, BIT(11), in rtl92ee_dm_dynamic_atc_switch() 692 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl92ee_dm_dynamic_atc_switch() 748 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl92ee_dm_dynamic_atc_switch() 755 rtl_set_bbreg(hw, ROFDM1_CFOTRACKING, BIT(11), in rtl92ee_dm_dynamic_atc_switch() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
| A D | phy.c | 305 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92du_phy_config_bb() 431 rtl_set_bbreg(hw, REG_AFE_XTAL_CTRL, 0xf0, in rtl92du_phy_bb_config() 572 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, in rtl92du_phy_set_bw_mode() 574 rtl_set_bbreg(hw, 0x818, BIT(26) | BIT(27), in rtl92du_phy_set_bw_mode() 704 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, in _rtl92du_phy_reload_imr_setting() 714 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, in _rtl92du_phy_reload_imr_setting() 977 rtl_set_bbreg(hw, RRX_IQK_PI_A, MASKDWORD, in _rtl92du_phy_patha_iqk() 1604 rtl_set_bbreg(hw, RPDP_ANTA, MASKDWORD, 0); in _rtl92du_phy_iq_calibrate_5g_normal() 2775 rtl_set_bbreg(hw, 0xB30, 0x00F00000, 0xa); in rtl92du_update_bbrf_configuration() 2859 rtl_set_bbreg(hw, 0xB30, BIT(27), 0); in rtl92du_update_bbrf_configuration() [all …]
|
| A D | rf.c | 174 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in rtl92du_phy_rf6052_config() 176 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in rtl92du_phy_rf6052_config() 180 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in rtl92du_phy_rf6052_config() 183 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in rtl92du_phy_rf6052_config() 211 rtl_set_bbreg(hw, pphyreg->rfintfs, BRFSI_RFENV, in rtl92du_phy_rf6052_config() 216 rtl_set_bbreg(hw, pphyreg->rfintfs, BRFSI_RFENV << 16, in rtl92du_phy_rf6052_config()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| A D | phy.c | 53 rtl_set_bbreg(hw, RRFMOD, 0xC00, 0x3); in rtl8812ae_fixspur() 56 rtl_set_bbreg(hw, RRFMOD, 0xC00, 0x2); in rtl8812ae_fixspur() 64 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x3); in rtl8812ae_fixspur() 73 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x2); in rtl8812ae_fixspur() 84 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x3); in rtl8812ae_fixspur() 87 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x2); in rtl8812ae_fixspur() 209 rtl_set_bbreg(hw, RCCAONSEC, 0x8, 1); in _rtl8821ae_phy_rf_serial_read() 246 rtl_set_bbreg(hw, RCCAONSEC, 0x8, 0); in _rtl8821ae_phy_rf_serial_read() 610 rtl_set_bbreg(hw, 0x834, 0x3, 0x1); in rtl8821ae_phy_switch_wirelessband() 618 rtl_set_bbreg(hw, 0x82c, 0x3, 0); in rtl8821ae_phy_switch_wirelessband() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| A D | phy.c | 304 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92d_phy_config_bb_with_headerfile() 320 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92d_phy_config_bb_with_headerfile() 335 rtl_set_bbreg(hw, in _rtl92d_phy_config_bb_with_headerfile() 596 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0); in _rtl92d_phy_stop_trx_before_changeband() 597 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0); in _rtl92d_phy_stop_trx_before_changeband() 697 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, in _rtl92d_phy_reload_imr_setting() 1182 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in _rtl92d_phy_patha_standby() 1195 rtl_set_bbreg(hw, 0x820, MASKDWORD, mode); in _rtl92d_phy_pimode_switch() 1196 rtl_set_bbreg(hw, 0x828, MASKDWORD, mode); in _rtl92d_phy_pimode_switch() 1338 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0); in _rtl92d_phy_iq_calibrate() [all …]
|
| A D | rf.c | 161 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in rtl92d_phy_rf6052_config() 163 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in rtl92d_phy_rf6052_config() 167 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in rtl92d_phy_rf6052_config() 171 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in rtl92d_phy_rf6052_config() 197 rtl_set_bbreg(hw, pphyreg->rfintfs, BRFSI_RFENV, in rtl92d_phy_rf6052_config() 202 rtl_set_bbreg(hw, pphyreg->rfintfs, BRFSI_RFENV << 16, in rtl92d_phy_rf6052_config()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| A D | phy.c | 121 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl8723be_phy_bb_config() 272 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8723be_config_bb_reg() 1229 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl8723be_phy_set_bw_mode_callback() 1230 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl8723be_phy_set_bw_mode_callback() 1234 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl8723be_phy_set_bw_mode_callback() 2058 rtl_set_bbreg(hw, 0xa04, 0x0f000000, 0xf); in _rtl8723be_phy_iq_calibrate() 2136 rtl_set_bbreg(hw, RFPGA0_IQK, MASKDWORD, 0); in _rtl8723be_phy_iq_calibrate() 2150 rtl_set_bbreg(hw, 0xc50, MASKBYTE0, 0x50); in _rtl8723be_phy_iq_calibrate() 2153 rtl_set_bbreg(hw, 0xc58, MASKBYTE0, 0x50); in _rtl8723be_phy_iq_calibrate() 2244 rtl_set_bbreg(hw, 0x92C, MASKDWORD, 0x1); in _rtl8723be_phy_set_rfpath_switch() [all …]
|
| A D | dm.c | 366 rtl_set_bbreg(hw, ROFDM0_XBAGCCORE1, in rtl8723be_dm_write_dig() 541 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(12), 1); in rtl8723be_dm_false_alarm_counter_statistics() 542 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(14), 1); in rtl8723be_dm_false_alarm_counter_statistics() 623 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, MASKDWORD, in rtl8723be_set_iqk_matrix() 628 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(24), in rtl8723be_set_iqk_matrix() 637 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, MASKDWORD, in rtl8723be_set_iqk_matrix() 1118 rtl_set_bbreg(hw, ROFDM1_CFOTRACKING, BIT(11), in rtl8723be_dm_dynamic_atc_switch() 1133 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl8723be_dm_dynamic_atc_switch() 1189 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl8723be_dm_dynamic_atc_switch() 1196 rtl_set_bbreg(hw, ROFDM1_CFOTRACKING, BIT(11), in rtl8723be_dm_dynamic_atc_switch() [all …]
|
| A D | rf.c | 104 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl8723be_phy_rf6052_set_cck_txpower() 114 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl8723be_phy_rf6052_set_cck_txpower() 121 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl8723be_phy_rf6052_set_cck_txpower() 128 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl8723be_phy_rf6052_set_cck_txpower() 360 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl8723be_write_ofdm_power_reg() 439 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl8723be_phy_rf6052_config_parafile() 442 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl8723be_phy_rf6052_config_parafile() 445 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl8723be_phy_rf6052_config_parafile() 449 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl8723be_phy_rf6052_config_parafile() 470 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl8723be_phy_rf6052_config_parafile() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| A D | dm.c | 166 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, in rtl88e_set_iqk_matrix() 191 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, in rtl88e_set_iqk_matrix() 193 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, in rtl88e_set_iqk_matrix() 195 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, in rtl88e_set_iqk_matrix() 201 rtl_set_bbreg(hw, ROFDM0_XDTXAFE, in rtl88e_set_iqk_matrix() 203 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, in rtl88e_set_iqk_matrix() 1253 rtl_set_bbreg(hw, DM_REG_RESP_TX_11N, in rtl88e_dm_update_rx_idle_ant() 1297 rtl_set_bbreg(hw, DM_REG_ANTSEL_PIN_11N, in rtl88e_dm_rx_hw_antena_div_init() 1355 rtl_set_bbreg(hw, DM_REG_ANTSEL_PIN_11N, in rtl88e_dm_fast_training_init() 1592 rtl_set_bbreg(hw, in rtl88e_set_next_mac_address_target() [all …]
|
| A D | phy.c | 326 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8188e_config_bb_reg() 467 rtl_set_bbreg(hw, array_table[i], in handle_branch2() 1599 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in _rtl88e_phy_path_a_standby() 1609 rtl_set_bbreg(hw, 0x820, MASKDWORD, mode); in _rtl88e_phy_pi_mode_switch() 1610 rtl_set_bbreg(hw, 0x828, MASKDWORD, mode); in _rtl88e_phy_pi_mode_switch() 1714 rtl_set_bbreg(hw, 0x800, BIT(24), 0x00); in _rtl88e_phy_iq_calibrate() 1719 rtl_set_bbreg(hw, 0x870, BIT(10), 0x01); in _rtl88e_phy_iq_calibrate() 1720 rtl_set_bbreg(hw, 0x870, BIT(26), 0x01); in _rtl88e_phy_iq_calibrate() 1721 rtl_set_bbreg(hw, 0x860, BIT(10), 0x00); in _rtl88e_phy_iq_calibrate() 1722 rtl_set_bbreg(hw, 0x864, BIT(10), 0x00); in _rtl88e_phy_iq_calibrate() [all …]
|
| A D | rf.c | 105 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl88e_phy_rf6052_set_cck_txpower() 115 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl88e_phy_rf6052_set_cck_txpower() 122 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl88e_phy_rf6052_set_cck_txpower() 129 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl88e_phy_rf6052_set_cck_txpower() 357 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl88e_write_ofdm_power_reg() 435 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl88e_phy_rf6052_config_parafile() 438 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl88e_phy_rf6052_config_parafile() 441 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl88e_phy_rf6052_config_parafile() 445 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl88e_phy_rf6052_config_parafile() 466 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl88e_phy_rf6052_config_parafile() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
| A D | phy_common.c | 148 rtl_set_bbreg(hw, RFPGA0_TXINFO, 0x3, 0x2); in _rtl92c_phy_bb_config_1t() 153 rtl_set_bbreg(hw, 0xe74, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 154 rtl_set_bbreg(hw, 0xe78, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 155 rtl_set_bbreg(hw, 0xe7c, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 156 rtl_set_bbreg(hw, 0xe80, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 157 rtl_set_bbreg(hw, 0xe88, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 903 rtl_set_bbreg(hw, 0xe3c, MASKDWORD, in _rtl92c_phy_path_a_iqk() 1121 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in _rtl92c_phy_path_a_standby() 1131 rtl_set_bbreg(hw, 0x820, MASKDWORD, mode); in _rtl92c_phy_pi_mode_switch() 1132 rtl_set_bbreg(hw, 0x828, MASKDWORD, mode); in _rtl92c_phy_pi_mode_switch() [all …]
|
| A D | dm_common.c | 986 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 990 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 999 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 1075 rtl_set_bbreg(hw, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 1080 rtl_set_bbreg(hw, ROFDM0_XDTXAFE, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 1091 rtl_set_bbreg(hw, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 1096 rtl_set_bbreg(hw, ROFDM0_XDTXAFE, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 1249 rtl_set_bbreg(hw, 0xa74, 0xF000, 0x3); in rtl92c_dm_rf_saving() 1250 rtl_set_bbreg(hw, 0x818, BIT(28), 0x0); in rtl92c_dm_rf_saving() 1251 rtl_set_bbreg(hw, 0x818, BIT(28), 0x1); in rtl92c_dm_rf_saving() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
| A D | phy_common.c | 285 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(31), in rtl8723_phy_path_a_fill_iqk_matrix() 291 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, 0xF0000000, in rtl8723_phy_path_a_fill_iqk_matrix() 295 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(29), in rtl8723_phy_path_a_fill_iqk_matrix() 304 rtl_set_bbreg(hw, 0xca0, 0xF0000000, reg); in rtl8723_phy_path_a_fill_iqk_matrix() 372 rtl_set_bbreg(hw, addareg[0], MASKDWORD, pathon); in rtl8723_phy_path_adda_on() 376 rtl_set_bbreg(hw, addareg[i], MASKDWORD, pathon); in rtl8723_phy_path_adda_on() 397 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in rtl8723_phy_path_a_standby() 398 rtl_set_bbreg(hw, 0x840, MASKDWORD, 0x00010000); in rtl8723_phy_path_a_standby() 399 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x80800000); in rtl8723_phy_path_a_standby() 408 rtl_set_bbreg(hw, 0x820, MASKDWORD, mode); in rtl8723_phy_pi_mode_switch() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| A D | phy.c | 117 rtl_set_bbreg(hw, RFPGA0_TXINFO, 0x3, 0x2); in _rtl8723e_phy_bb_config_1t() 122 rtl_set_bbreg(hw, 0xe74, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 123 rtl_set_bbreg(hw, 0xe78, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 124 rtl_set_bbreg(hw, 0xe7c, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 125 rtl_set_bbreg(hw, 0xe80, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 126 rtl_set_bbreg(hw, 0xe88, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 770 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl8723e_phy_set_bw_mode_callback() 1016 rtl_set_bbreg(hw, 0xe3c, MASKDWORD, in _rtl8723e_phy_path_a_iqk() 1242 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0); in _rtl8723e_phy_iq_calibrate() 1312 rtl_set_bbreg(hw, RFPGA0_XB_RFINTERFACEOE, in _rtl8723e_phy_set_rfpath_switch() [all …]
|
| A D | dm.c | 80 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 1); in rtl8723e_dm_false_alarm_counter_statistics() 81 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 0); in rtl8723e_dm_false_alarm_counter_statistics() 277 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, in rtl8723e_dm_cck_packet_detection_thresh() 280 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, in rtl8723e_dm_cck_packet_detection_thresh() 428 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f, in rtl8723e_dm_write_dig() 430 rtl_set_bbreg(hw, ROFDM0_XBAGCCORE1, 0x7f, in rtl8723e_dm_write_dig() 690 rtl_set_bbreg(hw, 0xa74, 0xF000, 0x3); in rtl8723e_dm_rf_saving() 691 rtl_set_bbreg(hw, 0x818, BIT(28), 0x0); in rtl8723e_dm_rf_saving() 692 rtl_set_bbreg(hw, 0x818, BIT(28), 0x1); in rtl8723e_dm_rf_saving() 700 rtl_set_bbreg(hw, 0xa74, 0xF000, reg_a74); in rtl8723e_dm_rf_saving() [all …]
|
| A D | rf.c | 97 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl8723e_phy_rf6052_set_cck_txpower() 107 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl8723e_phy_rf6052_set_cck_txpower() 114 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl8723e_phy_rf6052_set_cck_txpower() 121 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl8723e_phy_rf6052_set_cck_txpower() 354 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl8723e_write_ofdm_power_reg() 440 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl8723e_phy_rf6052_config_parafile() 443 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl8723e_phy_rf6052_config_parafile() 446 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl8723e_phy_rf6052_config_parafile() 450 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl8723e_phy_rf6052_config_parafile() 472 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl8723e_phy_rf6052_config_parafile() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
| A D | dm_common.c | 521 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 531 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, MASKDWORD, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 533 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, MASKH4BITS, 0x00); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 575 rtl_set_bbreg(hw, ROFDM0_XBTXIQIMBALANCE, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 584 rtl_set_bbreg(hw, ROFDM0_XBTXIQIMBALANCE, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 703 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 1); in rtl92d_dm_false_alarm_counter_statistics() 704 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 0); in rtl92d_dm_false_alarm_counter_statistics() 808 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0x83); in rtl92d_dm_cck_packet_detection_thresh() 812 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0xcd); in rtl92d_dm_cck_packet_detection_thresh() 842 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f, in rtl92d_dm_write_dig() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| A D | rf.c | 93 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl92ce_phy_rf6052_set_cck_txpower() 103 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl92ce_phy_rf6052_set_cck_txpower() 110 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl92ce_phy_rf6052_set_cck_txpower() 117 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl92ce_phy_rf6052_set_cck_txpower() 342 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl92c_write_ofdm_power_reg() 431 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl92ce_phy_rf6052_config_parafile() 434 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl92ce_phy_rf6052_config_parafile() 437 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl92ce_phy_rf6052_config_parafile() 441 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl92ce_phy_rf6052_config_parafile() 462 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ce_phy_rf6052_config_parafile() [all …]
|
| A D | phy.c | 180 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl92ce_phy_config_bb_with_headerfile() 190 rtl_set_bbreg(hw, agctab_array_table[i], MASKDWORD, in _rtl92ce_phy_config_bb_with_headerfile() 327 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92ce_phy_set_bw_mode_callback() 328 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92ce_phy_set_bw_mode_callback() 329 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 1); in rtl92ce_phy_set_bw_mode_callback() 332 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl92ce_phy_set_bw_mode_callback() 333 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl92ce_phy_set_bw_mode_callback() 335 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl92ce_phy_set_bw_mode_callback() 337 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, mac->cur_40_prime_sc); in rtl92ce_phy_set_bw_mode_callback() 338 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 0); in rtl92ce_phy_set_bw_mode_callback() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| A D | rf.c | 94 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl92cu_phy_rf6052_set_cck_txpower() 103 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl92cu_phy_rf6052_set_cck_txpower() 108 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl92cu_phy_rf6052_set_cck_txpower() 113 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl92cu_phy_rf6052_set_cck_txpower() 314 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl92c_write_ofdm_power_reg() 401 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl92c_phy_rf6052_config_parafile() 403 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl92c_phy_rf6052_config_parafile() 405 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl92c_phy_rf6052_config_parafile() 408 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl92c_phy_rf6052_config_parafile() 424 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92c_phy_rf6052_config_parafile() [all …]
|
| A D | phy.c | 158 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl92cu_phy_config_bb_with_headerfile() 168 rtl_set_bbreg(hw, agctab_array_table[i], MASKDWORD, in _rtl92cu_phy_config_bb_with_headerfile() 300 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92cu_phy_set_bw_mode_callback() 301 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92cu_phy_set_bw_mode_callback() 302 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 1); in rtl92cu_phy_set_bw_mode_callback() 305 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl92cu_phy_set_bw_mode_callback() 306 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl92cu_phy_set_bw_mode_callback() 307 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl92cu_phy_set_bw_mode_callback() 311 rtl_set_bbreg(hw, 0x818, (BIT(26) | BIT(27)), in rtl92cu_phy_set_bw_mode_callback() 330 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl92cu_bb_block_on() [all …]
|