Searched refs:gcd_fll (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/sound/soc/codecs/ |
D | wm2200.c | 1854 unsigned int fratio, gcd_fll; in fll_factors() local 1910 gcd_fll = gcd(target, fratio * Fref); in fll_factors() 1913 / gcd_fll; in fll_factors() 1914 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
|
D | arizona.c | 2259 unsigned int target, div, gcd_fll; in arizona_calc_fll() local 2287 gcd_fll = gcd(target, ratio * Fref); in arizona_calc_fll() 2288 arizona_fll_dbg(fll, "GCD=%u\n", gcd_fll); in arizona_calc_fll() 2291 / gcd_fll; in arizona_calc_fll() 2292 cfg->lambda = (ratio * Fref) / gcd_fll; in arizona_calc_fll()
|
D | wm5100.c | 1682 unsigned int fratio, gcd_fll; in fll_factors() local 1738 gcd_fll = gcd(target, fratio * Fref); in fll_factors() 1741 / gcd_fll; in fll_factors() 1742 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
|
D | wm8996.c | 1919 unsigned int fratio, gcd_fll; in fll_factors() local 1985 gcd_fll = gcd(target, fratio * Fref); in fll_factors() 1988 / gcd_fll; in fll_factors() 1989 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
|
D | wm8962.c | 2807 unsigned int fratio, gcd_fll; in fll_factors() local 2863 gcd_fll = gcd(target, fratio * Fref); in fll_factors() 2866 / gcd_fll; in fll_factors() 2867 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
|
D | madera.c | 3625 unsigned int gcd_fll; in madera_calc_fll() local 3644 gcd_fll = gcd(fll->fout, ratio * fref); in madera_calc_fll() 3645 madera_fll_dbg(fll, "GCD=%u\n", gcd_fll); in madera_calc_fll() 3648 / gcd_fll; in madera_calc_fll() 3649 cfg->lambda = (ratio * fref) / gcd_fll; in madera_calc_fll()
|
D | wm8994.c | 2126 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()
|