Home
last modified time | relevance | path

Searched refs:CFO_THRESHOLD_XTAL (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Ddm.c731 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl92ee_dm_dynamic_atc_switch()
732 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl92ee_dm_dynamic_atc_switch()
735 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl92ee_dm_dynamic_atc_switch()
740 adjust_xtal = ((cfo_ave - CFO_THRESHOLD_XTAL) >> 2) + 1; in rtl92ee_dm_dynamic_atc_switch()
743 adjust_xtal = ((cfo_ave + CFO_THRESHOLD_XTAL) >> 2) - 1; in rtl92ee_dm_dynamic_atc_switch()
918 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl92ee_dm_init_dynamic_atc_switch()
H A Ddm.h205 #define CFO_THRESHOLD_XTAL 10 /* kHz */ macro
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Ddm.c240 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8723be_dm_init_dynamic_atc_switch()
1165 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl8723be_dm_dynamic_atc_switch()
1166 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl8723be_dm_dynamic_atc_switch()
1169 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8723be_dm_dynamic_atc_switch()
1174 adjust_xtal = ((cfo_ave - CFO_THRESHOLD_XTAL) >> 1) + 1; in rtl8723be_dm_dynamic_atc_switch()
1177 adjust_xtal = ((cfo_ave + CFO_THRESHOLD_XTAL) >> 1) - 1; in rtl8723be_dm_dynamic_atc_switch()
H A Ddm.h199 #define CFO_THRESHOLD_XTAL 10 /* kHz */ macro
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Ddm.h203 #define CFO_THRESHOLD_XTAL 10 /* kHz */ macro
H A Ddm.c383 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8821ae_dm_init_dynamic_atc_switch()
2696 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl8821ae_dm_dynamic_atc_switch()
2697 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl8821ae_dm_dynamic_atc_switch()
2700 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8821ae_dm_dynamic_atc_switch()
2709 adjust_xtal = ((cfo_ave - CFO_THRESHOLD_XTAL) >> 2) + 1; in rtl8821ae_dm_dynamic_atc_switch()
2712 adjust_xtal = ((cfo_ave + CFO_THRESHOLD_XTAL) >> 2) - 1; in rtl8821ae_dm_dynamic_atc_switch()