Searched refs:cfo_threshold (Results 1 – 4 of 4) sorted by relevance
897 if (cfo_ave >= -rtldm->cfo_threshold && in rtl92ee_dm_dynamic_atc_switch()898 cfo_ave <= rtldm->cfo_threshold && rtldm->is_freeze == 0) { in rtl92ee_dm_dynamic_atc_switch()899 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl92ee_dm_dynamic_atc_switch()900 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl92ee_dm_dynamic_atc_switch()903 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl92ee_dm_dynamic_atc_switch()907 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl92ee_dm_dynamic_atc_switch()909 else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) && in rtl92ee_dm_dynamic_atc_switch()1085 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl92ee_dm_init_dynamic_atc_switch()
290 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8723be_dm_init_dynamic_atc_switch()1219 if (cfo_ave >= -rtldm->cfo_threshold && in rtl8723be_dm_dynamic_atc_switch()1220 cfo_ave <= rtldm->cfo_threshold && rtldm->is_freeze == 0) { in rtl8723be_dm_dynamic_atc_switch()1221 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl8723be_dm_dynamic_atc_switch()1222 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl8723be_dm_dynamic_atc_switch()1225 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8723be_dm_dynamic_atc_switch()1229 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl8723be_dm_dynamic_atc_switch()1231 else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) && in rtl8723be_dm_dynamic_atc_switch()
584 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8821ae_dm_init_dynamic_atc_switch()2915 if (cfo_ave >= -rtldm->cfo_threshold && in rtl8821ae_dm_dynamic_atc_switch()2916 cfo_ave <= rtldm->cfo_threshold && in rtl8821ae_dm_dynamic_atc_switch()2918 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl8821ae_dm_dynamic_atc_switch()2919 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl8821ae_dm_dynamic_atc_switch()2922 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8821ae_dm_dynamic_atc_switch()2927 rtldm->cfo_threshold); in rtl8821ae_dm_dynamic_atc_switch()2930 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl8821ae_dm_dynamic_atc_switch()2932 else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) && in rtl8821ae_dm_dynamic_atc_switch()
1679 u8 cfo_threshold; member