Home
last modified time | relevance | path

Searched refs:cur_igvalue (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Ddm.c101 u8 value_igi = dm_digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_fa()
118 dm_digtable->cur_igvalue = value_igi; in rtl92c_dm_ctrl_initgain_by_fa()
145 dm_digtable->cur_igvalue = dm_digtable->rx_gain_max; in rtl92c_dm_ctrl_initgain_by_rssi()
148 dm_digtable->cur_igvalue = dm_digtable->rx_gain_min; in rtl92c_dm_ctrl_initgain_by_rssi()
150 dm_digtable->cur_igvalue = dm_digtable->rssi_val_min + 10 - in rtl92c_dm_ctrl_initgain_by_rssi()
179 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta()
189 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta()
200 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta()
232 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_sta()
424 dm_digtable->cur_igvalue, dm_digtable->pre_igvalue, in rtl8723e_dm_write_dig()
[all …]
Dphy.c1488 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723e_phy_set_io()
1493 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723e_phy_set_io()
1494 dm_digtable->cur_igvalue = 0x17; in rtl8723e_phy_set_io()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c261 u8 value_igi = dm_digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_fa()
280 dm_digtable->cur_igvalue = value_igi; in rtl92c_dm_ctrl_initgain_by_fa()
293 if (digtable->forbidden_igi < digtable->cur_igvalue) { in rtl92c_dm_ctrl_initgain_by_rssi()
294 digtable->forbidden_igi = digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_rssi()
349 digtable->cur_igvalue = digtable->pre_igvalue + 2; in rtl92c_dm_ctrl_initgain_by_rssi()
351 digtable->cur_igvalue = digtable->pre_igvalue + 1; in rtl92c_dm_ctrl_initgain_by_rssi()
353 digtable->cur_igvalue = digtable->pre_igvalue - 1; in rtl92c_dm_ctrl_initgain_by_rssi()
357 if (digtable->cur_igvalue > digtable->rx_gain_max) in rtl92c_dm_ctrl_initgain_by_rssi()
358 digtable->cur_igvalue = digtable->rx_gain_max; in rtl92c_dm_ctrl_initgain_by_rssi()
360 if (digtable->cur_igvalue < digtable->rx_gain_min) in rtl92c_dm_ctrl_initgain_by_rssi()
[all …]
Dphy_common.c1552 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl92c_phy_set_io()
1557 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl92c_phy_set_io()
1558 dm_digtable->cur_igvalue = 0x17; in rtl92c_phy_set_io()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddm.c451 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect()
455 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect()
458 digtable->cur_igvalue = digtable->rssi_val + 10 in _rtl92s_dm_initial_gain_sta_beforeconnect()
462 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect()
463 (digtable->cur_igvalue > 0x33) ? in _rtl92s_dm_initial_gain_sta_beforeconnect()
464 digtable->cur_igvalue : 0x33; in _rtl92s_dm_initial_gain_sta_beforeconnect()
467 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect()
482 digtable->cur_igvalue = rtlpriv->phy.default_initialgain[0]; in _rtl92s_dm_initial_gain_sta_beforeconnect()
492 if ((digtable->pre_igvalue != digtable->cur_igvalue) || in _rtl92s_dm_initial_gain_sta_beforeconnect()
497 initial_gain = (u8)digtable->cur_igvalue; in _rtl92s_dm_initial_gain_sta_beforeconnect()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Ddm_common.c834 de_digtable->cur_igvalue, de_digtable->pre_igvalue, in rtl92d_dm_write_dig()
841 if (de_digtable->pre_igvalue != de_digtable->cur_igvalue) { in rtl92d_dm_write_dig()
843 de_digtable->cur_igvalue); in rtl92d_dm_write_dig()
845 de_digtable->cur_igvalue); in rtl92d_dm_write_dig()
846 de_digtable->pre_igvalue = de_digtable->cur_igvalue; in rtl92d_dm_write_dig()
879 u8 value_igi = de_digtable->cur_igvalue; in rtl92d_dm_dig()
932 if (de_digtable->forbidden_igi < de_digtable->cur_igvalue) { in rtl92d_dm_dig()
933 de_digtable->forbidden_igi = de_digtable->cur_igvalue; in rtl92d_dm_dig()
978 de_digtable->cur_igvalue = value_igi; in rtl92d_dm_dig()
Dphy_common.c646 de_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl92d_phy_set_io()
651 rtlphy->initgain_backup.xaagccore1 = de_digtable->cur_igvalue; in rtl92d_phy_set_io()
652 de_digtable->cur_igvalue = 0x37; in rtl92d_phy_set_io()
654 de_digtable->cur_igvalue = 0x17; in rtl92d_phy_set_io()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Ddm.c475 u8 current_igi = dm_dig->cur_igvalue; in rtl88e_dm_dig()
591 dm_dig->cur_igvalue = current_igi; in rtl88e_dm_dig()
695 dm_dig->cur_igvalue, dm_dig->pre_igvalue, in rtl88e_dm_write_dig()
698 if (dm_dig->cur_igvalue > 0x3f) in rtl88e_dm_write_dig()
699 dm_dig->cur_igvalue = 0x3f; in rtl88e_dm_write_dig()
700 if (dm_dig->pre_igvalue != dm_dig->cur_igvalue) { in rtl88e_dm_write_dig()
702 dm_dig->cur_igvalue); in rtl88e_dm_write_dig()
704 dm_dig->pre_igvalue = dm_dig->cur_igvalue; in rtl88e_dm_write_dig()
1743 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl88e_dm_init() local
1746 rtl_dm_diginit(hw, cur_igvalue); in rtl88e_dm_init()
Dphy.c2108 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl88e_phy_set_io()
2114 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl88e_phy_set_io()
2115 dm_digtable->cur_igvalue = 0x17; in rtl88e_phy_set_io()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c136 u8 current_igi = dm_dig->cur_igvalue; in rtl92ee_dm_dig()
288 if (dm_dig->cur_igvalue != current_igi) { in rtl92ee_dm_write_dig()
293 dm_dig->pre_igvalue = dm_dig->cur_igvalue; in rtl92ee_dm_write_dig()
294 dm_dig->cur_igvalue = current_igi; in rtl92ee_dm_write_dig()
917 u32 cur_igvalue = rtl_get_bbreg(hw, DM_REG_IGI_A_11N, DM_BIT_IGI_11N); in rtl92ee_dm_init() local
921 rtl_dm_diginit(hw, cur_igvalue); in rtl92ee_dm_init()
Dphy.c2994 rtlphy->initgain_backup.xaagccore1 = dm_dig->cur_igvalue; in rtl92ee_phy_set_io()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c246 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl8723be_dm_init() local
249 rtl_dm_diginit(hw, cur_igvalue); in rtl8723be_dm_init()
363 if (dm_digtable->cur_igvalue != current_igi) { in rtl8723be_dm_write_dig()
369 dm_digtable->pre_igvalue = dm_digtable->cur_igvalue; in rtl8723be_dm_write_dig()
370 dm_digtable->cur_igvalue = current_igi; in rtl8723be_dm_write_dig()
381 u8 current_igi = dm_digtable->cur_igvalue; in rtl8723be_dm_dig()
Dphy.c2471 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723be_phy_set_io()
2477 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723be_phy_set_io()
2478 dm_digtable->cur_igvalue = 0x17; in rtl8723be_phy_set_io()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c408 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl8821ae_dm_init() local
416 rtl_dm_diginit(hw, cur_igvalue); in rtl8821ae_dm_init()
607 if (dm_digtable->cur_igvalue != current_igi) { in rtl8821ae_dm_write_dig()
614 dm_digtable->cur_igvalue = current_igi; in rtl8821ae_dm_write_dig()
627 u8 current_igi = dm_digtable->cur_igvalue; in rtl8821ae_dm_dig()
Dphy.c4655 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8821ae_phy_set_io()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1932 void rtl_dm_diginit(struct ieee80211_hw *hw, u32 cur_igvalue) in rtl_dm_diginit() argument
1939 dm_digtable->cur_igvalue = cur_igvalue; in rtl_dm_diginit()
Dwifi.h2465 u32 cur_igvalue; member