Searched refs:cfo_threshold (Results 1 – 4 of 4) sorted by relevance
722 if (cfo_ave >= -rtldm->cfo_threshold && in rtl92ee_dm_dynamic_atc_switch()723 cfo_ave <= rtldm->cfo_threshold && rtldm->is_freeze == 0) { in rtl92ee_dm_dynamic_atc_switch()724 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl92ee_dm_dynamic_atc_switch()725 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl92ee_dm_dynamic_atc_switch()728 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl92ee_dm_dynamic_atc_switch()732 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl92ee_dm_dynamic_atc_switch()734 else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) && in rtl92ee_dm_dynamic_atc_switch()911 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()
383 rtlpriv->dm.cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8821ae_dm_init_dynamic_atc_switch()2691 if (cfo_ave >= -rtldm->cfo_threshold && in rtl8821ae_dm_dynamic_atc_switch()2692 cfo_ave <= rtldm->cfo_threshold && in rtl8821ae_dm_dynamic_atc_switch()2694 if (rtldm->cfo_threshold == CFO_THRESHOLD_XTAL) { in rtl8821ae_dm_dynamic_atc_switch()2695 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL + 10; in rtl8821ae_dm_dynamic_atc_switch()2698 rtldm->cfo_threshold = CFO_THRESHOLD_XTAL; in rtl8821ae_dm_dynamic_atc_switch()2703 rtldm->cfo_threshold); in rtl8821ae_dm_dynamic_atc_switch()2706 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl8821ae_dm_dynamic_atc_switch()2708 else if ((cfo_ave < -rtlpriv->dm.cfo_threshold) && in rtl8821ae_dm_dynamic_atc_switch()
1795 u8 cfo_threshold; member