Searched refs:factors (Results 1 – 3 of 3) sorted by relevance
/sound/soc/codecs/ |
D | wm8400.c | 869 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument 875 factors->outdiv = 2; in fll_factors() 876 while (Fout * factors->outdiv < 90000000 || in fll_factors() 877 Fout * factors->outdiv > 100000000) { in fll_factors() 878 factors->outdiv *= 2; in fll_factors() 879 if (factors->outdiv > 32) { in fll_factors() 886 target = Fout * factors->outdiv; in fll_factors() 887 factors->outdiv = factors->outdiv >> 2; in fll_factors() 890 factors->freq_ref = 1; in fll_factors() 892 factors->freq_ref = 0; in fll_factors() [all …]
|
D | wm2200.c | 1942 struct _fll_div factors; in wm2200_set_fll() local 1968 ret = fll_factors(&factors, Fref, Fout); in wm2200_set_fll() 1977 (factors.fll_outdiv << WM2200_FLL_OUTDIV_SHIFT) | in wm2200_set_fll() 1978 factors.fll_fratio); in wm2200_set_fll() 1979 if (factors.theta) { in wm2200_set_fll() 1994 factors.theta); in wm2200_set_fll() 1996 factors.n); in wm2200_set_fll() 2000 (factors.fll_refclk_div in wm2200_set_fll() 2003 WM2200_FLL_LAMBDA_MASK, factors.lambda); in wm2200_set_fll()
|
D | wm5100.c | 1762 struct _fll_div factors; in wm5100_set_fll() local 1806 ret = fll_factors(&factors, Fref, Fout); in wm5100_set_fll() 1815 (factors.fll_outdiv << WM5100_FLL1_OUTDIV_SHIFT) | in wm5100_set_fll() 1816 factors.fll_fratio); in wm5100_set_fll() 1818 factors.theta); in wm5100_set_fll() 1819 snd_soc_update_bits(codec, base + 5, WM5100_FLL1_N_MASK, factors.n); in wm5100_set_fll() 1823 (factors.fll_refclk_div in wm5100_set_fll() 1826 factors.lambda); in wm5100_set_fll()
|