Home
last modified time | relevance | path

Searched refs:pphyreg (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Drf.c61 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()
Dphy.c139 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_read() local
155 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92ee_phy_rf_serial_read()
160 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92ee_phy_rf_serial_read()
169 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl92ee_phy_rf_serial_read()
172 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl92ee_phy_rf_serial_read()
176 rfpath, pphyreg->rf_rb, retvalue); in _rtl92ee_phy_rf_serial_read()
188 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_write() local
197 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92ee_phy_rf_serial_write()
200 pphyreg->rf3wire_offset, data_and_addr); in _rtl92ee_phy_rf_serial_write()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Drf.c405 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()
Dphy.c66 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_read() local
80 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92s_phy_rf_serial_read()
90 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92s_phy_rf_serial_read()
105 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl92s_phy_rf_serial_read()
108 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl92s_phy_rf_serial_read()
112 rfpath, pphyreg->rf_rb, retvalue); in _rtl92s_phy_rf_serial_read()
124 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_write() local
132 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92s_phy_rf_serial_write()
135 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92s_phy_rf_serial_write()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Drf.c417 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()
Dphy.c145 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf_serial_read() local
161 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl88e_phy_rf_serial_read()
167 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl88e_phy_rf_serial_read()
176 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl88e_phy_rf_serial_read()
179 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl88e_phy_rf_serial_read()
183 rfpath, pphyreg->rf_rb, retvalue); in _rtl88e_phy_rf_serial_read()
195 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf_serial_write() local
204 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl88e_phy_rf_serial_write()
207 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl88e_phy_rf_serial_write()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Drf.c385 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Drf.c421 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Drf.c412 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Drf.c421 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Drf.c445 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()
Dphy.c244 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_read() local
255 tmplong2 = rtl_get_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD); in _rtl92d_phy_rf_serial_read()
261 rtl_set_bbreg(hw, pphyreg->rfhssi_para2, MASKDWORD, tmplong2); in _rtl92d_phy_rf_serial_read()
274 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rbpi, in _rtl92d_phy_rf_serial_read()
277 retvalue = rtl_get_bbreg(hw, pphyreg->rf_rb, in _rtl92d_phy_rf_serial_read()
280 rfpath, pphyreg->rf_rb, retvalue); in _rtl92d_phy_rf_serial_read()
292 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_write() local
297 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl92d_phy_rf_serial_write()
299 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92d_phy_rf_serial_write()
1130 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_enable_rf_env() local
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dphy_common.c67 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dphy_common.c76 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-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c263 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8821ae_phy_rf_serial_write() local
275 rtl_set_bbreg(hw, pphyreg->rf3wire_offset, MASKDWORD, data_and_addr); in _rtl8821ae_phy_rf_serial_write()
278 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl8821ae_phy_rf_serial_write()