Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c675 u8 crystal_cap; in rtl92ee_dm_dynamic_atc_switch() local
696 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl92ee_dm_dynamic_atc_switch()
697 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl92ee_dm_dynamic_atc_switch()
698 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl92ee_dm_dynamic_atc_switch()
700 (crystal_cap | (crystal_cap << 6))); in rtl92ee_dm_dynamic_atc_switch()
739 if (cfo_ave > rtldm->cfo_threshold && rtldm->crystal_cap < 0x3f) in rtl92ee_dm_dynamic_atc_switch()
742 rtlpriv->dm.crystal_cap > 0) in rtl92ee_dm_dynamic_atc_switch()
747 rtldm->crystal_cap += adjust_xtal; in rtl92ee_dm_dynamic_atc_switch()
749 if (rtldm->crystal_cap > 0x3f) in rtl92ee_dm_dynamic_atc_switch()
750 rtldm->crystal_cap = 0x3f; in rtl92ee_dm_dynamic_atc_switch()
[all …]
Dphy.c222 u8 crystal_cap; in rtl92ee_phy_bb_config() local
241 crystal_cap = rtlpriv->efuse.eeprom_crystalcap & 0x3F; in rtl92ee_phy_bb_config()
243 (crystal_cap | (crystal_cap << 6))); in rtl92ee_phy_bb_config()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c237 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()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c380 rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap; in rtl8821ae_dm_init_dynamic_atc_switch()
2616 u8 crystal_cap; in rtl8821ae_dm_dynamic_atc_switch() local
2632 if (rtldm->crystal_cap != rtlpriv->efuse.crystalcap) { in rtl8821ae_dm_dynamic_atc_switch()
2633 rtldm->crystal_cap = rtlpriv->efuse.crystalcap; in rtl8821ae_dm_dynamic_atc_switch()
2634 crystal_cap = rtldm->crystal_cap & 0x3f; in rtl8821ae_dm_dynamic_atc_switch()
2635 crystal_cap = crystal_cap & 0x3f; in rtl8821ae_dm_dynamic_atc_switch()
2638 0x7ff80000, (crystal_cap | in rtl8821ae_dm_dynamic_atc_switch()
2639 (crystal_cap << 6))); in rtl8821ae_dm_dynamic_atc_switch()
2642 0xfff000, (crystal_cap | in rtl8821ae_dm_dynamic_atc_switch()
2643 (crystal_cap << 6))); in rtl8821ae_dm_dynamic_atc_switch()
[all …]
Dphy.c297 u8 crystal_cap; in rtl8821ae_phy_bb_config() local
313 crystal_cap = rtlefuse->crystalcap & 0x3F; in rtl8821ae_phy_bb_config()
315 (crystal_cap | (crystal_cap << 6))); in rtl8821ae_phy_bb_config()
317 crystal_cap = rtlefuse->crystalcap & 0x3F; in rtl8821ae_phy_bb_config()
319 (crystal_cap | (crystal_cap << 6))); in rtl8821ae_phy_bb_config()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Drtw8821c.c34 efuse->crystal_cap = map->xtal_k; in rtw8821c_read_efuse()
113 u8 crystal_cap, val; in rtw8821c_phy_set_param() local
140 crystal_cap = rtwdev->efuse.crystal_cap & 0x3F; in rtw8821c_phy_set_param()
141 rtw_write32_mask(rtwdev, REG_AFE_XTAL_CTRL, 0x7e000000, crystal_cap); in rtw8821c_phy_set_param()
142 rtw_write32_mask(rtwdev, REG_AFE_PLL_CTRL, 0x7e, crystal_cap); in rtw8821c_phy_set_param()
Drtw8822b.c38 efuse->crystal_cap = map->xtal_k; in rtw8822b_read_efuse()
135 u8 crystal_cap; in rtw8822b_phy_set_param() local
150 crystal_cap = rtwdev->efuse.crystal_cap & 0x3F; in rtw8822b_phy_set_param()
151 rtw_write32_mask(rtwdev, 0x24, 0x7e000000, crystal_cap); in rtw8822b_phy_set_param()
152 rtw_write32_mask(rtwdev, 0x28, 0x7e, crystal_cap); in rtw8822b_phy_set_param()
Drtw8822c.c40 efuse->crystal_cap = map->xtal_k; in rtw8822c_read_efuse()
1134 u8 crystal_cap; in rtw8822c_phy_set_param() local
1156 crystal_cap = rtwdev->efuse.crystal_cap & 0x7f; in rtw8822c_phy_set_param()
1158 crystal_cap | (crystal_cap << 7)); in rtw8822c_phy_set_param()
Drtw8723d.c155 xtal_cap = rtwdev->efuse.crystal_cap & 0x3F; in rtw8723d_phy_set_param()
222 efuse->crystal_cap = map->xtal_k; in rtw8723d_read_efuse()
1843 xtal_cap = rtwdev->efuse.crystal_cap & 0x3F; in rtw8723d_pwrtrack_set_xtal()
Dmain.c1506 if (efuse->crystal_cap == 0xff) in rtw_chip_efuse_info_setup()
1507 efuse->crystal_cap = 0; in rtw_chip_efuse_info_setup()
Dmain.h1539 u8 crystal_cap; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h1845 int crystal_cap; member