Lines Matching defs:fll_div
286 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref,
296 fll_div->fll_clk_ref_div = 0;
299 fll_div->fll_clk_ref_div++;
325 fll_div->fll_outdiv = div;
332 fll_div->fll_fratio = fll_fratios[i].fll_fratio;
345 fll_div->n = Ndiv;
360 fll_div->k = K / 10;
363 fll_div->n, fll_div->k,
364 fll_div->fll_fratio, fll_div->fll_outdiv,
365 fll_div->fll_clk_ref_div);
376 struct _fll_div fll_div;
396 ret = fll_factors(&fll_div, Fref, Fout);
427 if (fll_div.k)
434 (fll_div.fll_outdiv << WM8993_FLL_OUTDIV_SHIFT) |
435 (fll_div.fll_fratio << WM8993_FLL_FRATIO_SHIFT));
436 snd_soc_write(codec, WM8993_FLL_CONTROL_3, fll_div.k);
440 reg4 |= fll_div.n << WM8993_FLL_N_SHIFT;
444 reg5 |= fll_div.fll_clk_ref_div << WM8993_FLL_CLK_REF_DIV_SHIFT;