/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | phy.c | 242 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl92ee_phy_bb_config() 370 rtl_set_bbreg(hw, addr, MASKDWORD , data); in _rtl92ee_config_bb_reg() 733 rtl_set_bbreg(hw, array[i], MASKDWORD, in phy_config_bb_with_hdr_file() 761 rtl_set_bbreg(hw, in phy_config_bb_with_hdr_file() 1699 rtl_set_bbreg(hw, ROFDM0_TXPSEUDONOISEWGT, in rtl92ee_phy_set_bw_mode_callback() 1707 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, in rtl92ee_phy_set_bw_mode_callback() 2397 rtl_set_bbreg(hw, 0x520, 0x00ff0000, 0xff); in _rtl92ee_phy_mac_setting_calibration() 2402 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in _rtl92ee_phy_path_a_standby() 2641 rtl_set_bbreg(hw, RFPGA0_IQK, MASKDWORD, 0); in _rtl92ee_phy_iq_calibrate() 2658 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() 682 rtl_set_bbreg(hw, ROFDM1_CFOTRACKING, BIT(11), in rtl92ee_dm_dynamic_atc_switch() 699 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl92ee_dm_dynamic_atc_switch() 755 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl92ee_dm_dynamic_atc_switch() 762 rtl_set_bbreg(hw, ROFDM1_CFOTRACKING, BIT(11), in rtl92ee_dm_dynamic_atc_switch() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | phy.c | 59 rtl_set_bbreg(hw, RRFMOD, 0xC00, 0x3); in rtl8812ae_fixspur() 62 rtl_set_bbreg(hw, RRFMOD, 0xC00, 0x2); in rtl8812ae_fixspur() 70 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x3); in rtl8812ae_fixspur() 79 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x2); in rtl8812ae_fixspur() 90 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x3); in rtl8812ae_fixspur() 93 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x2); in rtl8812ae_fixspur() 215 rtl_set_bbreg(hw, RCCAONSEC, 0x8, 1); in _rtl8821ae_phy_rf_serial_read() 252 rtl_set_bbreg(hw, RCCAONSEC, 0x8, 0); in _rtl8821ae_phy_rf_serial_read() 616 rtl_set_bbreg(hw, 0x834, 0x3, 0x1); in rtl8821ae_phy_switch_wirelessband() 624 rtl_set_bbreg(hw, 0x82c, 0x3, 0); in rtl8821ae_phy_switch_wirelessband() [all …]
|
A D | dm.c | 608 rtl_set_bbreg(hw, DM_REG_IGI_A_11AC, in rtl8821ae_dm_write_dig() 611 rtl_set_bbreg(hw, DM_REG_IGI_B_11AC, in rtl8821ae_dm_write_dig() 1283 rtl_set_bbreg(hw, RA_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() 1299 rtl_set_bbreg(hw, RB_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() 1387 rtl_set_bbreg(hw, RB_TXSCALE, in rtl8812ae_dm_txpwr_track_set_pwr() 1928 rtl_set_bbreg(hw, RA_TXSCALE, 0xFFE00000, in rtl8821ae_dm_txpwr_track_set_pwr() 1952 rtl_set_bbreg(hw, RA_TXSCALE, in rtl8821ae_dm_txpwr_track_set_pwr() 2637 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, in rtl8821ae_dm_dynamic_atc_switch() 2641 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, in rtl8821ae_dm_dynamic_atc_switch() 2730 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, in rtl8821ae_dm_dynamic_atc_switch() [all …]
|
/linux-6.3-rc2/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() 1223 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl8723be_phy_set_bw_mode_callback() 1224 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl8723be_phy_set_bw_mode_callback() 1228 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl8723be_phy_set_bw_mode_callback() 2052 rtl_set_bbreg(hw, 0xa04, 0x0f000000, 0xf); in _rtl8723be_phy_iq_calibrate() 2130 rtl_set_bbreg(hw, RFPGA0_IQK, MASKDWORD, 0); in _rtl8723be_phy_iq_calibrate() 2144 rtl_set_bbreg(hw, 0xc50, MASKBYTE0, 0x50); in _rtl8723be_phy_iq_calibrate() 2147 rtl_set_bbreg(hw, 0xc58, MASKBYTE0, 0x50); in _rtl8723be_phy_iq_calibrate() 2237 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-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | phy.c | 560 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92d_phy_config_bb_with_headerfile() 576 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92d_phy_config_bb_with_headerfile() 591 rtl_set_bbreg(hw, in _rtl92d_phy_config_bb_with_headerfile() 1013 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0); in _rtl92d_phy_stop_trx_before_changeband() 1014 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0); in _rtl92d_phy_stop_trx_before_changeband() 1731 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in _rtl92d_phy_patha_standby() 1744 rtl_set_bbreg(hw, 0x820, MASKDWORD, mode); in _rtl92d_phy_pimode_switch() 1745 rtl_set_bbreg(hw, 0x828, MASKDWORD, mode); in _rtl92d_phy_pimode_switch() 1885 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0); in _rtl92d_phy_iq_calibrate() 2041 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0); in _rtl92d_phy_iq_calibrate_5g_normal() [all …]
|
A D | dm.c | 186 rtl_set_bbreg(hw, ROFDM0_LSTF, BIT(31), 0); in rtl92d_dm_false_alarm_counter_statistics() 188 rtl_set_bbreg(hw, ROFDM1_LSTF, BIT(31), 0); in rtl92d_dm_false_alarm_counter_statistics() 316 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f, in rtl92d_dm_write_dig() 318 rtl_set_bbreg(hw, ROFDM0_XBAGCCORE1, 0x7f, in rtl92d_dm_write_dig() 1050 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 1119 rtl_set_bbreg(hw, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 1123 rtl_set_bbreg(hw, ROFDM0_XDTXAFE, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 1126 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 1129 rtl_set_bbreg(hw, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 1133 rtl_set_bbreg(hw, ROFDM0_XDTXAFE, in rtl92d_dm_txpower_tracking_callback_thermalmeter() [all …]
|
A D | rf.c | 101 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl92d_phy_rf6052_set_cck_txpower() 106 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl92d_phy_rf6052_set_cck_txpower() 111 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl92d_phy_rf6052_set_cck_txpower() 116 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl92d_phy_rf6052_set_cck_txpower() 336 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl92d_write_ofdm_power_reg() 530 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in rtl92d_phy_rf6052_config() 532 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in rtl92d_phy_rf6052_config() 536 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in rtl92d_phy_rf6052_config() 540 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in rtl92d_phy_rf6052_config() 566 rtl_set_bbreg(hw, pphyreg->rfintfs, BRFSI_RFENV, in rtl92d_phy_rf6052_config() [all …]
|
/linux-6.3-rc2/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 | 332 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8188e_config_bb_reg() 473 rtl_set_bbreg(hw, array_table[i], in handle_branch2() 1605 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in _rtl88e_phy_path_a_standby() 1615 rtl_set_bbreg(hw, 0x820, MASKDWORD, mode); in _rtl88e_phy_pi_mode_switch() 1616 rtl_set_bbreg(hw, 0x828, MASKDWORD, mode); in _rtl88e_phy_pi_mode_switch() 1720 rtl_set_bbreg(hw, 0x800, BIT(24), 0x00); in _rtl88e_phy_iq_calibrate() 1725 rtl_set_bbreg(hw, 0x870, BIT(10), 0x01); in _rtl88e_phy_iq_calibrate() 1726 rtl_set_bbreg(hw, 0x870, BIT(26), 0x01); in _rtl88e_phy_iq_calibrate() 1727 rtl_set_bbreg(hw, 0x860, BIT(10), 0x00); in _rtl88e_phy_iq_calibrate() 1728 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-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
A D | phy_common.c | 156 rtl_set_bbreg(hw, RFPGA0_TXINFO, 0x3, 0x2); in _rtl92c_phy_bb_config_1t() 161 rtl_set_bbreg(hw, 0xe74, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 162 rtl_set_bbreg(hw, 0xe78, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 163 rtl_set_bbreg(hw, 0xe7c, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 164 rtl_set_bbreg(hw, 0xe80, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 165 rtl_set_bbreg(hw, 0xe88, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() 911 rtl_set_bbreg(hw, 0xe3c, MASKDWORD, in _rtl92c_phy_path_a_iqk() 1129 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in _rtl92c_phy_path_a_standby() 1139 rtl_set_bbreg(hw, 0x820, MASKDWORD, mode); in _rtl92c_phy_pi_mode_switch() 1140 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-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
A D | phy_common.c | 293 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(31), in rtl8723_phy_path_a_fill_iqk_matrix() 299 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, 0xF0000000, in rtl8723_phy_path_a_fill_iqk_matrix() 303 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(29), in rtl8723_phy_path_a_fill_iqk_matrix() 312 rtl_set_bbreg(hw, 0xca0, 0xF0000000, reg); in rtl8723_phy_path_a_fill_iqk_matrix() 380 rtl_set_bbreg(hw, addareg[0], MASKDWORD, pathon); in rtl8723_phy_path_adda_on() 384 rtl_set_bbreg(hw, addareg[i], MASKDWORD, pathon); in rtl8723_phy_path_adda_on() 405 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x0); in rtl8723_phy_path_a_standby() 406 rtl_set_bbreg(hw, 0x840, MASKDWORD, 0x00010000); in rtl8723_phy_path_a_standby() 407 rtl_set_bbreg(hw, 0xe28, MASKDWORD, 0x80800000); in rtl8723_phy_path_a_standby() 416 rtl_set_bbreg(hw, 0x820, MASKDWORD, mode); in rtl8723_phy_pi_mode_switch() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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 …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | phy.c | 92 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92s_phy_rf_serial_read() 266 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92s_phy_set_bw_mode() 267 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92s_phy_set_bw_mode() 273 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl92s_phy_set_bw_mode() 274 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl92s_phy_set_bw_mode() 276 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl92s_phy_set_bw_mode() 1264 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, MASKBYTE0, 0x17); in _rtl92s_phy_set_fwcmd_io() 1267 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0x40); in _rtl92s_phy_set_fwcmd_io() 1271 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0xcd); in _rtl92s_phy_set_fwcmd_io() 1282 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0x40); in _rtl92s_phy_set_fwcmd_io() [all …]
|