Lines Matching refs:crystal_cap
237 rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap; in rtl8723be_dm_init_dynamic_atc_switch()
1111 u8 crystal_cap; in rtl8723be_dm_dynamic_atc_switch() local
1130 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl8723be_dm_dynamic_atc_switch()
1131 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl8723be_dm_dynamic_atc_switch()
1132 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl8723be_dm_dynamic_atc_switch()
1134 (crystal_cap | (crystal_cap << 6))); in rtl8723be_dm_dynamic_atc_switch()
1173 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl8723be_dm_dynamic_atc_switch()
1176 rtlpriv->dm.crystal_cap > 0) in rtl8723be_dm_dynamic_atc_switch()
1181 rtldm->crystal_cap += adjust_xtal; in rtl8723be_dm_dynamic_atc_switch()
1183 if (rtldm->crystal_cap > 0x3f) in rtl8723be_dm_dynamic_atc_switch()
1184 rtldm->crystal_cap = 0x3f; in rtl8723be_dm_dynamic_atc_switch()
1185 else if (rtldm->crystal_cap < 0) in rtl8723be_dm_dynamic_atc_switch()
1186 rtldm->crystal_cap = 0; in rtl8723be_dm_dynamic_atc_switch()
1188 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl8723be_dm_dynamic_atc_switch()
1190 (crystal_cap | (crystal_cap << 6))); in rtl8723be_dm_dynamic_atc_switch()