Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_cfotracking.c17 static void odm_set_crystal_cap(void *dm_void, u8 crystal_cap) in odm_set_crystal_cap() argument
23 if (cfo_track->crystal_cap == crystal_cap) in odm_set_crystal_cap()
26 cfo_track->crystal_cap = crystal_cap; in odm_set_crystal_cap()
30 crystal_cap = crystal_cap & 0x3F; in odm_set_crystal_cap()
32 (crystal_cap | (crystal_cap << 6))); in odm_set_crystal_cap()
35 crystal_cap = crystal_cap & 0x3F; in odm_set_crystal_cap()
37 (crystal_cap | (crystal_cap << 6))); in odm_set_crystal_cap()
41 crystal_cap = crystal_cap & 0x3F; in odm_set_crystal_cap()
43 (crystal_cap | (crystal_cap << 6))); in odm_set_crystal_cap()
46 crystal_cap = crystal_cap & 0x3F; in odm_set_crystal_cap()
[all …]
Dphydm_cfotracking.h28 u8 crystal_cap; member
Dphydm_debug.c1174 (cfo_track->crystal_cap > cfo_track->def_x_cap) ? in phydm_basic_dbg_message()
1175 (cfo_track->crystal_cap - in phydm_basic_dbg_message()
1177 (cfo_track->def_x_cap - cfo_track->crystal_cap); in phydm_basic_dbg_message()
1182 ((cfo_track->crystal_cap > cfo_track->def_x_cap) ? "+" : in phydm_basic_dbg_message()
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c259 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()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c554 rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap; in rtl8821ae_dm_init_dynamic_atc_switch()
2806 u8 crystal_cap; in rtl8821ae_dm_dynamic_atc_switch() local
2822 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl8821ae_dm_dynamic_atc_switch()
2823 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl8821ae_dm_dynamic_atc_switch()
2824 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl8821ae_dm_dynamic_atc_switch()
2825 crystal_cap = crystal_cap & 0x3f; in rtl8821ae_dm_dynamic_atc_switch()
2828 0x7ff80000, (crystal_cap | in rtl8821ae_dm_dynamic_atc_switch()
2829 (crystal_cap << 6))); in rtl8821ae_dm_dynamic_atc_switch()
2832 0xfff000, (crystal_cap | in rtl8821ae_dm_dynamic_atc_switch()
2833 (crystal_cap << 6))); in rtl8821ae_dm_dynamic_atc_switch()
[all …]
Dphy.c327 u8 crystal_cap; in rtl8821ae_phy_bb_config() local
343 crystal_cap = rtlefuse->crystalcap & 0x3F; in rtl8821ae_phy_bb_config()
345 (crystal_cap | (crystal_cap << 6))); in rtl8821ae_phy_bb_config()
347 crystal_cap = rtlefuse->crystalcap & 0x3F; in rtl8821ae_phy_bb_config()
349 (crystal_cap | (crystal_cap << 6))); in rtl8821ae_phy_bb_config()
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Dbb_cfg.c658 u8 crystal_cap; in rtl88eu_phy_bb_config() local
676 crystal_cap = adapt->HalData->CrystalCap & 0x3F; in rtl88eu_phy_bb_config()
678 (crystal_cap | (crystal_cap << 6))); in rtl88eu_phy_bb_config()
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dphy.c169 u8 crystal_cap; in rtl8822be_phy_bb_config() local
175 crystal_cap = rtlefuse->crystalcap & 0x3F; in rtl8822be_phy_bb_config()
176 rtl_set_bbreg(hw, REG_AFE_XTAL_CTRL_8822B, 0x7E000000, crystal_cap); in rtl8822be_phy_bb_config()
177 rtl_set_bbreg(hw, REG_AFE_PLL_CTRL_8822B, 0x7E, crystal_cap); in rtl8822be_phy_bb_config()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h1857 int crystal_cap; member
/Linux-v4.19/drivers/staging/rtlwifi/
Dwifi.h1793 int crystal_cap; member