Lines Matching full:den
759 unsigned long den; in pcm512x_find_pll_coeff() local
765 den = pllin_rate / common; in pcm512x_find_pll_coeff()
767 /* pllin_rate / P (or here, den) cannot be greater than 20 MHz */ in pcm512x_find_pll_coeff()
768 if (pllin_rate / den > 20000000 && num < 8) { in pcm512x_find_pll_coeff()
769 num *= DIV_ROUND_UP(pllin_rate / den, 20000000); in pcm512x_find_pll_coeff()
770 den *= DIV_ROUND_UP(pllin_rate / den, 20000000); in pcm512x_find_pll_coeff()
772 dev_dbg(dev, "num / den = %lu / %lu\n", num, den); in pcm512x_find_pll_coeff()
774 P = den; in pcm512x_find_pll_coeff()
775 if (den <= 15 && num <= 16 * 63 in pcm512x_find_pll_coeff()
800 common = gcd(10000 * num, den); in pcm512x_find_pll_coeff()
802 den /= common; in pcm512x_find_pll_coeff()
803 dev_dbg(dev, "num %lu den %lu common %lu\n", num, den, common); in pcm512x_find_pll_coeff()
805 for (P = den; P <= 15; P++) { in pcm512x_find_pll_coeff()
808 if (num * P % den) in pcm512x_find_pll_coeff()
810 K = num * P / den; in pcm512x_find_pll_coeff()