Lines Matching refs:pll_div
702 static void pll_factors(struct _pll_div *pll_div, unsigned int target, in pll_factors() argument
711 pll_div->div2 = 1; in pll_factors()
714 pll_div->div2 = 0; in pll_factors()
720 pll_div->n = Ndiv; in pll_factors()
735 pll_div->k = K; in pll_factors()
765 struct _pll_div pll_div; in wm8753_set_dai_pll() local
767 pll_factors(&pll_div, freq_out * 8, freq_in); in wm8753_set_dai_pll()
771 value = (pll_div.n << 5) + ((pll_div.k & 0x3c0000) >> 18); in wm8753_set_dai_pll()
775 value = (pll_div.k & 0x03fe00) >> 9; in wm8753_set_dai_pll()
779 value = pll_div.k & 0x0001ff; in wm8753_set_dai_pll()
784 (pll_div.div2 << 3)); in wm8753_set_dai_pll()