Home
last modified time | relevance | path

Searched refs:crystal_cap (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c815 u8 crystal_cap; in rtl92ee_dm_dynamic_atc_switch() local
836 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl92ee_dm_dynamic_atc_switch()
837 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl92ee_dm_dynamic_atc_switch()
838 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl92ee_dm_dynamic_atc_switch()
840 (crystal_cap | (crystal_cap << 6))); in rtl92ee_dm_dynamic_atc_switch()
879 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl92ee_dm_dynamic_atc_switch()
882 rtlpriv->dm.crystal_cap > 0) in rtl92ee_dm_dynamic_atc_switch()
887 rtldm->crystal_cap += adjust_xtal; in rtl92ee_dm_dynamic_atc_switch()
889 if (rtldm->crystal_cap > 0x3f) in rtl92ee_dm_dynamic_atc_switch()
890 rtldm->crystal_cap = 0x3f; in rtl92ee_dm_dynamic_atc_switch()
[all …]
Dphy.c251 u8 crystal_cap; in rtl92ee_phy_bb_config() local
270 crystal_cap = rtlpriv->efuse.eeprom_crystalcap & 0x3F; in rtl92ee_phy_bb_config()
272 (crystal_cap | (crystal_cap << 6))); in rtl92ee_phy_bb_config()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c259 rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap; in rtl8723be_dm_init_dynamic_atc_switch()
1139 u8 crystal_cap; in rtl8723be_dm_dynamic_atc_switch() local
1158 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl8723be_dm_dynamic_atc_switch()
1159 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl8723be_dm_dynamic_atc_switch()
1160 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl8723be_dm_dynamic_atc_switch()
1162 (crystal_cap | (crystal_cap << 6))); in rtl8723be_dm_dynamic_atc_switch()
1201 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl8723be_dm_dynamic_atc_switch()
1204 rtlpriv->dm.crystal_cap > 0) in rtl8723be_dm_dynamic_atc_switch()
1209 rtldm->crystal_cap += adjust_xtal; in rtl8723be_dm_dynamic_atc_switch()
1211 if (rtldm->crystal_cap > 0x3f) in rtl8723be_dm_dynamic_atc_switch()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c554 rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap; in rtl8821ae_dm_init_dynamic_atc_switch()
2807 u8 crystal_cap; in rtl8821ae_dm_dynamic_atc_switch() local
2823 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl8821ae_dm_dynamic_atc_switch()
2824 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl8821ae_dm_dynamic_atc_switch()
2825 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl8821ae_dm_dynamic_atc_switch()
2826 crystal_cap = crystal_cap & 0x3f; in rtl8821ae_dm_dynamic_atc_switch()
2829 0x7ff80000, (crystal_cap | in rtl8821ae_dm_dynamic_atc_switch()
2830 (crystal_cap << 6))); in rtl8821ae_dm_dynamic_atc_switch()
2833 0xfff000, (crystal_cap | in rtl8821ae_dm_dynamic_atc_switch()
2834 (crystal_cap << 6))); in rtl8821ae_dm_dynamic_atc_switch()
[all …]
Dphy.c328 u8 crystal_cap; in rtl8821ae_phy_bb_config() local
344 crystal_cap = rtlefuse->crystalcap & 0x3F; in rtl8821ae_phy_bb_config()
346 (crystal_cap | (crystal_cap << 6))); in rtl8821ae_phy_bb_config()
348 crystal_cap = rtlefuse->crystalcap & 0x3F; in rtl8821ae_phy_bb_config()
350 (crystal_cap | (crystal_cap << 6))); in rtl8821ae_phy_bb_config()
/drivers/staging/rtl8188eu/hal/
Dbb_cfg.c704 u8 crystal_cap; in rtl88eu_phy_bb_config() local
722 crystal_cap = hal_data->CrystalCap & 0x3F; in rtl88eu_phy_bb_config()
724 (crystal_cap | (crystal_cap << 6))); in rtl88eu_phy_bb_config()
/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h1720 int crystal_cap; member