Lines Matching refs:pll_div
272 static void pll_factors(struct pll_ *pll_div,
284 pll_div->pre_div = 1;
287 pll_div->pre_div = 0;
294 pll_div->n = Ndiv;
309 pll_div->k = K;
316 struct pll_ pll_div;
330 pll_factors(&pll_div, freq_out, freq_in);
332 snd_soc_component_write(component, WM8974_PLLN, (pll_div.pre_div << 4) | pll_div.n);
333 snd_soc_component_write(component, WM8974_PLLK1, pll_div.k >> 18);
334 snd_soc_component_write(component, WM8974_PLLK2, (pll_div.k >> 9) & 0x1ff);
335 snd_soc_component_write(component, WM8974_PLLK3, pll_div.k & 0x1ff);