Lines Matching refs:crystal_cap
259 rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap; in rtl8723be_dm_init_dynamic_atc_switch()
1136 u8 crystal_cap; in rtl8723be_dm_dynamic_atc_switch() local
1155 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl8723be_dm_dynamic_atc_switch()
1156 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl8723be_dm_dynamic_atc_switch()
1157 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl8723be_dm_dynamic_atc_switch()
1159 (crystal_cap | (crystal_cap << 6))); in rtl8723be_dm_dynamic_atc_switch()
1198 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl8723be_dm_dynamic_atc_switch()
1201 rtlpriv->dm.crystal_cap > 0) in rtl8723be_dm_dynamic_atc_switch()
1206 rtldm->crystal_cap += adjust_xtal; in rtl8723be_dm_dynamic_atc_switch()
1208 if (rtldm->crystal_cap > 0x3f) in rtl8723be_dm_dynamic_atc_switch()
1209 rtldm->crystal_cap = 0x3f; in rtl8723be_dm_dynamic_atc_switch()
1210 else if (rtldm->crystal_cap < 0) in rtl8723be_dm_dynamic_atc_switch()
1211 rtldm->crystal_cap = 0; in rtl8723be_dm_dynamic_atc_switch()
1213 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl8723be_dm_dynamic_atc_switch()
1215 (crystal_cap | (crystal_cap << 6))); in rtl8723be_dm_dynamic_atc_switch()