Lines Matching refs:fll_div
438 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref,
457 fll_div->fll_clk_ref_div = div / 2;
476 fll_div->fll_outdiv = div;
483 fll_div->fll_fratio = fll_fratios[i].fll_fratio;
496 fll_div->n = Ndiv;
511 fll_div->k = K / 10;
514 fll_div->n, fll_div->k,
515 fll_div->fll_fratio, fll_div->fll_outdiv,
516 fll_div->fll_clk_ref_div);
526 struct _fll_div fll_div;
543 ret = fll_factors(&fll_div, Fref, Fout);
573 if (fll_div.k)
580 (fll_div.fll_outdiv << WM9081_FLL_OUTDIV_SHIFT) |
581 (fll_div.fll_fratio << WM9081_FLL_FRATIO_SHIFT));
582 snd_soc_write(codec, WM9081_FLL_CONTROL_3, fll_div.k);
586 reg4 |= fll_div.n << WM9081_FLL_N_SHIFT;
590 reg5 |= fll_div.fll_clk_ref_div << WM9081_FLL_CLK_REF_DIV_SHIFT;