Lines Matching refs:fll_div
1605 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, in fll_factors() argument
1615 fll_div->fll_clk_ref_div = 0; in fll_factors()
1618 fll_div->fll_clk_ref_div++; in fll_factors()
1643 fll_div->fll_outdiv = div - 1; in fll_factors()
1650 fll_div->fll_fratio = fll_fratios[i].fll_fratio; in fll_factors()
1663 fll_div->n = Ndiv; in fll_factors()
1678 fll_div->k = K / 10; in fll_factors()
1681 fll_div->n, fll_div->k, in fll_factors()
1682 fll_div->fll_fratio, fll_div->fll_outdiv, in fll_factors()
1683 fll_div->fll_clk_ref_div); in fll_factors()
1693 struct _fll_div fll_div; in wm8904_set_fll() local
1725 ret = fll_factors(&fll_div, Fref, Fout); in wm8904_set_fll()
1736 memset(&fll_div, 0, sizeof(fll_div)); in wm8904_set_fll()
1737 fll_div.fll_outdiv = 3; in wm8904_set_fll()
1785 if (fll_div.k) in wm8904_set_fll()
1794 (fll_div.fll_outdiv << WM8904_FLL_OUTDIV_SHIFT) | in wm8904_set_fll()
1795 (fll_div.fll_fratio << WM8904_FLL_FRATIO_SHIFT)); in wm8904_set_fll()
1797 snd_soc_component_write(component, WM8904_FLL_CONTROL_3, fll_div.k); in wm8904_set_fll()
1800 fll_div.n << WM8904_FLL_N_SHIFT); in wm8904_set_fll()
1804 fll_div.fll_clk_ref_div in wm8904_set_fll()