/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | rtw8822c_table.c | 43542 0x1c38, MASKDWORD, 0xffa1005e, 43543 0x1830, MASKDWORD, 0x700b8041, 43544 0x1830, MASKDWORD, 0x70144041, 43545 0x1830, MASKDWORD, 0x70244041, 43546 0x1830, MASKDWORD, 0x70344041, 43547 0x1830, MASKDWORD, 0x70444041, 43548 0x1830, MASKDWORD, 0x705b8041, 43549 0x1830, MASKDWORD, 0x70644041, 43550 0x4130, MASKDWORD, 0x700b8041, 43551 0x4130, MASKDWORD, 0x70144041, [all …]
|
H A D | fw.c | 21 {REG_FWIMR, MASKDWORD, "FWIMR"}, 23 {REG_FWISR, MASKDWORD, "FWISR"}, 26 {REG_HMEBOX0, MASKDWORD, "MSG 0"}, 27 {REG_HMEBOX0_EX, MASKDWORD, "MSG_EX 0"}, 28 {REG_HMEBOX1, MASKDWORD, "MSG 1"}, 29 {REG_HMEBOX1_EX, MASKDWORD, "MSG_EX 1"}, 30 {REG_HMEBOX2, MASKDWORD, "MSG 2"}, 31 {REG_HMEBOX2_EX, MASKDWORD, "MSG_EX 2"}, 32 {REG_HMEBOX3, MASKDWORD, "MSG 3"}, 33 {REG_HMEBOX3_EX, MASKDWORD, "MSG_EX 3"}, [all …]
|
H A D | rtw8822b.c | 479 rtw_write32_mask(rtwdev, REG_CCASEL, MASKDWORD, reg82c); in rtw8822b_set_channel_cca() 480 rtw_write32_mask(rtwdev, REG_PDMFTH, MASKDWORD, reg830); in rtw8822b_set_channel_cca() 481 rtw_write32_mask(rtwdev, REG_CCA2ND, MASKDWORD, reg838); in rtw8822b_set_channel_cca() 484 rtw_write32_mask(rtwdev, REG_L1WT, MASKDWORD, 0x9194b2b9); in rtw8822b_set_channel_cca() 627 rtw_write32_mask(rtwdev, REG_TXSF2, MASKDWORD, 0x00006577); in rtw8822b_set_channel_bb() 630 rtw_write32_mask(rtwdev, REG_TXSF2, MASKDWORD, 0x384f6577); in rtw8822b_set_channel_bb() 663 val32 = rtw_read32_mask(rtwdev, REG_ADCCLK, MASKDWORD); in rtw8822b_set_channel_bb() 666 rtw_write32_mask(rtwdev, REG_ADCCLK, MASKDWORD, val32); in rtw8822b_set_channel_bb() 676 val32 = rtw_read32_mask(rtwdev, REG_ADCCLK, MASKDWORD); in rtw8822b_set_channel_bb() 679 rtw_write32_mask(rtwdev, REG_ADCCLK, MASKDWORD, val32); in rtw8822b_set_channel_bb() [all …]
|
H A D | rtw8822c.c | 1295 rtw_write32_mask(rtwdev, REG_IQK_CTRL, MASKDWORD, MASKDWORD); in rtw8822c_txgapk_afe_dpk() 1296 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x700f0001); in rtw8822c_txgapk_afe_dpk() 1297 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x700f0001); in rtw8822c_txgapk_afe_dpk() 1298 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x701f0001); in rtw8822c_txgapk_afe_dpk() 1299 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x702f0001); in rtw8822c_txgapk_afe_dpk() 1300 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x703f0001); in rtw8822c_txgapk_afe_dpk() 1301 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x704f0001); in rtw8822c_txgapk_afe_dpk() 1302 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x705f0001); in rtw8822c_txgapk_afe_dpk() 1303 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x706f0001); in rtw8822c_txgapk_afe_dpk() 1304 rtw_write32_mask(rtwdev, reg, MASKDWORD, 0x707f0001); in rtw8822c_txgapk_afe_dpk() [all …]
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8851b_rfk_table.c | 143 RTW89_DECL_RFK_WM(0x5670, MASKDWORD, 0x00000000), 158 RTW89_DECL_RFK_WM(0x5670, MASKDWORD, 0xf801fffd), 271 RTW89_DECL_RFK_WM(0x5898, MASKDWORD, 0x00000000), 272 RTW89_DECL_RFK_WM(0x589c, MASKDWORD, 0x00000000), 274 RTW89_DECL_RFK_WM(0x58b0, MASKDWORD, 0x00000000), 282 RTW89_DECL_RFK_WM(0x58cc, MASKDWORD, 0x00000000), 298 RTW89_DECL_RFK_WM(0x58a0, MASKDWORD, 0x000000fe), 318 RTW89_DECL_RFK_WM(0x5a00, MASKDWORD, 0x00000000), 319 RTW89_DECL_RFK_WM(0x5a04, MASKDWORD, 0x00000000), 320 RTW89_DECL_RFK_WM(0x5a08, MASKDWORD, 0x00000000), [all …]
|
H A D | rtw8852a_rfk.c | 41 MASKDWORD); in _rfk_backup_bb_reg() 70 MASKDWORD, backup_bb_reg_val[i]); in _rfk_restore_bb_reg() 279 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() 287 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() 295 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() 303 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() 336 tmp = rtw89_phy_read32_mask(rtwdev, R_DBG32_D, MASKDWORD); in _check_addc() 558 rtw89_phy_write32_mask(rtwdev, R_KIP_RPT1, MASKDWORD, 0x00160000); in _iqk_read_fft_dbcc0() 559 fft[0] = rtw89_phy_read32_mask(rtwdev, R_RPT_COM, MASKDWORD); in _iqk_read_fft_dbcc0() 560 rtw89_phy_write32_mask(rtwdev, R_KIP_RPT1, MASKDWORD, 0x00170000); in _iqk_read_fft_dbcc0() [all …]
|
H A D | rtw8851b_rfk.c | 218 rtw89_phy_read32_mask(rtwdev, R_DRCK, MASKDWORD)); in _drck() 298 rtw89_phy_read32_mask(rtwdev, reg, MASKDWORD)); in _dack_reload_by_path() 307 rtw89_phy_read32_mask(rtwdev, reg, MASKDWORD)); in _dack_reload_by_path() 316 rtw89_phy_read32_mask(rtwdev, reg, MASKDWORD)); in _dack_reload_by_path() 325 rtw89_phy_read32_mask(rtwdev, reg, MASKDWORD)); in _dack_reload_by_path() 334 rtw89_phy_read32_mask(rtwdev, reg, MASKDWORD)); in _dack_reload_by_path() 409 rtw89_phy_read32_mask(rtwdev, R_DACKN0_CTL, MASKDWORD), in _new_dadck() 410 rtw89_phy_read32_mask(rtwdev, R_DACKN1_CTL, MASKDWORD)); in _new_dadck() 616 rtw89_phy_write32_mask(rtwdev, R_KIP_RPT1, MASKDWORD, 0x00020000); in _iqk_sram() 617 rtw89_phy_write32_mask(rtwdev, R_MDPK_RX_DCK, MASKDWORD, 0x80000000); in _iqk_sram() [all …]
|
H A D | rtw8852b_rfk.c | 183 MASKDWORD); in _rfk_backup_bb_reg() 212 MASKDWORD, backup_bb_reg_val[i]); in _rfk_restore_bb_reg() 270 val = rtw89_phy_read32_mask(rtwdev, R_NCTL_RPT, MASKDWORD); in _iqk_check_cal() 400 rtw89_phy_read32_mask(rtwdev, R_DRCK_V1, MASKDWORD)); in _drck() 498 tmp = rtw89_phy_read32_mask(rtwdev, R_DBG32_D, MASKDWORD); in _check_addc() 861 rtw89_phy_write32_mask(rtwdev, R_NCTL_CFG, MASKDWORD, iqk_cmd + 1); in _iqk_one_shot() 969 rtw89_phy_read32_mask(rtwdev, R_RXIQC + (path << 8), MASKDWORD) | 0x2; in _iqk_nbrxk() 1032 MASKDWORD, _g_itqt[gp]); in _txk_group_sel() 1042 MASKDWORD, _a_itqt[gp]); in _txk_group_sel() 1093 MASKDWORD, _g_itqt[gp]); in _iqk_nbtxk() [all …]
|
H A D | rtw8852c_rfk_table.c | 74 RTW89_DECL_RFK_WM(0x5670, MASKDWORD, 0x00000000), 89 RTW89_DECL_RFK_WM(0x7670, MASKDWORD, 0x00000000), 101 RTW89_DECL_RFK_WM(0x80d4, MASKDWORD, 0x00020000), 150 RTW89_DECL_RFK_WM(0x8008, MASKDWORD, 0x00000080), 151 RTW89_DECL_RFK_WM(0x8088, MASKDWORD, 0x807f030a), 157 RTW89_DECL_RFK_WM(0x8008, MASKDWORD, 0x00000000), 158 RTW89_DECL_RFK_WM(0x8088, MASKDWORD, 0x80000000),
|
H A D | rtw8852bt_rfk.c | 156 rtw89_phy_read32_mask(rtwdev, rtw8852bt_backup_bb_regs[i], MASKDWORD); in _rfk_backup_bb_reg() 170 MASKDWORD); in _rfk_backup_kip_reg() 197 MASKDWORD, backup_bb_reg_val[i]); in _rfk_reload_bb_reg() 210 MASKDWORD, backup_kip_reg_val[i]); in _rfk_reload_kip_reg() 470 rtw89_phy_read32_mask(rtwdev, R_DRCK, MASKDWORD)); in _drck() 573 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() 582 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() 591 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() 600 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() 608 rtw89_phy_read32_mask(rtwdev, tmp_reg, MASKDWORD)); in _dack_reload_by_path() [all …]
|
H A D | rtw8852c_rfk.c | 101 MASKDWORD); in _rfk_backup_bb_reg() 129 MASKDWORD, backup_bb_reg_val[i]); in _rfk_restore_bb_reg() 324 rtw89_phy_read32_mask(rtwdev, addr, MASKDWORD)); in _dack_reload_by_path() 333 rtw89_phy_read32_mask(rtwdev, addr, MASKDWORD)); in _dack_reload_by_path() 342 rtw89_phy_read32_mask(rtwdev, addr, MASKDWORD)); in _dack_reload_by_path() 351 rtw89_phy_read32_mask(rtwdev, addr, MASKDWORD)); in _dack_reload_by_path() 585 rtw89_phy_read32_mask(rtwdev, R_DRCK, MASKDWORD)); in _drck() 713 tmp = rtw89_phy_read32_mask(rtwdev, R_NCTL_RPT, MASKDWORD); in _iqk_check_cal() 775 rtw89_phy_write32_mask(rtwdev, R_NCTL_CFG, MASKDWORD, iqk_cmd + 1); in _iqk_one_shot() 936 MASKDWORD) | 0x2; in _iqk_nbrxk() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | phy.c | 272 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8723be_config_bb_reg() 796 MASKDWORD); in rtl8723be_phy_get_hw_reg_originalvalue() 1457 rtl_set_bbreg(hw, RFPGA0_IQK, MASKDWORD, 0x00000000); in _rtl8723be_phy_path_a_iqk() 1459 rtl_set_bbreg(hw, 0x948, MASKDWORD, 0x00000000); in _rtl8723be_phy_path_a_iqk() 1469 rtl_set_bbreg(hw, RTX_IQK, MASKDWORD, 0x01007c00); in _rtl8723be_phy_path_a_iqk() 1470 rtl_set_bbreg(hw, RRX_IQK, MASKDWORD, 0x01004800); in _rtl8723be_phy_path_a_iqk() 1472 rtl_set_bbreg(hw, RTX_IQK_TONE_A, MASKDWORD, 0x18008c1c); in _rtl8723be_phy_path_a_iqk() 1473 rtl_set_bbreg(hw, RRX_IQK_TONE_A, MASKDWORD, 0x38008c1c); in _rtl8723be_phy_path_a_iqk() 1474 rtl_set_bbreg(hw, RTX_IQK_TONE_B, MASKDWORD, 0x38008c1c); in _rtl8723be_phy_path_a_iqk() 1475 rtl_set_bbreg(hw, RRX_IQK_TONE_B, MASKDWORD, 0x38008c1c); in _rtl8723be_phy_path_a_iqk() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | phy.c | 68 if (bitmask != MASKDWORD) { in rtl92ee_phy_set_bb_reg() 151 tmplong = rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD); in _rtl92ee_phy_rf_serial_read() 155 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92ee_phy_rf_serial_read() 158 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92ee_phy_rf_serial_read() 160 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92ee_phy_rf_serial_read() 197 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92ee_phy_rf_serial_write() 287 getvalue = rtl_get_rfreg(hw, rfpath, addr, MASKDWORD); in _rtl92ee_config_rf_reg() 296 MASKDWORD); in _rtl92ee_config_rf_reg() 306 getvalue = rtl_get_rfreg(hw, rfpath, addr, MASKDWORD); in _rtl92ee_config_rf_reg() 318 MASKDWORD); in _rtl92ee_config_rf_reg() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | phy.c | 209 if (bitmask != MASKDWORD) { in rtl92d_phy_set_bb_reg() 293 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl92d_phy_config_bb_with_headerfile() 305 MASKDWORD, in _rtl92d_phy_config_bb_with_headerfile() 321 MASKDWORD, in _rtl92d_phy_config_bb_with_headerfile() 337 MASKDWORD, in _rtl92d_phy_config_bb_with_headerfile() 900 rtl_set_bbreg(hw, 0xe30, MASKDWORD, 0x10008c1f); in _rtl92d_phy_patha_iqk() 901 rtl_set_bbreg(hw, 0xe34, MASKDWORD, 0x10008c1f); in _rtl92d_phy_patha_iqk() 903 rtl_set_bbreg(hw, 0xe30, MASKDWORD, 0x10008c22); in _rtl92d_phy_patha_iqk() 904 rtl_set_bbreg(hw, 0xe34, MASKDWORD, 0x10008c22); in _rtl92d_phy_patha_iqk() 906 rtl_set_bbreg(hw, 0xe38, MASKDWORD, 0x82140102); in _rtl92d_phy_patha_iqk() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
H A D | phy.c | 195 if (bitmask != MASKDWORD) { in rtl92du_phy_set_bb_reg() 295 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl92du_phy_config_bb() 306 MASKDWORD, agctab_array_table[i + 1]); in _rtl92du_phy_config_bb() 970 rtl_set_bbreg(hw, RTX_IQK_TONE_A, MASKDWORD, 0x10008c1f); in _rtl92du_phy_patha_iqk() 971 rtl_set_bbreg(hw, RRX_IQK_TONE_A, MASKDWORD, 0x10008c1f); in _rtl92du_phy_patha_iqk() 973 rtl_set_bbreg(hw, RTX_IQK_TONE_A, MASKDWORD, 0x10008c22); in _rtl92du_phy_patha_iqk() 974 rtl_set_bbreg(hw, RRX_IQK_TONE_A, MASKDWORD, 0x10008c22); in _rtl92du_phy_patha_iqk() 976 rtl_set_bbreg(hw, RTX_IQK_PI_A, MASKDWORD, 0x82140102); in _rtl92du_phy_patha_iqk() 977 rtl_set_bbreg(hw, RRX_IQK_PI_A, MASKDWORD, in _rtl92du_phy_patha_iqk() 981 rtl_set_bbreg(hw, RTX_IQK_TONE_B, MASKDWORD, 0x10008c22); in _rtl92du_phy_patha_iqk() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
H A D | phy_common.c | 41 if (bitmask != MASKDWORD) { in rtl92c_phy_set_bb_reg() 88 tmplong = rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD); in _rtl92c_phy_rf_serial_read() 92 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92c_phy_rf_serial_read() 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() 388 ROFDM0_RXDETECTOR2, MASKDWORD); in rtl92c_phy_get_hw_reg_originalvalue() 743 MASKDWORD, 0x00255); in _rtl92c_phy_sw_rf_seting() 748 rtl_set_rfreg(hw, RF90_PATH_A, RF_RX_G1, MASKDWORD, in _rtl92c_phy_sw_rf_seting() [all …]
|
H A D | dm_common.c | 207 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER1, MASKDWORD); in rtl92c_dm_false_alarm_counter_statistics() 210 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER2, MASKDWORD); in rtl92c_dm_false_alarm_counter_statistics() 214 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER3, MASKDWORD); in rtl92c_dm_false_alarm_counter_statistics() 217 ret_value = rtl_get_bbreg(hw, ROFDM0_FRAMESYNC, MASKDWORD); in rtl92c_dm_false_alarm_counter_statistics() 735 MASKDWORD) & MASKOFDM_D; in rtl92c_dm_txpower_tracking_callback_thermalmeter() 751 MASKDWORD) & MASKOFDM_D; in rtl92c_dm_txpower_tracking_callback_thermalmeter() 768 rtl_get_bbreg(hw, RCCK0_TXFILTER2, MASKDWORD) & MASKCCK; in rtl92c_dm_txpower_tracking_callback_thermalmeter() 979 MASKDWORD, value32); in rtl92c_dm_txpower_tracking_callback_thermalmeter() 994 MASKDWORD, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 1077 MASKDWORD, value32); in rtl92c_dm_txpower_tracking_callback_thermalmeter() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | phy.c | 69 if (bitmask != MASKDWORD) { in rtl88e_phy_set_bb_reg() 157 tmplong = rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD); in _rtl88e_phy_rf_serial_read() 161 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl88e_phy_rf_serial_read() 164 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl88e_phy_rf_serial_read() 167 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl88e_phy_rf_serial_read() 204 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl88e_phy_rf_serial_write() 326 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8188e_config_bb_reg() 443 rtl_set_bbreg(hw, array_table[i], MASKDWORD, in handle_branch2() 468 MASKDWORD, in handle_branch2() 799 MASKDWORD); in rtl88e_phy_get_hw_reg_originalvalue() [all …]
|
H A D | dm.c | 167 MASKDWORD, value32); in rtl88e_set_iqk_matrix() 177 rtl_set_bbreg(hw, ROFDM0_XBTXIQIMBALANCE, MASKDWORD, in rtl88e_set_iqk_matrix() 192 MASKDWORD, ofdmswing_table[ofdm_index]); in rtl88e_set_iqk_matrix() 200 MASKDWORD, ofdmswing_table[ofdm_index]); in rtl88e_set_iqk_matrix() 359 ret_value = rtl_get_bbreg(hw, ROFDM0_FRAMESYNC, MASKDWORD); in rtl88e_dm_false_alarm_counter_statistics() 363 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER1, MASKDWORD); in rtl88e_dm_false_alarm_counter_statistics() 367 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER2, MASKDWORD); in rtl88e_dm_false_alarm_counter_statistics() 371 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER3, MASKDWORD); in rtl88e_dm_false_alarm_counter_statistics() 380 ret_value = rtl_get_bbreg(hw, REG_SC_CNT, MASKDWORD); in rtl88e_dm_false_alarm_counter_statistics() 393 ret_value = rtl_get_bbreg(hw, RCCK0_CCA_CNT, MASKDWORD); in rtl88e_dm_false_alarm_counter_statistics() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | phy.c | 267 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl8723e_phy_config_bb_with_headerfile() 277 rtl_set_bbreg(hw, agctab_array_table[i], MASKDWORD, in _rtl8723e_phy_config_bb_with_headerfile() 547 ROFDM0_RXDETECTOR2, MASKDWORD); in rtl8723e_phy_get_hw_reg_originalvalue() 885 MASKDWORD, 0x00255); in _rtl8723e_phy_sw_rf_seting() 891 MASKDWORD, backuprf0x1a); in _rtl8723e_phy_sw_rf_seting() 1013 rtl_set_bbreg(hw, 0xe30, MASKDWORD, 0x10008c1f); in _rtl8723e_phy_path_a_iqk() 1014 rtl_set_bbreg(hw, 0xe34, MASKDWORD, 0x10008c1f); in _rtl8723e_phy_path_a_iqk() 1015 rtl_set_bbreg(hw, 0xe38, MASKDWORD, 0x82140102); in _rtl8723e_phy_path_a_iqk() 1016 rtl_set_bbreg(hw, 0xe3c, MASKDWORD, in _rtl8723e_phy_path_a_iqk() 1020 rtl_set_bbreg(hw, 0xe50, MASKDWORD, 0x10008c22); in _rtl8723e_phy_path_a_iqk() [all …]
|
H A D | dm.c | 55 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER1, MASKDWORD); in rtl8723e_dm_false_alarm_counter_statistics() 58 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER2, MASKDWORD); in rtl8723e_dm_false_alarm_counter_statistics() 62 ret_value = rtl_get_bbreg(hw, ROFDM_PHYCOUNTER3, MASKDWORD); in rtl8723e_dm_false_alarm_counter_statistics() 646 MASKDWORD) & 0x1CC000) >> 14; in rtl8723e_dm_rf_saving() 649 MASKDWORD) & BIT(3)) >> 3; in rtl8723e_dm_rf_saving() 652 MASKDWORD) & 0xFF000000) >> 24; in rtl8723e_dm_rf_saving() 654 reg_a74 = (rtl_get_bbreg(hw, 0xa74, MASKDWORD) & 0xF000) >> 12; in rtl8723e_dm_rf_saving()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
H A D | phy_common.c | 40 if (bitmask != MASKDWORD) { in rtl8723_phy_set_bb_reg() 71 tmplong = rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD); in rtl8723_phy_rf_serial_read() 75 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in rtl8723_phy_rf_serial_read() 78 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in rtl8723_phy_rf_serial_read() 80 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in rtl8723_phy_rf_serial_read() 81 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in rtl8723_phy_rf_serial_read() 120 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in rtl8723_phy_rf_serial_write() 279 MASKDWORD) >> 22) & 0x3FF; in rtl8723_phy_path_a_fill_iqk_matrix() 315 addabackup[i] = rtl_get_bbreg(hw, addareg[i], MASKDWORD); in rtl8723_save_adda_registers() 338 rtl_set_bbreg(hw, addareg[i], MASKDWORD, addabackup[i]); in rtl8723_phy_reload_adda_registers() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
H A D | dm_common.c | 164 MASKDWORD) & MASKCCK; in rtl92d_bandtype_2_4G() 328 ele_d = rtl_get_bbreg(hw, ROFDM0_XATXIQIMBALANCE, MASKDWORD) & MASKOFDM_D; in rtl92d_dm_txpower_tracking_callback_thermalmeter() 343 ele_d = rtl_get_bbreg(hw, ROFDM0_XBTXIQIMBALANCE, MASKDWORD); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 522 MASKDWORD, value32); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 531 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, MASKDWORD, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 576 MASKDWORD, value32); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 585 MASKDWORD, ofdmswing_table[ofdm_index[1]]); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 597 rtl_get_bbreg(hw, 0xc80, MASKDWORD), in rtl92d_dm_txpower_tracking_callback_thermalmeter() 598 rtl_get_bbreg(hw, 0xc94, MASKDWORD), in rtl92d_dm_txpower_tracking_callback_thermalmeter() 667 ret_value = rtl_get_bbreg(hw, ROFDM0_FRAMESYNC, MASKDWORD); in rtl92d_dm_false_alarm_counter_statistics() [all …]
|
H A D | phy_common.c | 33 tmplong = rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD); in _rtl92d_phy_rf_serial_read() 37 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92d_phy_rf_serial_read() 40 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92d_phy_rf_serial_read() 43 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92d_phy_rf_serial_read() 45 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92d_phy_rf_serial_read() 78 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92d_phy_rf_serial_write() 335 rtlphy->framesync_c34 = rtl_get_bbreg(hw, ROFDM0_RXDETECTOR2, MASKDWORD); in rtl92d_phy_get_hw_reg_originalvalue() 509 adda_backup[i] = rtl_get_bbreg(hw, adda_reg[i], MASKDWORD); in rtl92d_phy_save_adda_registers() 539 rtl_set_bbreg(hw, adda_reg[i], MASKDWORD, pathon); in rtl92d_phy_path_adda_on()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | phy.c | 46 if (bitmask != MASKDWORD) { in rtl92s_phy_set_bb_reg() 75 tmplong = rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD); in _rtl92s_phy_rf_serial_read() 80 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92s_phy_rf_serial_read() 85 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92s_phy_rf_serial_read() 90 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92s_phy_rf_serial_read() 93 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, tmplong | in _rtl92s_phy_rf_serial_read() 132 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92s_phy_rf_serial_write() 800 rtl92s_phy_set_bb_reg(hw, phy_reg_table[i], MASKDWORD, in _rtl92s_phy_config_bb() 805 rtl92s_phy_set_bb_reg(hw, agc_table[i], MASKDWORD, in _rtl92s_phy_config_bb() 1085 MASKDWORD); in rtl92s_phy_get_hw_reg_originalvalue()
|