Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Ddm.c229 u8 value_igi = dm_digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_fa()
246 dm_digtable->cur_igvalue = value_igi; in rtl92c_dm_ctrl_initgain_by_fa()
273 dm_digtable->cur_igvalue = dm_digtable->rx_gain_max; in rtl92c_dm_ctrl_initgain_by_rssi()
276 dm_digtable->cur_igvalue = dm_digtable->rx_gain_min; in rtl92c_dm_ctrl_initgain_by_rssi()
278 dm_digtable->cur_igvalue = dm_digtable->rssi_val_min + 10 - in rtl92c_dm_ctrl_initgain_by_rssi()
307 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta()
317 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta()
328 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_multi_sta()
360 dm_digtable->cur_igvalue = 0x20; in rtl8723e_dm_initial_gain_sta()
550 dm_digtable->cur_igvalue, dm_digtable->pre_igvalue, in rtl8723e_dm_write_dig()
[all …]
Dphy.c1528 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723e_phy_set_io()
1533 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723e_phy_set_io()
1534 dm_digtable->cur_igvalue = 0x17; in rtl8723e_phy_set_io()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddm.c473 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect()
477 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect()
480 digtable->cur_igvalue = digtable->rssi_val + 10 in _rtl92s_dm_initial_gain_sta_beforeconnect()
484 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect()
485 (digtable->cur_igvalue > 0x33) ? in _rtl92s_dm_initial_gain_sta_beforeconnect()
486 digtable->cur_igvalue : 0x33; in _rtl92s_dm_initial_gain_sta_beforeconnect()
489 digtable->cur_igvalue = in _rtl92s_dm_initial_gain_sta_beforeconnect()
504 digtable->cur_igvalue = rtlpriv->phy.default_initialgain[0]; in _rtl92s_dm_initial_gain_sta_beforeconnect()
514 if ((digtable->pre_igvalue != digtable->cur_igvalue) || in _rtl92s_dm_initial_gain_sta_beforeconnect()
519 initial_gain = (u8)digtable->cur_igvalue; in _rtl92s_dm_initial_gain_sta_beforeconnect()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c283 u8 value_igi = dm_digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_fa()
302 dm_digtable->cur_igvalue = value_igi; in rtl92c_dm_ctrl_initgain_by_fa()
315 if (digtable->forbidden_igi < digtable->cur_igvalue) { in rtl92c_dm_ctrl_initgain_by_rssi()
316 digtable->forbidden_igi = digtable->cur_igvalue; in rtl92c_dm_ctrl_initgain_by_rssi()
371 digtable->cur_igvalue = digtable->pre_igvalue + 2; in rtl92c_dm_ctrl_initgain_by_rssi()
373 digtable->cur_igvalue = digtable->pre_igvalue + 1; in rtl92c_dm_ctrl_initgain_by_rssi()
375 digtable->cur_igvalue = digtable->pre_igvalue - 1; in rtl92c_dm_ctrl_initgain_by_rssi()
379 if (digtable->cur_igvalue > digtable->rx_gain_max) in rtl92c_dm_ctrl_initgain_by_rssi()
380 digtable->cur_igvalue = digtable->rx_gain_max; in rtl92c_dm_ctrl_initgain_by_rssi()
382 if (digtable->cur_igvalue < digtable->rx_gain_min) in rtl92c_dm_ctrl_initgain_by_rssi()
[all …]
Dphy_common.c1594 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl92c_phy_set_io()
1599 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl92c_phy_set_io()
1600 dm_digtable->cur_igvalue = 0x17; in rtl92c_phy_set_io()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Ddm.c330 de_digtable->cur_igvalue, de_digtable->pre_igvalue, in rtl92d_dm_write_dig()
337 if (de_digtable->pre_igvalue != de_digtable->cur_igvalue) { in rtl92d_dm_write_dig()
339 de_digtable->cur_igvalue); in rtl92d_dm_write_dig()
341 de_digtable->cur_igvalue); in rtl92d_dm_write_dig()
342 de_digtable->pre_igvalue = de_digtable->cur_igvalue; in rtl92d_dm_write_dig()
374 u8 value_igi = de_digtable->cur_igvalue; in rtl92d_dm_dig()
425 if (de_digtable->forbidden_igi < de_digtable->cur_igvalue) { in rtl92d_dm_dig()
426 de_digtable->forbidden_igi = de_digtable->cur_igvalue; in rtl92d_dm_dig()
471 de_digtable->cur_igvalue = value_igi; in rtl92d_dm_dig()
Dphy.c2947 de_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl92d_phy_set_io()
2952 rtlphy->initgain_backup.xaagccore1 = de_digtable->cur_igvalue; in rtl92d_phy_set_io()
2953 de_digtable->cur_igvalue = 0x37; in rtl92d_phy_set_io()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Ddm.c497 u8 current_igi = dm_dig->cur_igvalue; in rtl88e_dm_dig()
613 dm_dig->cur_igvalue = current_igi; in rtl88e_dm_dig()
717 dm_dig->cur_igvalue, dm_dig->pre_igvalue, in rtl88e_dm_write_dig()
720 if (dm_dig->cur_igvalue > 0x3f) in rtl88e_dm_write_dig()
721 dm_dig->cur_igvalue = 0x3f; in rtl88e_dm_write_dig()
722 if (dm_dig->pre_igvalue != dm_dig->cur_igvalue) { in rtl88e_dm_write_dig()
724 dm_dig->cur_igvalue); in rtl88e_dm_write_dig()
726 dm_dig->pre_igvalue = dm_dig->cur_igvalue; in rtl88e_dm_write_dig()
1770 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl88e_dm_init() local
1773 rtl_dm_diginit(hw, cur_igvalue); in rtl88e_dm_init()
Dphy.c2157 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl88e_phy_set_io()
2163 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl88e_phy_set_io()
2164 dm_digtable->cur_igvalue = 0x17; in rtl88e_phy_set_io()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c276 u8 current_igi = dm_dig->cur_igvalue; in rtl92ee_dm_dig()
428 if (dm_dig->cur_igvalue != current_igi) { in rtl92ee_dm_write_dig()
433 dm_dig->pre_igvalue = dm_dig->cur_igvalue; in rtl92ee_dm_write_dig()
434 dm_dig->cur_igvalue = current_igi; in rtl92ee_dm_write_dig()
1064 u32 cur_igvalue = rtl_get_bbreg(hw, DM_REG_IGI_A_11N, DM_BIT_IGI_11N); in rtl92ee_dm_init() local
1068 rtl_dm_diginit(hw, cur_igvalue); in rtl92ee_dm_init()
Dphy.c3037 rtlphy->initgain_backup.xaagccore1 = dm_dig->cur_igvalue; in rtl92ee_phy_set_io()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c268 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl8723be_dm_init() local
271 rtl_dm_diginit(hw, cur_igvalue); in rtl8723be_dm_init()
385 if (dm_digtable->cur_igvalue != current_igi) { in rtl8723be_dm_write_dig()
391 dm_digtable->pre_igvalue = dm_digtable->cur_igvalue; in rtl8723be_dm_write_dig()
392 dm_digtable->cur_igvalue = current_igi; in rtl8723be_dm_write_dig()
403 u8 current_igi = dm_digtable->cur_igvalue; in rtl8723be_dm_dig()
Dphy.c2492 dm_digtable->cur_igvalue = rtlphy->initgain_backup.xaagccore1; in rtl8723be_phy_set_io()
2498 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8723be_phy_set_io()
2499 dm_digtable->cur_igvalue = 0x17; in rtl8723be_phy_set_io()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c582 u32 cur_igvalue = rtl_get_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f); in rtl8821ae_dm_init() local
590 rtl_dm_diginit(hw, cur_igvalue); in rtl8821ae_dm_init()
782 if (dm_digtable->cur_igvalue != current_igi) { in rtl8821ae_dm_write_dig()
789 dm_digtable->cur_igvalue = current_igi; in rtl8821ae_dm_write_dig()
802 u8 current_igi = dm_digtable->cur_igvalue; in rtl8821ae_dm_dig()
Dphy.c4716 rtlphy->initgain_backup.xaagccore1 = dm_digtable->cur_igvalue; in rtl8821ae_phy_set_io()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1926 void rtl_dm_diginit(struct ieee80211_hw *hw, u32 cur_igvalue) in rtl_dm_diginit() argument
1933 dm_digtable->cur_igvalue = cur_igvalue; in rtl_dm_diginit()
Dwifi.h2562 u32 cur_igvalue; member
/Linux-v4.19/drivers/staging/rtlwifi/
Dcore.c1961 void rtl_dm_diginit(struct ieee80211_hw *hw, u32 cur_igvalue) in rtl_dm_diginit() argument
1968 dm_digtable->cur_igvalue = cur_igvalue; in rtl_dm_diginit()
Dwifi.h2511 u32 cur_igvalue; member