Lines Matching refs:pll_div
409 struct wm8978_pll_div *pll_div, unsigned int target, unsigned int source)
417 pll_div->div2 = 1;
420 pll_div->div2 = 0;
428 pll_div->n = n_div;
436 pll_div->k = k;
474 struct wm8978_pll_div pll_div;
536 pll_factors(component, &pll_div, f2, wm8978->f_mclk);
539 __func__, pll_div.n, pll_div.k, pll_div.div2);
544 snd_soc_component_write(component, WM8978_PLL_N, (pll_div.div2 << 4) | pll_div.n);
545 snd_soc_component_write(component, WM8978_PLL_K1, pll_div.k >> 18);
546 snd_soc_component_write(component, WM8978_PLL_K2, (pll_div.k >> 9) & 0x1ff);
547 snd_soc_component_write(component, WM8978_PLL_K3, pll_div.k & 0x1ff);