Searched refs:fratio (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/sound/soc/codecs/ |
D | wm8400.c | 846 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 …]
|
D | madera.c | 3392 u16 fratio; member 3443 static int madera_find_sync_fratio(unsigned int fref, int *fratio) in madera_find_sync_fratio() argument 3450 if (fratio) in madera_find_sync_fratio() 3451 *fratio = fll_sync_fratios[i].fratio; in madera_find_sync_fratio() 3461 int *fratio) in madera_find_main_fratio() argument 3468 if (fratio) in madera_find_main_fratio() 3469 *fratio = ratio - 1; in madera_find_main_fratio() 3475 bool sync, int *fratio) in madera_find_fratio() argument 3482 return madera_find_sync_fratio(fref, fratio); in madera_find_fratio() 3485 return madera_find_sync_fratio(fref, fratio); in madera_find_fratio() [all …]
|
D | arizona.c | 2056 u16 fratio; member 2101 int fratio; member 2134 static int arizona_find_fratio(unsigned int Fref, int *fratio) in arizona_find_fratio() argument 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() [all …]
|
D | wm2200.c | 1849 unsigned int fratio, gcd_fll; in fll_factors() local 1890 fratio = fll_fratios[i].ratio; in fll_factors() 1899 fll_div->n = target / (fratio * Fref); in fll_factors() 1905 gcd_fll = gcd(target, fratio * Fref); in fll_factors() 1907 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 1909 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors() 1915 fll_div->fll_fratio, fratio, fll_div->fll_outdiv, in fll_factors()
|
D | wm5100.c | 1682 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()
|
D | wm8996.c | 1919 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()
|
D | wm8962.c | 2807 unsigned int fratio, gcd_fll; in fll_factors() local 2848 fratio = fll_fratios[i].ratio; in fll_factors() 2857 fll_div->n = target / (fratio * Fref); in fll_factors() 2863 gcd_fll = gcd(target, fratio * Fref); in fll_factors() 2865 fll_div->theta = (target - (fll_div->n * fratio * Fref)) in fll_factors() 2867 fll_div->lambda = (fratio * Fref) / gcd_fll; in fll_factors()
|
D | madera.h | 153 int fratio; member
|
/Linux-v6.6/arch/x86/kernel/cpu/ |
D | aperfmperf.c | 152 int fratio, delta_fratio, found; in knl_set_max_freq_ratio() local 166 fratio = (msr >> 8) & 0xFF; in knl_set_max_freq_ratio() 171 *turbo_freq = fratio; in knl_set_max_freq_ratio() 179 fratio -= delta_fratio; in knl_set_max_freq_ratio()
|