Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/codecs/
Dwm2200.c1865 unsigned int fratio, gcd_fll; in fll_factors() local
1921 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1924 / gcd_fll; in fll_factors()
1925 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
Darizona.c2261 unsigned int target, div, gcd_fll; in arizona_calc_fll() local
2289 gcd_fll = gcd(target, ratio * Fref); in arizona_calc_fll()
2290 arizona_fll_dbg(fll, "GCD=%u\n", gcd_fll); in arizona_calc_fll()
2293 / gcd_fll; in arizona_calc_fll()
2294 cfg->lambda = (ratio * Fref) / gcd_fll; in arizona_calc_fll()
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()
Dwm8996.c1923 unsigned int fratio, gcd_fll; in fll_factors() local
1989 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1992 / gcd_fll; in fll_factors()
1993 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
Dwm8962.c2741 unsigned int fratio, gcd_fll; in fll_factors() local
2797 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
2800 / gcd_fll; in fll_factors()
2801 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
Dwm8994.c2054 unsigned int K, Ndiv, Nmod, gcd_fll; in wm8994_get_fll_config() local
2123 gcd_fll = gcd(freq_out, freq_in); in wm8994_get_fll_config()
2125 fll->k = (freq_out - (freq_in * fll->n)) / gcd_fll; in wm8994_get_fll_config()
2126 fll->lambda = freq_in / gcd_fll; in wm8994_get_fll_config()