Lines Matching refs:pll_div
806 static void pll_factors(struct _pll_div *pll_div, unsigned int target,
816 pll_div->div2 = 1;
819 pll_div->div2 = 0;
825 pll_div->n = Ndiv;
840 pll_div->k = K;
847 struct _pll_div pll_div;
850 pll_factors(&pll_div, freq_out * 4, freq_in);
861 snd_soc_component_write(component, WM8990_PLL1, pll_div.n | WM8990_SDM |
862 (pll_div.div2?WM8990_PRESCALE:0));
863 snd_soc_component_write(component, WM8990_PLL2, (u8)(pll_div.k>>8));
864 snd_soc_component_write(component, WM8990_PLL3, (u8)(pll_div.k & 0xFF));