Home
last modified time | relevance | path

Searched refs:fratio (Results 1 – 9 of 9) sorted by relevance

/linux/sound/soc/codecs/
A Dwm8400.c846 u16 fratio; member
878 factors->fratio = 9; in fll_factors()
880 factors->fratio = 0; in fll_factors()
885 factors->fratio--; in fll_factors()
887 factors->fratio++; in fll_factors()
889 if (factors->fratio < 1 || factors->fratio > 8) { in fll_factors()
895 factors->n = target / (Fref * factors->fratio); in fll_factors()
896 Nmod = target % (Fref * factors->fratio); in fll_factors()
902 do_div(Kpart, (Fref * factors->fratio)); in fll_factors()
915 factors->n, factors->k, factors->fratio, factors->outdiv); in fll_factors()
[all …]
A Dmadera.c3386 u16 fratio; member
3444 if (fratio) in madera_find_sync_fratio()
3445 *fratio = fll_sync_fratios[i].fratio; in madera_find_sync_fratio()
3455 int *fratio) in madera_find_main_fratio() argument
3462 if (fratio) in madera_find_main_fratio()
3463 *fratio = ratio - 1; in madera_find_main_fratio()
3483 fratio); in madera_find_fratio()
3526 cfg->fratio = init_ratio - 1; in madera_calc_fratio()
3562 cfg->fratio = ratio - 1; in madera_calc_fratio()
3578 cfg->fratio = ratio - 1; in madera_calc_fratio()
[all …]
A Darizona.c2056 u16 fratio; member
2101 int fratio; member
2141 if (fratio) in arizona_find_fratio()
2142 *fratio = fll_fratios[i].fratio; in arizona_find_fratio()
2171 init_ratio = arizona_find_fratio(Fref, &cfg->fratio); in arizona_calc_fratio()
2193 cfg->fratio = init_ratio - 1; in arizona_calc_fratio()
2208 cfg->fratio = ratio - 1; in arizona_calc_fratio()
2234 cfg->fratio = ratio - 1; in arizona_calc_fratio()
2252 return cfg->fratio + 1; in arizona_calc_fratio()
2322 cfg->fratio, ratio, cfg->outdiv, in arizona_calc_fll()
[all …]
A Dwm2200.c1854 unsigned int fratio, gcd_fll; in fll_factors() local
1895 fratio = fll_fratios[i].ratio; in fll_factors()
1904 fll_div->n = target / (fratio * Fref); in fll_factors()
1910 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1912 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
1914 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
1920 fll_div->fll_fratio, fratio, fll_div->fll_outdiv, in fll_factors()
A Dwm5100.c1682 unsigned int fratio, gcd_fll; in fll_factors() local
1723 fratio = fll_fratios[i].ratio; in fll_factors()
1732 fll_div->n = target / (fratio * Fref); in fll_factors()
1738 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1740 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
1742 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
1748 fll_div->fll_fratio, fratio, fll_div->fll_outdiv, in fll_factors()
A Dwm8996.c1919 unsigned int fratio, gcd_fll; in fll_factors() local
1970 fratio = fll_fratios[i].ratio; in fll_factors()
1979 fll_div->n = target / (fratio * Fref); in fll_factors()
1985 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
1987 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
1989 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
A Dwm8962.c2741 unsigned int fratio, gcd_fll; in fll_factors() local
2782 fratio = fll_fratios[i].ratio; in fll_factors()
2791 fll_div->n = target / (fratio * Fref); in fll_factors()
2797 gcd_fll = gcd(target, fratio * Fref); in fll_factors()
2799 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors()
2801 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
A Dmadera.h153 int fratio; member
/linux/arch/x86/kernel/
A Dsmpboot.c1961 int fratio, delta_fratio, found; in knl_set_max_freq_ratio() local
1975 fratio = (msr >> 8) & 0xFF; in knl_set_max_freq_ratio()
1980 *turbo_freq = fratio; in knl_set_max_freq_ratio()
1988 fratio -= delta_fratio; in knl_set_max_freq_ratio()

Completed in 44 milliseconds