/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | rf.c | 61 struct bb_reg_def *pphyreg; in _rtl92ee_phy_rf6052_config_parafile() local 64 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf6052_config_parafile() 69 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile() 74 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl92ee_phy_rf6052_config_parafile() 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 | phy.c | 140 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_read() local 156 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92ee_phy_rf_serial_read() 161 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92ee_phy_rf_serial_read() 170 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl92ee_phy_rf_serial_read() 173 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl92ee_phy_rf_serial_read() 177 rfpath, pphyreg->rf_rb, retvalue); in _rtl92ee_phy_rf_serial_read() 189 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_write() local 198 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92ee_phy_rf_serial_write() 201 pphyreg->rf3wire_offset, data_and_addr); in _rtl92ee_phy_rf_serial_write()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | rf.c | 405 struct bb_reg_def *pphyreg; in rtl92s_phy_rf6052_config() local 410 pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl92s_phy_rf6052_config() 417 pphyreg->rfintfs, in rtl92s_phy_rf6052_config() 423 pphyreg->rfintfs, in rtl92s_phy_rf6052_config() 429 rtl92s_phy_set_bb_reg(hw, pphyreg->rfintfe, in rtl92s_phy_rf6052_config() 433 rtl92s_phy_set_bb_reg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in rtl92s_phy_rf6052_config() 436 rtl92s_phy_set_bb_reg(hw, pphyreg->rfhssi_para2, in rtl92s_phy_rf6052_config() 438 rtl92s_phy_set_bb_reg(hw, pphyreg->rfhssi_para2, in rtl92s_phy_rf6052_config() 461 rtl92s_phy_set_bb_reg(hw, pphyreg->rfintfs, BRFSI_RFENV, in rtl92s_phy_rf6052_config() 466 rtl92s_phy_set_bb_reg(hw, pphyreg->rfintfs, in rtl92s_phy_rf6052_config()
|
A D | phy.c | 73 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_read() local 87 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92s_phy_rf_serial_read() 97 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92s_phy_rf_serial_read() 112 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl92s_phy_rf_serial_read() 115 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl92s_phy_rf_serial_read() 118 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl92s_phy_rf_serial_read() 122 rfpath, pphyreg->rf_rb, retvalue); in _rtl92s_phy_rf_serial_read() 134 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_write() local 142 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92s_phy_rf_serial_write() 145 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92s_phy_rf_serial_write()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | rf.c | 417 struct bb_reg_def *pphyreg; in _rtl88e_phy_rf6052_config_parafile() local 420 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf6052_config_parafile() 425 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl88e_phy_rf6052_config_parafile() 430 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl88e_phy_rf6052_config_parafile() 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() 471 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl88e_phy_rf6052_config_parafile()
|
A D | phy.c | 151 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf_serial_read() local 167 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl88e_phy_rf_serial_read() 173 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl88e_phy_rf_serial_read() 182 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl88e_phy_rf_serial_read() 185 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl88e_phy_rf_serial_read() 189 rfpath, pphyreg->rf_rb, retvalue); in _rtl88e_phy_rf_serial_read() 201 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf_serial_write() local 210 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl88e_phy_rf_serial_write() 213 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl88e_phy_rf_serial_write()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | rf.c | 412 struct bb_reg_def *pphyreg; in _rtl92ce_phy_rf6052_config_parafile() local 416 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ce_phy_rf6052_config_parafile() 421 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl92ce_phy_rf6052_config_parafile() 426 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl92ce_phy_rf6052_config_parafile() 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() 467 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92ce_phy_rf6052_config_parafile()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
A D | rf.c | 385 struct bb_reg_def *pphyreg; in _rtl92c_phy_rf6052_config_parafile() local 388 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf6052_config_parafile() 392 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl92c_phy_rf6052_config_parafile() 397 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl92c_phy_rf6052_config_parafile() 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() 429 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl92c_phy_rf6052_config_parafile()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | rf.c | 421 struct bb_reg_def *pphyreg; in _rtl8723e_phy_rf6052_config_parafile() local 425 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8723e_phy_rf6052_config_parafile() 430 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl8723e_phy_rf6052_config_parafile() 435 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl8723e_phy_rf6052_config_parafile() 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() 477 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl8723e_phy_rf6052_config_parafile()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | rf.c | 421 struct bb_reg_def *pphyreg; in _rtl8723be_phy_rf6052_config_parafile() local 424 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8723be_phy_rf6052_config_parafile() 429 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl8723be_phy_rf6052_config_parafile() 434 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in _rtl8723be_phy_rf6052_config_parafile() 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() 475 rtl_set_bbreg(hw, pphyreg->rfintfs, in _rtl8723be_phy_rf6052_config_parafile()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | rf.c | 445 struct bb_reg_def *pphyreg; in rtl92d_phy_rf6052_config() local 517 pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl92d_phy_rf6052_config() 521 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in rtl92d_phy_rf6052_config() 526 u4_regvalue = rtl_get_bbreg(hw, pphyreg->rfintfs, in rtl92d_phy_rf6052_config() 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() 571 rtl_set_bbreg(hw, pphyreg->rfintfs, BRFSI_RFENV << 16, in rtl92d_phy_rf6052_config()
|
A D | phy.c | 251 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_read() local 268 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92d_phy_rf_serial_read() 281 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl92d_phy_rf_serial_read() 284 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl92d_phy_rf_serial_read() 287 rfpath, pphyreg->rf_rb, retvalue); in _rtl92d_phy_rf_serial_read() 299 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_write() local 306 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92d_phy_rf_serial_write() 1137 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_enable_rf_env() local 1156 rtl_set_bbreg(hw, pphyreg->rfintfo, BRFSI_RFENV, 0x1); in _rtl92d_phy_enable_rf_env() 1173 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_restore_rf_env() local [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
A D | phy_common.c | 67 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_read() local 83 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in rtl8723_phy_rf_serial_read() 88 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in rtl8723_phy_rf_serial_read() 99 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in rtl8723_phy_rf_serial_read() 102 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in rtl8723_phy_rf_serial_read() 106 rfpath, pphyreg->rf_rb, retvalue); in rtl8723_phy_rf_serial_read() 119 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_write() local 128 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in rtl8723_phy_rf_serial_write() 131 rfpath, pphyreg->rf3wire_offset, in rtl8723_phy_rf_serial_write()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
A D | phy_common.c | 76 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_read() local 92 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92c_phy_rf_serial_read() 98 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92c_phy_rf_serial_read() 110 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl92c_phy_rf_serial_read() 113 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl92c_phy_rf_serial_read() 116 rfpath, pphyreg->rf_rb, in _rtl92c_phy_rf_serial_read() 130 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_write() local 139 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92c_phy_rf_serial_write() 141 rfpath, pphyreg->rf3wire_offset, in _rtl92c_phy_rf_serial_write()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | phy.c | 262 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8821ae_phy_rf_serial_write() local 274 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl8821ae_phy_rf_serial_write() 277 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl8821ae_phy_rf_serial_write()
|