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