Lines Matching full:freq_in
1724 int freq_in, int freq_out) in wm8995_get_fll_config() argument
1729 pr_debug("FLL input=%dHz, output=%dHz\n", freq_in, freq_out); in wm8995_get_fll_config()
1733 while (freq_in > 13500000) { in wm8995_get_fll_config()
1735 freq_in /= 2; in wm8995_get_fll_config()
1740 pr_debug("CLK_REF_DIV=%d, Fref=%dHz\n", fll->clk_ref_div, freq_in); in wm8995_get_fll_config()
1752 if (freq_in > 1000000) { in wm8995_get_fll_config()
1754 } else if (freq_in > 256000) { in wm8995_get_fll_config()
1756 freq_in *= 2; in wm8995_get_fll_config()
1757 } else if (freq_in > 128000) { in wm8995_get_fll_config()
1759 freq_in *= 4; in wm8995_get_fll_config()
1760 } else if (freq_in > 64000) { in wm8995_get_fll_config()
1762 freq_in *= 8; in wm8995_get_fll_config()
1765 freq_in *= 16; in wm8995_get_fll_config()
1767 pr_debug("FLL_FRATIO=%d, Fref=%dHz\n", fll->fll_fratio, freq_in); in wm8995_get_fll_config()
1770 Ndiv = freq_out / freq_in; in wm8995_get_fll_config()
1773 Nmod = freq_out % freq_in; in wm8995_get_fll_config()
1779 do_div(Kpart, freq_in); in wm8995_get_fll_config()
1795 int src, unsigned int freq_in, in wm8995_set_fll() argument
1843 wm8995->fll[id].in == freq_in && wm8995->fll[id].out == freq_out) in wm8995_set_fll()
1851 ret = wm8995_get_fll_config(&fll, freq_in, freq_out); in wm8995_set_fll()
1890 wm8995->fll[id].in = freq_in; in wm8995_set_fll()