Searched refs:cfo_threshold (Results 1 – 4 of 4) sorted by relevance
847 if (cfo_ave >= -rtldm->cfo_threshold && in rtl92ee_dm_dynamic_atc_switch()848 cfo_ave <= rtldm->cfo_threshold && rtldm->is_freeze == 0) { in rtl92ee_dm_dynamic_atc_switch()849 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl92ee_dm_dynamic_atc_switch()850 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl92ee_dm_dynamic_atc_switch()853 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl92ee_dm_dynamic_atc_switch()857 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl92ee_dm_dynamic_atc_switch()859 else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) && in rtl92ee_dm_dynamic_atc_switch()1036 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl92ee_dm_init_dynamic_atc_switch()
240 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8723be_dm_init_dynamic_atc_switch()1163 if (cfo_ave >= -rtldm->cfo_threshold && in rtl8723be_dm_dynamic_atc_switch()1164 cfo_ave <= rtldm->cfo_threshold && rtldm->is_freeze == 0) { in rtl8723be_dm_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()1173 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl8723be_dm_dynamic_atc_switch()1175 else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) && in rtl8723be_dm_dynamic_atc_switch()
535 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8821ae_dm_init_dynamic_atc_switch()2858 if (cfo_ave >= -rtldm->cfo_threshold && in rtl8821ae_dm_dynamic_atc_switch()2859 cfo_ave <= rtldm->cfo_threshold && in rtl8821ae_dm_dynamic_atc_switch()2861 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl8821ae_dm_dynamic_atc_switch()2862 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl8821ae_dm_dynamic_atc_switch()2865 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8821ae_dm_dynamic_atc_switch()2870 rtldm->cfo_threshold); in rtl8821ae_dm_dynamic_atc_switch()2873 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl8821ae_dm_dynamic_atc_switch()2875 else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) && in rtl8821ae_dm_dynamic_atc_switch()
1846 u8 cfo_threshold; member