Lines Matching refs:pll_div
877 static void pll_factors(struct _pll_div *pll_div, unsigned int target,
887 pll_div->div2 = 1;
890 pll_div->div2 = 0;
896 pll_div->n = Ndiv;
911 pll_div->k = K;
919 struct _pll_div pll_div;
922 pll_factors(&pll_div, freq_out * 4, freq_in);
934 snd_soc_component_write(component, WM8991_PLL1, pll_div.n | WM8991_SDM |
935 (pll_div.div2 ? WM8991_PRESCALE : 0));
936 snd_soc_component_write(component, WM8991_PLL2, (u8)(pll_div.k>>8));
937 snd_soc_component_write(component, WM8991_PLL3, (u8)(pll_div.k & 0xFF));