Home
last modified time | relevance | path

Searched refs:gcd_fll (Results 1 – 7 of 7) sorted by relevance

/linux/sound/soc/codecs/
H A Dwm2200.c1852 unsigned int fratio, gcd_fll; in fll_factors() local
1908 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1911 / gcd_fll; in fll_factors()
1912 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
H A Darizona.c2257 unsigned int target, div, gcd_fll; in arizona_calc_fll() local
2285 gcd_fll = gcd(target, ratio * Fref); in arizona_calc_fll()
2286 arizona_fll_dbg(fll, "GCD=%u\n", gcd_fll); in arizona_calc_fll()
2289 / gcd_fll; in arizona_calc_fll()
2290 cfg->lambda = (ratio * Fref) / gcd_fll; in arizona_calc_fll()
H A Dwm5100.c1685 unsigned int fratio, gcd_fll; in fll_factors() local
1741 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1744 / gcd_fll; in fll_factors()
1745 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
H A Dwm8996.c1920 unsigned int fratio, gcd_fll; in fll_factors() local
1986 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1989 / gcd_fll; in fll_factors()
1990 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
H A Dwm8962.c2848 unsigned int fratio, gcd_fll; in fll_factors()
2904 gcd_fll = gcd(target, fratio * Fref); in wm8962_set_fll()
2907 / gcd_fll; in wm8962_set_fll()
2908 fll_div->lambda = (fratio * Fref) / gcd_fll; in wm8962_set_fll()
2820 unsigned int fratio, gcd_fll; fll_factors() local
H A Dmadera.c3612 unsigned int gcd_fll; in madera_calc_fll() local
3631 gcd_fll = gcd(fll->fout, ratio * fref); in madera_calc_fll()
3632 madera_fll_dbg(fll, "GCD=%u\n", gcd_fll); in madera_calc_fll()
3635 / gcd_fll; in madera_calc_fll()
3636 cfg->lambda = (ratio * fref) / gcd_fll; in madera_calc_fll()
H A Dwm8994.c2126 unsigned int K, Ndiv, Nmod, gcd_fll; in wm8994_get_fll_config() local
2195 gcd_fll = gcd(freq_out, freq_in); in wm8994_get_fll_config()
2197 fll->k = (freq_out - (freq_in * fll->n)) / gcd_fll; in wm8994_get_fll_config()
2198 fll->lambda = freq_in / gcd_fll; in wm8994_get_fll_config()