Lines Matching full:den
760 unsigned long den; in pcm512x_find_pll_coeff() local
766 den = pllin_rate / common; in pcm512x_find_pll_coeff()
768 /* pllin_rate / P (or here, den) cannot be greater than 20 MHz */ in pcm512x_find_pll_coeff()
769 if (pllin_rate / den > 20000000 && num < 8) { in pcm512x_find_pll_coeff()
770 num *= DIV_ROUND_UP(pllin_rate / den, 20000000); in pcm512x_find_pll_coeff()
771 den *= DIV_ROUND_UP(pllin_rate / den, 20000000); in pcm512x_find_pll_coeff()
773 dev_dbg(dev, "num / den = %lu / %lu\n", num, den); in pcm512x_find_pll_coeff()
775 P = den; in pcm512x_find_pll_coeff()
776 if (den <= 15 && num <= 16 * 63 in pcm512x_find_pll_coeff()
801 common = gcd(10000 * num, den); in pcm512x_find_pll_coeff()
803 den /= common; in pcm512x_find_pll_coeff()
804 dev_dbg(dev, "num %lu den %lu common %lu\n", num, den, common); in pcm512x_find_pll_coeff()
806 for (P = den; P <= 15; P++) { in pcm512x_find_pll_coeff()
809 if (num * P % den) in pcm512x_find_pll_coeff()
811 K = num * P / den; in pcm512x_find_pll_coeff()