| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| D | phy.c | 161 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92ee_phy_rf_serial_read() 164 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92ee_phy_rf_serial_read() 201 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92ee_phy_rf_serial_write() 249 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl92ee_phy_bb_config() 377 rtl_set_bbreg(hw, addr, MASKDWORD , data); in _rtl92ee_config_bb_reg() 740 rtl_set_bbreg(hw, array[i], MASKDWORD, in phy_config_bb_with_hdr_file() 768 rtl_set_bbreg(hw, in phy_config_bb_with_hdr_file() 1289 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, in _rtl92ee_set_txpower_index() 1293 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE1, in _rtl92ee_set_txpower_index() 1297 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE2, in _rtl92ee_set_txpower_index() [all …]
|
| 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()
|
| D | dm.c | 139 rtl_set_bbreg(hw, DM_REG_OFDM_FA_HOLDC_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 140 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 168 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(12), 1); in rtl92ee_dm_false_alarm_counter_statistics() 169 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(14), 1); in rtl92ee_dm_false_alarm_counter_statistics() 193 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 194 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 0); in rtl92ee_dm_false_alarm_counter_statistics() 195 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(27), 1); in rtl92ee_dm_false_alarm_counter_statistics() 196 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(27), 0); in rtl92ee_dm_false_alarm_counter_statistics() 198 rtl_set_bbreg(hw, DM_REG_OFDM_FA_HOLDC_11N, BIT(31), 0); in rtl92ee_dm_false_alarm_counter_statistics() 199 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(31), 0); in rtl92ee_dm_false_alarm_counter_statistics() [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| D | phy.c | 123 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl8723be_phy_bb_config() 274 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8723be_config_bb_reg() 1225 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl8723be_phy_set_bw_mode_callback() 1226 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl8723be_phy_set_bw_mode_callback() 1230 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl8723be_phy_set_bw_mode_callback() 1231 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl8723be_phy_set_bw_mode_callback() 1233 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl8723be_phy_set_bw_mode_callback() 1235 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, mac->cur_40_prime_sc); in rtl8723be_phy_set_bw_mode_callback() 1238 rtl_set_bbreg(hw, 0x818, (BIT(26) | BIT(27)), in rtl8723be_phy_set_bw_mode_callback() 1453 rtl_set_bbreg(hw, RFPGA0_IQK, MASKDWORD, 0x00000000); in _rtl8723be_phy_path_a_iqk() [all …]
|
| D | dm.c | 364 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f, current_igi); in rtl8723be_dm_write_dig() 366 rtl_set_bbreg(hw, ROFDM0_XBAGCCORE1, in rtl8723be_dm_write_dig() 516 rtl_set_bbreg(hw, DM_REG_OFDM_FA_HOLDC_11N, BIT(31), 1); in rtl8723be_dm_false_alarm_counter_statistics() 517 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(31), 1); in rtl8723be_dm_false_alarm_counter_statistics() 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() 565 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 1); in rtl8723be_dm_false_alarm_counter_statistics() 566 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 0); in rtl8723be_dm_false_alarm_counter_statistics() 567 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(27), 1); in rtl8723be_dm_false_alarm_counter_statistics() 568 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(27), 0); in rtl8723be_dm_false_alarm_counter_statistics() [all …]
|
| 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-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| D | phy.c | 54 rtl_set_bbreg(hw, RRFMOD, 0xC00, 0x3); in rtl8812ae_fixspur() 57 rtl_set_bbreg(hw, RRFMOD, 0xC00, 0x2); in rtl8812ae_fixspur() 65 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x3); in rtl8812ae_fixspur() 67 rtl_set_bbreg(hw, RADC_BUF_CLK, BIT(30), 1); in rtl8812ae_fixspur() 71 rtl_set_bbreg(hw, RADC_BUF_CLK, BIT(30), 1); in rtl8812ae_fixspur() 74 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x2); in rtl8812ae_fixspur() 76 rtl_set_bbreg(hw, RADC_BUF_CLK, BIT(30), 0); in rtl8812ae_fixspur() 85 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x3); in rtl8812ae_fixspur() 88 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x2); in rtl8812ae_fixspur() 212 rtl_set_bbreg(hw, RCCAONSEC, 0x8, 1); in _rtl8821ae_phy_rf_serial_read() [all …]
|
| D | dm.c | 760 rtl_set_bbreg(hw, DM_REG_IGI_A_11AC, in rtl8821ae_dm_write_dig() 763 rtl_set_bbreg(hw, DM_REG_IGI_B_11AC, in rtl8821ae_dm_write_dig() 1029 rtl_set_bbreg(hw, ODM_REG_OFDM_FA_RST_11AC, BIT(17), 1); in rtl8821ae_dm_false_alarm_counter_statistics() 1030 rtl_set_bbreg(hw, ODM_REG_OFDM_FA_RST_11AC, BIT(17), 0); in rtl8821ae_dm_false_alarm_counter_statistics() 1032 rtl_set_bbreg(hw, ODM_REG_CCK_FA_RST_11AC, BIT(15), 0); in rtl8821ae_dm_false_alarm_counter_statistics() 1033 rtl_set_bbreg(hw, ODM_REG_CCK_FA_RST_11AC, BIT(15), 1); in rtl8821ae_dm_false_alarm_counter_statistics() 1434 rtl_set_bbreg(hw, RA_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() 1450 rtl_set_bbreg(hw, RB_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() 1476 rtl_set_bbreg(hw, RA_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() 1496 rtl_set_bbreg(hw, RA_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| D | phy.c | 261 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92d_phy_rf_serial_read() 264 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92d_phy_rf_serial_read() 267 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92d_phy_rf_serial_read() 300 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92d_phy_rf_serial_write() 547 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl92d_phy_config_bb_with_headerfile() 558 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92d_phy_config_bb_with_headerfile() 574 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92d_phy_config_bb_with_headerfile() 589 rtl_set_bbreg(hw, in _rtl92d_phy_config_bb_with_headerfile() 973 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92d_phy_set_bw_mode() 974 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92d_phy_set_bw_mode() [all …]
|
| D | dm.c | 141 rtl_set_bbreg(hw, ROFDM0_LSTF, BIT(31), 1); /* hold page C counter */ in rtl92d_dm_false_alarm_counter_statistics() 142 rtl_set_bbreg(hw, ROFDM1_LSTF, BIT(31), 1); /*hold page D counter */ in rtl92d_dm_false_alarm_counter_statistics() 182 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 1); in rtl92d_dm_false_alarm_counter_statistics() 184 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 0); in rtl92d_dm_false_alarm_counter_statistics() 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() 192 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 0); in rtl92d_dm_false_alarm_counter_statistics() 194 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 2); in rtl92d_dm_false_alarm_counter_statistics() 281 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0x83); in rtl92d_dm_cck_packet_detection_thresh() 285 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0xcd); in rtl92d_dm_cck_packet_detection_thresh() [all …]
|
| 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-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| D | dm.c | 166 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, in rtl88e_set_iqk_matrix() 169 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, MASKH4BITS, in rtl88e_set_iqk_matrix() 172 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(24), in rtl88e_set_iqk_matrix() 177 rtl_set_bbreg(hw, ROFDM0_XBTXIQIMBALANCE, MASKDWORD, in rtl88e_set_iqk_matrix() 180 rtl_set_bbreg(hw, ROFDM0_XDTXAFE, MASKH4BITS, value32); in rtl88e_set_iqk_matrix() 182 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(28), 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() 199 rtl_set_bbreg(hw, ROFDM0_XBTXIQIMBALANCE, in rtl88e_set_iqk_matrix() [all …]
|
| D | phy.c | 167 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl88e_phy_rf_serial_read() 170 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl88e_phy_rf_serial_read() 207 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl88e_phy_rf_serial_write() 340 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8188e_config_bb_reg() 457 rtl_set_bbreg(hw, array_table[i], MASKDWORD, in handle_branch2() 481 rtl_set_bbreg(hw, array_table[i], in handle_branch2() 1124 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl88e_phy_set_bw_mode_callback() 1125 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl88e_phy_set_bw_mode_callback() 1129 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl88e_phy_set_bw_mode_callback() 1130 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl88e_phy_set_bw_mode_callback() [all …]
|
| 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-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
| D | phy_common.c | 95 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92c_phy_rf_serial_read() 98 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92c_phy_rf_serial_read() 100 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92c_phy_rf_serial_read() 139 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92c_phy_rf_serial_write() 160 rtl_set_bbreg(hw, RFPGA0_TXINFO, 0x3, 0x2); in _rtl92c_phy_bb_config_1t() 161 rtl_set_bbreg(hw, RFPGA1_TXINFO, 0x300033, 0x200022); in _rtl92c_phy_bb_config_1t() 162 rtl_set_bbreg(hw, RCCK0_AFESETTING, MASKBYTE3, 0x45); in _rtl92c_phy_bb_config_1t() 163 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, MASKBYTE0, 0x23); in _rtl92c_phy_bb_config_1t() 164 rtl_set_bbreg(hw, ROFDM0_AGCPARAMETER1, 0x30, 0x1); in _rtl92c_phy_bb_config_1t() 165 rtl_set_bbreg(hw, 0xe74, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() [all …]
|
| D | dm_common.c | 228 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, BIT(14), 1); in rtl92c_dm_false_alarm_counter_statistics() 240 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 1); in rtl92c_dm_false_alarm_counter_statistics() 241 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 0); in rtl92c_dm_false_alarm_counter_statistics() 242 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 0); in rtl92c_dm_false_alarm_counter_statistics() 243 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 2); in rtl92c_dm_false_alarm_counter_statistics() 477 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0x83); in rtl92c_dm_cck_packet_detection_thresh() 479 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0xcd); in rtl92c_dm_cck_packet_detection_thresh() 555 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f, in rtl92c_dm_write_dig() 557 rtl_set_bbreg(hw, ROFDM0_XBAGCCORE1, 0x7f, in rtl92c_dm_write_dig() 978 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, in rtl92c_dm_txpower_tracking_callback_thermalmeter() [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
| D | phy_common.c | 90 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in rtl8723_phy_rf_serial_read() 93 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in rtl8723_phy_rf_serial_read() 95 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in rtl8723_phy_rf_serial_read() 134 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in rtl8723_phy_rf_serial_write() 298 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, 0x3FF, tx0_a); in rtl8723_phy_path_a_fill_iqk_matrix() 299 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(31), in rtl8723_phy_path_a_fill_iqk_matrix() 305 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, 0xF0000000, in rtl8723_phy_path_a_fill_iqk_matrix() 307 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, 0x003F0000, in rtl8723_phy_path_a_fill_iqk_matrix() 309 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(29), in rtl8723_phy_path_a_fill_iqk_matrix() 314 rtl_set_bbreg(hw, ROFDM0_XARXIQIMBALANCE, 0x3FF, reg); in rtl8723_phy_path_a_fill_iqk_matrix() [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| D | phy.c | 119 rtl_set_bbreg(hw, RFPGA0_TXINFO, 0x3, 0x2); in _rtl8723e_phy_bb_config_1t() 120 rtl_set_bbreg(hw, RFPGA1_TXINFO, 0x300033, 0x200022); in _rtl8723e_phy_bb_config_1t() 121 rtl_set_bbreg(hw, RCCK0_AFESETTING, MASKBYTE3, 0x45); in _rtl8723e_phy_bb_config_1t() 122 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, MASKBYTE0, 0x23); in _rtl8723e_phy_bb_config_1t() 123 rtl_set_bbreg(hw, ROFDM0_AGCPARAMETER1, 0x30, 0x1); in _rtl8723e_phy_bb_config_1t() 124 rtl_set_bbreg(hw, 0xe74, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 125 rtl_set_bbreg(hw, 0xe78, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 126 rtl_set_bbreg(hw, 0xe7c, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 127 rtl_set_bbreg(hw, 0xe80, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 128 rtl_set_bbreg(hw, 0xe88, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() [all …]
|
| D | dm.c | 180 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, BIT(14), 1); in rtl8723e_dm_false_alarm_counter_statistics() 192 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 1); in rtl8723e_dm_false_alarm_counter_statistics() 193 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 0); in rtl8723e_dm_false_alarm_counter_statistics() 194 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 0); in rtl8723e_dm_false_alarm_counter_statistics() 195 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 2); in rtl8723e_dm_false_alarm_counter_statistics() 389 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, in rtl8723e_dm_cck_packet_detection_thresh() 392 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, in rtl8723e_dm_cck_packet_detection_thresh() 399 rtl_set_bbreg(hw, RCCK0_SYSTEM, MASKBYTE1, 0x40); in rtl8723e_dm_cck_packet_detection_thresh() 402 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0xcd); in rtl8723e_dm_cck_packet_detection_thresh() 403 rtl_set_bbreg(hw, RCCK0_SYSTEM, MASKBYTE1, 0x47); in rtl8723e_dm_cck_packet_detection_thresh() [all …]
|
| 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-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| 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 …]
|
| 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-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| 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 …]
|
| 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() 309 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, mac->cur_40_prime_sc); in rtl92cu_phy_set_bw_mode_callback() 310 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 0); in rtl92cu_phy_set_bw_mode_callback() [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| D | phy.c | 97 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92s_phy_rf_serial_read() 102 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92s_phy_rf_serial_read() 105 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, tmplong | in _rtl92s_phy_rf_serial_read() 147 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92s_phy_rf_serial_write() 274 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92s_phy_set_bw_mode() 275 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92s_phy_set_bw_mode() 281 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl92s_phy_set_bw_mode() 282 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl92s_phy_set_bw_mode() 284 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl92s_phy_set_bw_mode() 286 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, mac->cur_40_prime_sc); in rtl92s_phy_set_bw_mode() [all …]
|