Lines Matching refs:pll_div
1141 struct _pll_div *pll_div) in pll_factors() argument
1154 pll_div->pre_div = 1; in pll_factors()
1157 pll_div->pre_div = 0; in pll_factors()
1164 pll_div->n = Ndiv; in pll_factors()
1179 pll_div->k = K; in pll_factors()
1182 pll_div->n, pll_div->k, pll_div->pre_div); in pll_factors()
1191 static struct _pll_div pll_div; in wm8960_set_pll() local
1195 ret = pll_factors(freq_in, freq_out, &pll_div); in wm8960_set_pll()
1209 reg |= pll_div.pre_div << 4; in wm8960_set_pll()
1210 reg |= pll_div.n; in wm8960_set_pll()
1212 if (pll_div.k) { in wm8960_set_pll()
1215 snd_soc_component_write(component, WM8960_PLL2, (pll_div.k >> 16) & 0xff); in wm8960_set_pll()
1216 snd_soc_component_write(component, WM8960_PLL3, (pll_div.k >> 8) & 0xff); in wm8960_set_pll()
1217 snd_soc_component_write(component, WM8960_PLL4, pll_div.k & 0xff); in wm8960_set_pll()