Home
last modified time | relevance | path

Searched refs:adjust_xtal (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c677 int cfo_khz_a , cfo_khz_b , cfo_ave = 0, adjust_xtal = 0; in rtl92ee_dm_dynamic_atc_switch() local
740 adjust_xtal = ((cfo_ave - CFO_THRESHOLD_XTAL) >> 2) + 1; in rtl92ee_dm_dynamic_atc_switch()
743 adjust_xtal = ((cfo_ave + CFO_THRESHOLD_XTAL) >> 2) - 1; in rtl92ee_dm_dynamic_atc_switch()
745 if (adjust_xtal != 0) { in rtl92ee_dm_dynamic_atc_switch()
747 rtldm->crystal_cap += adjust_xtal; in rtl92ee_dm_dynamic_atc_switch()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c1113 int cfo_khz_a, cfo_khz_b, cfo_ave = 0, adjust_xtal = 0; in rtl8723be_dm_dynamic_atc_switch() local
1174 adjust_xtal = ((cfo_ave - CFO_THRESHOLD_XTAL) >> 1) + 1; in rtl8723be_dm_dynamic_atc_switch()
1177 adjust_xtal = ((cfo_ave + CFO_THRESHOLD_XTAL) >> 1) - 1; in rtl8723be_dm_dynamic_atc_switch()
1179 if (adjust_xtal != 0) { in rtl8723be_dm_dynamic_atc_switch()
1181 rtldm->crystal_cap += adjust_xtal; in rtl8723be_dm_dynamic_atc_switch()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c2618 int cfo_khz_a, cfo_khz_b, cfo_ave = 0, adjust_xtal = 0; in rtl8821ae_dm_dynamic_atc_switch() local
2709 adjust_xtal = ((cfo_ave - CFO_THRESHOLD_XTAL) >> 2) + 1; in rtl8821ae_dm_dynamic_atc_switch()
2712 adjust_xtal = ((cfo_ave + CFO_THRESHOLD_XTAL) >> 2) - 1; in rtl8821ae_dm_dynamic_atc_switch()
2715 rtldm->crystal_cap, adjust_xtal); in rtl8821ae_dm_dynamic_atc_switch()
2718 if (adjust_xtal != 0) { in rtl8821ae_dm_dynamic_atc_switch()
2720 rtldm->crystal_cap += adjust_xtal; in rtl8821ae_dm_dynamic_atc_switch()