Searched refs:nfrac (Results 1 – 2 of 2) sorted by relevance
236 const u32 nfrac = (regval >> AR934X_PLL_CPU_CONFIG_NFRAC_SHIFT) & in ar934x_cpupll_to_hz() local240 return (xtal * (nint + (nfrac >> 9))) / (refdiv * (1 << outdiv)); in ar934x_cpupll_to_hz()251 const u32 nfrac = (regval >> AR934X_PLL_DDR_CONFIG_NFRAC_SHIFT) & in ar934x_ddrpll_to_hz() local255 return (xtal * (nint + (nfrac >> 9))) / (refdiv * (1 << outdiv)); in ar934x_ddrpll_to_hz()
243 USHORT nfrac = 0xffff ^ frac; in sqrtFixp_lookup() local244 UINT t = (UINT)nfrac * sqrt_tab[idx] + (UINT)frac * sqrt_tab[idx + 1]; in sqrtFixp_lookup()270 USHORT nfrac = 0xffff ^ frac; in sqrtFixp_lookup() local271 UINT t = (UINT)nfrac * sqrt_tab[idx] + (UINT)frac * sqrt_tab[idx + 1]; in sqrtFixp_lookup()