/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
D | phy.c | 183 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92ee_phy_rf_serial_read() 186 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92ee_phy_rf_serial_read() 223 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92ee_phy_rf_serial_write() 271 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl92ee_phy_bb_config() 399 rtl_set_bbreg(hw, addr, MASKDWORD , data); in _rtl92ee_config_bb_reg() 762 rtl_set_bbreg(hw, array[i], MASKDWORD, in phy_config_bb_with_hdr_file() 790 rtl_set_bbreg(hw, in phy_config_bb_with_hdr_file() 1311 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, in _rtl92ee_set_txpower_index() 1315 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE1, in _rtl92ee_set_txpower_index() 1319 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE2, in _rtl92ee_set_txpower_index() [all …]
|
D | rf.c | 102 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl92ee_phy_rf6052_config_parafile() 105 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl92ee_phy_rf6052_config_parafile() 108 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl92ee_phy_rf6052_config_parafile() 112 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl92ee_phy_rf6052_config_parafile() 133 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile() 138 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile()
|
D | dm.c | 161 rtl_set_bbreg(hw, DM_REG_OFDM_FA_HOLDC_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 162 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 190 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(12), 1); in rtl92ee_dm_false_alarm_counter_statistics() 191 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(14), 1); in rtl92ee_dm_false_alarm_counter_statistics() 215 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 1); in rtl92ee_dm_false_alarm_counter_statistics() 216 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 0); in rtl92ee_dm_false_alarm_counter_statistics() 217 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(27), 1); in rtl92ee_dm_false_alarm_counter_statistics() 218 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(27), 0); in rtl92ee_dm_false_alarm_counter_statistics() 220 rtl_set_bbreg(hw, DM_REG_OFDM_FA_HOLDC_11N, BIT(31), 0); in rtl92ee_dm_false_alarm_counter_statistics() 221 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(31), 0); in rtl92ee_dm_false_alarm_counter_statistics() [all …]
|
D | hw.c | 1363 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl92ee_hw_init() 1364 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0x1); in rtl92ee_hw_init()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
D | phy.c | 144 rtl_set_bbreg(hw, REG_MAC_PHY_CTRL, 0xFFF000, in rtl8723be_phy_bb_config() 242 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8723be_config_bb_reg() 583 rtl_set_bbreg(hw, array_table[i], in _rtl8723be_phy_config_bb_with_headerfile() 615 rtl_set_bbreg(hw, array_table[i], in _rtl8723be_phy_config_bb_with_headerfile() 1301 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl8723be_phy_set_bw_mode_callback() 1302 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl8723be_phy_set_bw_mode_callback() 1306 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl8723be_phy_set_bw_mode_callback() 1307 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl8723be_phy_set_bw_mode_callback() 1309 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl8723be_phy_set_bw_mode_callback() 1311 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, mac->cur_40_prime_sc); in rtl8723be_phy_set_bw_mode_callback() [all …]
|
D | dm.c | 386 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f, current_igi); in rtl8723be_dm_write_dig() 388 rtl_set_bbreg(hw, ROFDM0_XBAGCCORE1, in rtl8723be_dm_write_dig() 538 rtl_set_bbreg(hw, DM_REG_OFDM_FA_HOLDC_11N, BIT(31), 1); in rtl8723be_dm_false_alarm_counter_statistics() 539 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(31), 1); in rtl8723be_dm_false_alarm_counter_statistics() 563 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(12), 1); in rtl8723be_dm_false_alarm_counter_statistics() 564 rtl_set_bbreg(hw, DM_REG_CCK_FA_RST_11N, BIT(14), 1); in rtl8723be_dm_false_alarm_counter_statistics() 587 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 1); in rtl8723be_dm_false_alarm_counter_statistics() 588 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTC_11N, BIT(31), 0); in rtl8723be_dm_false_alarm_counter_statistics() 589 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(27), 1); in rtl8723be_dm_false_alarm_counter_statistics() 590 rtl_set_bbreg(hw, DM_REG_OFDM_FA_RSTD_11N, BIT(27), 0); in rtl8723be_dm_false_alarm_counter_statistics() [all …]
|
D | rf.c | 127 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl8723be_phy_rf6052_set_cck_txpower() 137 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl8723be_phy_rf6052_set_cck_txpower() 144 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl8723be_phy_rf6052_set_cck_txpower() 151 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl8723be_phy_rf6052_set_cck_txpower() 383 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl8723be_write_ofdm_power_reg() 462 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl8723be_phy_rf6052_config_parafile() 465 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl8723be_phy_rf6052_config_parafile() 468 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl8723be_phy_rf6052_config_parafile() 472 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl8723be_phy_rf6052_config_parafile() 493 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl8723be_phy_rf6052_config_parafile() [all …]
|
D | hw.c | 935 rtl_set_bbreg(hw, 0x64, BIT(20), 0x0);/* 0x66[4]=0 */ in _rtl8723be_init_mac() 936 rtl_set_bbreg(hw, 0x64, BIT(24), 0x0);/* 0x66[8]=0 */ in _rtl8723be_init_mac() 937 rtl_set_bbreg(hw, 0x40, BIT(4), 0x0)/* 0x40[4]=0 */; in _rtl8723be_init_mac() 938 rtl_set_bbreg(hw, 0x40, BIT(3), 0x1)/* 0x40[3]=1 */; in _rtl8723be_init_mac() 939 rtl_set_bbreg(hw, 0x4C, BIT(24) | BIT(23), 0x2)/* 0x4C[24:23]=10 */; in _rtl8723be_init_mac() 940 rtl_set_bbreg(hw, 0x944, BIT(1) | BIT(0), 0x3)/* 0x944[1:0]=11 */; in _rtl8723be_init_mac() 941 rtl_set_bbreg(hw, 0x930, MASKBYTE0, 0x77)/* 0x930[7:0]=77 */; in _rtl8723be_init_mac() 942 rtl_set_bbreg(hw, 0x38, BIT(11), 0x1)/* 0x38[11]=1 */; in _rtl8723be_init_mac()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | phy.c | 76 rtl_set_bbreg(hw, RRFMOD, 0xC00, 0x3); in rtl8812ae_fixspur() 79 rtl_set_bbreg(hw, RRFMOD, 0xC00, 0x2); in rtl8812ae_fixspur() 87 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x3); in rtl8812ae_fixspur() 89 rtl_set_bbreg(hw, RADC_BUF_CLK, BIT(30), 1); in rtl8812ae_fixspur() 93 rtl_set_bbreg(hw, RADC_BUF_CLK, BIT(30), 1); in rtl8812ae_fixspur() 96 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x2); in rtl8812ae_fixspur() 98 rtl_set_bbreg(hw, RADC_BUF_CLK, BIT(30), 0); in rtl8812ae_fixspur() 107 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x3); in rtl8812ae_fixspur() 110 rtl_set_bbreg(hw, RRFMOD, 0x300, 0x2); in rtl8812ae_fixspur() 235 rtl_set_bbreg(hw, RCCAONSEC, 0x8, 1); in _rtl8821ae_phy_rf_serial_read() [all …]
|
D | dm.c | 784 rtl_set_bbreg(hw, DM_REG_IGI_A_11AC, in rtl8821ae_dm_write_dig() 787 rtl_set_bbreg(hw, DM_REG_IGI_B_11AC, in rtl8821ae_dm_write_dig() 1053 rtl_set_bbreg(hw, ODM_REG_OFDM_FA_RST_11AC, BIT(17), 1); in rtl8821ae_dm_false_alarm_counter_statistics() 1054 rtl_set_bbreg(hw, ODM_REG_OFDM_FA_RST_11AC, BIT(17), 0); in rtl8821ae_dm_false_alarm_counter_statistics() 1056 rtl_set_bbreg(hw, ODM_REG_CCK_FA_RST_11AC, BIT(15), 0); in rtl8821ae_dm_false_alarm_counter_statistics() 1057 rtl_set_bbreg(hw, ODM_REG_CCK_FA_RST_11AC, BIT(15), 1); in rtl8821ae_dm_false_alarm_counter_statistics() 1460 rtl_set_bbreg(hw, RA_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() 1476 rtl_set_bbreg(hw, RB_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() 1502 rtl_set_bbreg(hw, RA_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() 1522 rtl_set_bbreg(hw, RA_TXSCALE, 0xFFE00000, in rtl8812ae_dm_txpwr_track_set_pwr() [all …]
|
D | rf.c | 129 rtl_set_bbreg(hw, RTXAGC_A_CCK11_CCK1, MASKDWORD, tmpval); in rtl8821ae_phy_rf6052_set_cck_txpower() 136 rtl_set_bbreg(hw, RTXAGC_B_CCK11_CCK1, MASKDWORD, tmpval); in rtl8821ae_phy_rf6052_set_cck_txpower() 362 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl8821ae_write_ofdm_power_reg()
|
D | hw.c | 1802 rtl_set_bbreg(hw, 0x808, 0xff, 0x11); in _rtl8812ae_bb8812_config_1t() 1804 rtl_set_bbreg(hw, 0x80c, MASKLWORD, 0x1111); in _rtl8812ae_bb8812_config_1t() 1806 rtl_set_bbreg(hw, 0xa04, 0x0c000000, 0x0); in _rtl8812ae_bb8812_config_1t() 1808 rtl_set_bbreg(hw, 0x8bc, 0xc0000060, 0x4); in _rtl8812ae_bb8812_config_1t() 1810 rtl_set_bbreg(hw, 0xe00, 0xf, 0x4); in _rtl8812ae_bb8812_config_1t() 1812 rtl_set_bbreg(hw, 0xe90, MASKDWORD, 0); in _rtl8812ae_bb8812_config_1t() 1814 rtl_set_bbreg(hw, 0xe60, MASKDWORD, 0); in _rtl8812ae_bb8812_config_1t() 1815 rtl_set_bbreg(hw, 0xe64, MASKDWORD, 0); in _rtl8812ae_bb8812_config_1t() 1994 rtl_set_bbreg(hw, 0x900, 0x00000303, 0x0302); in rtl8821ae_hw_init()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | phy.c | 287 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92d_phy_rf_serial_read() 290 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92d_phy_rf_serial_read() 293 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92d_phy_rf_serial_read() 326 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92d_phy_rf_serial_write() 573 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl92d_phy_config_bb_with_headerfile() 584 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92d_phy_config_bb_with_headerfile() 600 rtl_set_bbreg(hw, agctab_array_table[i], in _rtl92d_phy_config_bb_with_headerfile() 615 rtl_set_bbreg(hw, in _rtl92d_phy_config_bb_with_headerfile() 1011 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92d_phy_set_bw_mode() 1012 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92d_phy_set_bw_mode() [all …]
|
D | dm.c | 167 rtl_set_bbreg(hw, ROFDM0_LSTF, BIT(31), 1); /* hold page C counter */ in rtl92d_dm_false_alarm_counter_statistics() 168 rtl_set_bbreg(hw, ROFDM1_LSTF, BIT(31), 1); /*hold page D counter */ in rtl92d_dm_false_alarm_counter_statistics() 208 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 1); in rtl92d_dm_false_alarm_counter_statistics() 210 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 0); in rtl92d_dm_false_alarm_counter_statistics() 212 rtl_set_bbreg(hw, ROFDM0_LSTF, BIT(31), 0); in rtl92d_dm_false_alarm_counter_statistics() 214 rtl_set_bbreg(hw, ROFDM1_LSTF, BIT(31), 0); in rtl92d_dm_false_alarm_counter_statistics() 218 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 0); in rtl92d_dm_false_alarm_counter_statistics() 220 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 2); in rtl92d_dm_false_alarm_counter_statistics() 307 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0x83); in rtl92d_dm_cck_packet_detection_thresh() 311 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0xcd); in rtl92d_dm_cck_packet_detection_thresh() [all …]
|
D | rf.c | 128 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl92d_phy_rf6052_set_cck_txpower() 133 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl92d_phy_rf6052_set_cck_txpower() 138 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl92d_phy_rf6052_set_cck_txpower() 143 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl92d_phy_rf6052_set_cck_txpower() 363 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl92d_write_ofdm_power_reg() 557 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in rtl92d_phy_rf6052_config() 559 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in rtl92d_phy_rf6052_config() 563 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in rtl92d_phy_rf6052_config() 567 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in rtl92d_phy_rf6052_config() 593 rtl_set_bbreg(hw, pphyreg->rfintfs, BRFSI_RFENV, in rtl92d_phy_rf6052_config() [all …]
|
D | hw.c | 976 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, 0x00f00000, 0xf); in rtl92de_hw_init() 986 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, 0x00f00000, 0); in rtl92de_hw_init() 994 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl92de_hw_init() 995 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0x1); in rtl92de_hw_init() 999 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10) | in rtl92de_hw_init() 1003 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(11) | in rtl92de_hw_init() 1229 rtl_set_bbreg(hw, RFPGA0_XCD_RFPARAMETER, BIT(3), 0); in _rtl92de_poweroff_adapter() 1230 rtl_set_bbreg(hw, RFPGA0_XCD_RFPARAMETER, BIT(15), 0); in _rtl92de_poweroff_adapter() 1336 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, 0x00f00000, 0xf); in rtl92de_card_disable() 1343 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, MASKBYTE0, 0); in rtl92de_card_disable() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | dm.c | 188 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, in rtl88e_set_iqk_matrix() 191 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, MASKH4BITS, in rtl88e_set_iqk_matrix() 194 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(24), in rtl88e_set_iqk_matrix() 199 rtl_set_bbreg(hw, ROFDM0_XBTXIQIMBALANCE, MASKDWORD, in rtl88e_set_iqk_matrix() 202 rtl_set_bbreg(hw, ROFDM0_XDTXAFE, MASKH4BITS, value32); in rtl88e_set_iqk_matrix() 204 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(28), in rtl88e_set_iqk_matrix() 213 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, in rtl88e_set_iqk_matrix() 215 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, in rtl88e_set_iqk_matrix() 217 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, in rtl88e_set_iqk_matrix() 221 rtl_set_bbreg(hw, ROFDM0_XBTXIQIMBALANCE, in rtl88e_set_iqk_matrix() [all …]
|
D | phy.c | 189 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl88e_phy_rf_serial_read() 192 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl88e_phy_rf_serial_read() 229 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl88e_phy_rf_serial_write() 362 rtl_set_bbreg(hw, addr, MASKDWORD, data); in _rtl8188e_config_bb_reg() 479 rtl_set_bbreg(hw, array_table[i], MASKDWORD, in handle_branch2() 503 rtl_set_bbreg(hw, array_table[i], in handle_branch2() 1147 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl88e_phy_set_bw_mode_callback() 1148 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl88e_phy_set_bw_mode_callback() 1152 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl88e_phy_set_bw_mode_callback() 1153 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl88e_phy_set_bw_mode_callback() [all …]
|
D | rf.c | 128 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl88e_phy_rf6052_set_cck_txpower() 138 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl88e_phy_rf6052_set_cck_txpower() 145 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl88e_phy_rf6052_set_cck_txpower() 152 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl88e_phy_rf6052_set_cck_txpower() 380 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl88e_write_ofdm_power_reg() 458 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl88e_phy_rf6052_config_parafile() 461 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl88e_phy_rf6052_config_parafile() 464 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl88e_phy_rf6052_config_parafile() 468 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl88e_phy_rf6052_config_parafile() 489 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl88e_phy_rf6052_config_parafile() [all …]
|
D | hw.c | 1126 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl88ee_hw_init() 1127 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0x1); in rtl88ee_hw_init()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192c/ |
D | phy_common.c | 121 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92c_phy_rf_serial_read() 124 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92c_phy_rf_serial_read() 126 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92c_phy_rf_serial_read() 165 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92c_phy_rf_serial_write() 186 rtl_set_bbreg(hw, RFPGA0_TXINFO, 0x3, 0x2); in _rtl92c_phy_bb_config_1t() 187 rtl_set_bbreg(hw, RFPGA1_TXINFO, 0x300033, 0x200022); in _rtl92c_phy_bb_config_1t() 188 rtl_set_bbreg(hw, RCCK0_AFESETTING, MASKBYTE3, 0x45); in _rtl92c_phy_bb_config_1t() 189 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, MASKBYTE0, 0x23); in _rtl92c_phy_bb_config_1t() 190 rtl_set_bbreg(hw, ROFDM0_AGCPARAMETER1, 0x30, 0x1); in _rtl92c_phy_bb_config_1t() 191 rtl_set_bbreg(hw, 0xe74, 0x0c000000, 0x2); in _rtl92c_phy_bb_config_1t() [all …]
|
D | dm_common.c | 253 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, BIT(14), 1); in rtl92c_dm_false_alarm_counter_statistics() 265 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 1); in rtl92c_dm_false_alarm_counter_statistics() 266 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 0); in rtl92c_dm_false_alarm_counter_statistics() 267 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 0); in rtl92c_dm_false_alarm_counter_statistics() 268 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 2); in rtl92c_dm_false_alarm_counter_statistics() 503 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0x83); in rtl92c_dm_cck_packet_detection_thresh() 505 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0xcd); in rtl92c_dm_cck_packet_detection_thresh() 582 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f, in rtl92c_dm_write_dig() 584 rtl_set_bbreg(hw, ROFDM0_XBAGCCORE1, 0x7f, in rtl92c_dm_write_dig() 1005 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, in rtl92c_dm_txpower_tracking_callback_thermalmeter() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723com/ |
D | phy_common.c | 112 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in rtl8723_phy_rf_serial_read() 115 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in rtl8723_phy_rf_serial_read() 117 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in rtl8723_phy_rf_serial_read() 156 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in rtl8723_phy_rf_serial_write() 320 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, 0x3FF, tx0_a); in rtl8723_phy_path_a_fill_iqk_matrix() 321 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(31), in rtl8723_phy_path_a_fill_iqk_matrix() 327 rtl_set_bbreg(hw, ROFDM0_XCTXAFE, 0xF0000000, in rtl8723_phy_path_a_fill_iqk_matrix() 329 rtl_set_bbreg(hw, ROFDM0_XATXIQIMBALANCE, 0x003F0000, in rtl8723_phy_path_a_fill_iqk_matrix() 331 rtl_set_bbreg(hw, ROFDM0_ECCATHRESHOLD, BIT(29), in rtl8723_phy_path_a_fill_iqk_matrix() 336 rtl_set_bbreg(hw, ROFDM0_XARXIQIMBALANCE, 0x3FF, reg); in rtl8723_phy_path_a_fill_iqk_matrix() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | phy.c | 141 rtl_set_bbreg(hw, RFPGA0_TXINFO, 0x3, 0x2); in _rtl8723e_phy_bb_config_1t() 142 rtl_set_bbreg(hw, RFPGA1_TXINFO, 0x300033, 0x200022); in _rtl8723e_phy_bb_config_1t() 143 rtl_set_bbreg(hw, RCCK0_AFESETTING, MASKBYTE3, 0x45); in _rtl8723e_phy_bb_config_1t() 144 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, MASKBYTE0, 0x23); in _rtl8723e_phy_bb_config_1t() 145 rtl_set_bbreg(hw, ROFDM0_AGCPARAMETER1, 0x30, 0x1); in _rtl8723e_phy_bb_config_1t() 146 rtl_set_bbreg(hw, 0xe74, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 147 rtl_set_bbreg(hw, 0xe78, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 148 rtl_set_bbreg(hw, 0xe7c, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 149 rtl_set_bbreg(hw, 0xe80, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() 150 rtl_set_bbreg(hw, 0xe88, 0x0c000000, 0x2); in _rtl8723e_phy_bb_config_1t() [all …]
|
D | dm.c | 196 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, BIT(14), 1); in rtl8723e_dm_false_alarm_counter_statistics() 208 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 1); in rtl8723e_dm_false_alarm_counter_statistics() 209 rtl_set_bbreg(hw, ROFDM1_LSTF, 0x08000000, 0); in rtl8723e_dm_false_alarm_counter_statistics() 210 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 0); in rtl8723e_dm_false_alarm_counter_statistics() 211 rtl_set_bbreg(hw, RCCK0_FALSEALARMREPORT, 0x0000c000, 2); in rtl8723e_dm_false_alarm_counter_statistics() 405 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, in rtl8723e_dm_cck_packet_detection_thresh() 408 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, in rtl8723e_dm_cck_packet_detection_thresh() 415 rtl_set_bbreg(hw, RCCK0_SYSTEM, MASKBYTE1, 0x40); in rtl8723e_dm_cck_packet_detection_thresh() 418 rtl_set_bbreg(hw, RCCK0_CCA, MASKBYTE2, 0xcd); in rtl8723e_dm_cck_packet_detection_thresh() 419 rtl_set_bbreg(hw, RCCK0_SYSTEM, MASKBYTE1, 0x47); in rtl8723e_dm_cck_packet_detection_thresh() [all …]
|
D | rf.c | 120 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl8723e_phy_rf6052_set_cck_txpower() 130 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl8723e_phy_rf6052_set_cck_txpower() 137 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl8723e_phy_rf6052_set_cck_txpower() 144 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl8723e_phy_rf6052_set_cck_txpower() 377 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl8723e_write_ofdm_power_reg() 463 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl8723e_phy_rf6052_config_parafile() 466 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl8723e_phy_rf6052_config_parafile() 469 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl8723e_phy_rf6052_config_parafile() 473 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl8723e_phy_rf6052_config_parafile() 495 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl8723e_phy_rf6052_config_parafile() [all …]
|
D | hw.c | 1004 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl8723e_hw_init() 1005 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0x1); in rtl8723e_hw_init() 1006 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 1); in rtl8723e_hw_init()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | rf.c | 120 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl92ce_phy_rf6052_set_cck_txpower() 130 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl92ce_phy_rf6052_set_cck_txpower() 137 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl92ce_phy_rf6052_set_cck_txpower() 144 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl92ce_phy_rf6052_set_cck_txpower() 369 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeVal); in _rtl92c_write_ofdm_power_reg() 458 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl92ce_phy_rf6052_config_parafile() 461 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl92ce_phy_rf6052_config_parafile() 464 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl92ce_phy_rf6052_config_parafile() 468 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl92ce_phy_rf6052_config_parafile() 489 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ce_phy_rf6052_config_parafile() [all …]
|
D | phy.c | 206 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl92ce_phy_config_bb_with_headerfile() 216 rtl_set_bbreg(hw, agctab_array_table[i], MASKDWORD, in _rtl92ce_phy_config_bb_with_headerfile() 357 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92ce_phy_set_bw_mode_callback() 358 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92ce_phy_set_bw_mode_callback() 359 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 1); in rtl92ce_phy_set_bw_mode_callback() 362 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl92ce_phy_set_bw_mode_callback() 363 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl92ce_phy_set_bw_mode_callback() 365 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl92ce_phy_set_bw_mode_callback() 367 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, mac->cur_40_prime_sc); in rtl92ce_phy_set_bw_mode_callback() 368 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 0); in rtl92ce_phy_set_bw_mode_callback() [all …]
|
D | hw.c | 1009 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl92ce_hw_init() 1010 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0x1); in rtl92ce_hw_init() 1011 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 1); in rtl92ce_hw_init()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | rf.c | 134 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS32, MASKBYTE1, tmpval); in rtl92cu_phy_rf6052_set_cck_txpower() 143 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, 0xffffff00, tmpval); in rtl92cu_phy_rf6052_set_cck_txpower() 148 rtl_set_bbreg(hw, RTXAGC_B_CCK11_A_CCK2_11, MASKBYTE0, tmpval); in rtl92cu_phy_rf6052_set_cck_txpower() 153 rtl_set_bbreg(hw, RTXAGC_B_CCK1_55_MCS32, 0xffffff00, tmpval); in rtl92cu_phy_rf6052_set_cck_txpower() 357 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeVal); in _rtl92c_write_ofdm_power_reg() 444 rtl_set_bbreg(hw, pphyreg->rfintfe, BRFSI_RFENV << 16, 0x1); in _rtl92c_phy_rf6052_config_parafile() 446 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl92c_phy_rf6052_config_parafile() 448 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, in _rtl92c_phy_rf6052_config_parafile() 451 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, B3WIREDATALENGTH, 0x0); in _rtl92c_phy_rf6052_config_parafile() 470 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92c_phy_rf6052_config_parafile() [all …]
|
D | phy.c | 196 rtl_set_bbreg(hw, phy_regarray_table[i], MASKDWORD, in _rtl92cu_phy_config_bb_with_headerfile() 206 rtl_set_bbreg(hw, agctab_array_table[i], MASKDWORD, in _rtl92cu_phy_config_bb_with_headerfile() 342 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92cu_phy_set_bw_mode_callback() 343 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92cu_phy_set_bw_mode_callback() 344 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 1); in rtl92cu_phy_set_bw_mode_callback() 347 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl92cu_phy_set_bw_mode_callback() 348 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl92cu_phy_set_bw_mode_callback() 349 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl92cu_phy_set_bw_mode_callback() 351 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, mac->cur_40_prime_sc); in rtl92cu_phy_set_bw_mode_callback() 352 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10), 0); in rtl92cu_phy_set_bw_mode_callback() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | phy.c | 123 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, in _rtl92s_phy_rf_serial_read() 128 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92s_phy_rf_serial_read() 131 rtl_set_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, MASKDWORD, tmplong | in _rtl92s_phy_rf_serial_read() 173 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92s_phy_rf_serial_write() 302 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x0); in rtl92s_phy_set_bw_mode() 303 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x0); in rtl92s_phy_set_bw_mode() 309 rtl_set_bbreg(hw, RFPGA0_RFMOD, BRFMOD, 0x1); in rtl92s_phy_set_bw_mode() 310 rtl_set_bbreg(hw, RFPGA1_RFMOD, BRFMOD, 0x1); in rtl92s_phy_set_bw_mode() 312 rtl_set_bbreg(hw, RCCK0_SYSTEM, BCCK_SIDEBAND, in rtl92s_phy_set_bw_mode() 314 rtl_set_bbreg(hw, ROFDM1_LSTF, 0xC00, mac->cur_40_prime_sc); in rtl92s_phy_set_bw_mode() [all …]
|
D | rf.c | 169 rtl_set_bbreg(hw, RFPGA0_TXGAINSTAGE, (BXBTXAGC | BXCTXAGC | BXDTXAGC), in _rtl92s_set_antennadiff() 367 rtl_set_bbreg(hw, regoffset[index], 0x7f7f7f7f, writeval); in _rtl92s_write_ofdm_powerreg() 421 rtl_set_bbreg(hw, RTXAGC_CCK_MCS32, BTX_AGCRATECCK, txagc); in rtl92s_phy_rf6052_set_ccktxpower()
|
D | hw.c | 365 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, in rtl92se_set_hw_reg() 370 rtl_set_bbreg(hw, ROFDM1_TRXPATHENABLE, in rtl92se_set_hw_reg() 376 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, in rtl92se_set_hw_reg() 383 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, in rtl92se_set_hw_reg() 388 rtl_set_bbreg(hw, ROFDM1_TRXPATHENABLE, in rtl92se_set_hw_reg() 394 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, in rtl92se_set_hw_reg() 1064 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl92se_hw_init() 1065 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0x1); in rtl92se_hw_init()
|
D | dm.c | 526 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, MASKBYTE0, initial_gain); in _rtl92s_dm_initial_gain_sta_beforeconnect() 527 rtl_set_bbreg(hw, ROFDM0_XBAGCCORE1, MASKBYTE0, initial_gain); in _rtl92s_dm_initial_gain_sta_beforeconnect()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 551 rtl_set_bbreg(rtlpriv->mac80211.hw, reg_addr, bit_mask, data); in halbtc_set_bbreg()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | core.c | 92 rtl_set_bbreg(hw, addr, MASKDWORD, data); in rtl_bb_delay()
|
D | wifi.h | 2942 static inline void rtl_set_bbreg(struct ieee80211_hw *hw, u32 regaddr, in rtl_set_bbreg() function
|