Lines Matching refs:pll_div
1151 struct _pll_div *pll_div) in pll_factors() argument
1164 pll_div->pre_div = 1; in pll_factors()
1167 pll_div->pre_div = 0; in pll_factors()
1174 pll_div->n = Ndiv; in pll_factors()
1189 pll_div->k = K; in pll_factors()
1192 pll_div->n, pll_div->k, pll_div->pre_div); in pll_factors()
1201 static struct _pll_div pll_div; in wm8960_set_pll() local
1205 ret = pll_factors(freq_in, freq_out, &pll_div); in wm8960_set_pll()
1219 reg |= pll_div.pre_div << 4; in wm8960_set_pll()
1220 reg |= pll_div.n; in wm8960_set_pll()
1222 if (pll_div.k) { in wm8960_set_pll()
1225 snd_soc_component_write(component, WM8960_PLL2, (pll_div.k >> 16) & 0xff); in wm8960_set_pll()
1226 snd_soc_component_write(component, WM8960_PLL3, (pll_div.k >> 8) & 0xff); in wm8960_set_pll()
1227 snd_soc_component_write(component, WM8960_PLL4, pll_div.k & 0xff); in wm8960_set_pll()