Searched refs:crystal_cap (Results 1 – 12 of 12) sorted by relevance
17 static void odm_set_crystal_cap(void *dm_void, u8 crystal_cap) in odm_set_crystal_cap() argument23 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 …]
28 u8 crystal_cap; member
1174 (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()
815 u8 crystal_cap; in rtl92ee_dm_dynamic_atc_switch() local836 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 …]
251 u8 crystal_cap; in rtl92ee_phy_bb_config() local270 crystal_cap = rtlpriv->efuse.eeprom_crystalcap & 0x3F; in rtl92ee_phy_bb_config()272 (crystal_cap | (crystal_cap << 6))); in rtl92ee_phy_bb_config()
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() local1155 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 …]
554 rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap; in rtl8821ae_dm_init_dynamic_atc_switch()2806 u8 crystal_cap; in rtl8821ae_dm_dynamic_atc_switch() local2822 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 …]
327 u8 crystal_cap; in rtl8821ae_phy_bb_config() local343 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()
658 u8 crystal_cap; in rtl88eu_phy_bb_config() local676 crystal_cap = adapt->HalData->CrystalCap & 0x3F; in rtl88eu_phy_bb_config()678 (crystal_cap | (crystal_cap << 6))); in rtl88eu_phy_bb_config()
169 u8 crystal_cap; in rtl8822be_phy_bb_config() local175 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()
1857 int crystal_cap; member
1793 int crystal_cap; member