Searched refs:mgn_set (Results 1 – 1 of 1) sorted by relevance
1931 u16 val16, mgn_set, div_set, tar; in rtw89_pci_auto_refclk_cal() local2003 mgn_set = tar * INTF_INTGRA_HOSTREF_V1 / INTF_INTGRA_MINREF_V1 - tar; in rtw89_pci_auto_refclk_cal()2005 if (mgn_set >= 128) { in rtw89_pci_auto_refclk_cal()2007 mgn_set = 0x000F; in rtw89_pci_auto_refclk_cal()2008 } else if (mgn_set >= 64) { in rtw89_pci_auto_refclk_cal()2010 mgn_set >>= 3; in rtw89_pci_auto_refclk_cal()2011 } else if (mgn_set >= 32) { in rtw89_pci_auto_refclk_cal()2013 mgn_set >>= 2; in rtw89_pci_auto_refclk_cal()2014 } else if (mgn_set >= 16) { in rtw89_pci_auto_refclk_cal()2016 mgn_set >>= 1; in rtw89_pci_auto_refclk_cal()[all …]