Lines Matching defs:fll_div
1058 static inline int fll_factors(struct _fll_div *fll_div, unsigned int input,
1065 fll_div->div = 0x4;
1067 fll_div->div = 0x3;
1069 fll_div->div = 0x2;
1071 fll_div->div = 0x1;
1078 fll_div->ratio = 1;
1080 fll_div->ratio = 8;
1082 t1 = output * (1 << (fll_div->div + 1));
1083 t2 = input * fll_div->ratio;
1085 fll_div->n = t1 / t2;
1099 fll_div->k = K;
1101 fll_div->k = 0;
1113 struct _fll_div fll_div;
1127 ret = fll_factors(&fll_div, freq_in, freq_out);
1132 freq_in, freq_out, fll_div.n, fll_div.k, fll_div.div,
1133 fll_div.ratio);
1139 fll_1 | (fll_div.div << 8) | 0x50);
1141 (fll_div.ratio << 11) | (fll_div.
1143 wm8350_codec_write(codec, WM8350_FLL_CONTROL_3, fll_div.k);
1147 fll_4 | (fll_div.k ? WM8350_FLL_FRAC : 0) |
1148 (fll_div.ratio == 8 ? WM8350_FLL_SLOW_LOCK_REF : 0));