Home
last modified time | relevance | path

Searched refs:f2 (Results 1 – 4 of 4) sorted by relevance

/sound/soc/codecs/
Dnau8810.c496 u64 f2, f2_max, pll_ratio; in nau8810_calc_pll() local
505 f2 = 256ULL * fs * 4 * nau8810_mclk_scaler[i]; in nau8810_calc_pll()
506 f2 = div_u64(f2, 10); in nau8810_calc_pll()
507 if (f2 > NAU_PLL_FREQ_MIN && f2 < NAU_PLL_FREQ_MAX && in nau8810_calc_pll()
508 f2_max < f2) { in nau8810_calc_pll()
509 f2_max = f2; in nau8810_calc_pll()
516 f2 = f2_max; in nau8810_calc_pll()
521 pll_ratio = div_u64(f2 << 28, pll_in); in nau8810_calc_pll()
Dnau8822.c632 u64 f2, f2_max, pll_ratio; in nau8822_calc_pll() local
641 f2 = 256 * fs * 4 * nau8822_mclk_scaler[i] / 10; in nau8822_calc_pll()
642 if (f2 > NAU_PLL_FREQ_MIN && f2 < NAU_PLL_FREQ_MAX && in nau8822_calc_pll()
643 f2_max < f2) { in nau8822_calc_pll()
644 f2_max = f2; in nau8822_calc_pll()
652 f2 = f2_max; in nau8822_calc_pll()
657 pll_ratio = div_u64(f2 << 28, pll_in); in nau8822_calc_pll()
Dwm8978.c477 unsigned int f2; in wm8978_configure_pll() local
531 f2 = wm8978->f_pllout * 4; in wm8978_configure_pll()
536 pll_factors(component, &pll_div, f2, wm8978->f_mclk); in wm8978_configure_pll()
/sound/isa/gus/
Dgus_volume.c150 unsigned int mantissa, f1, f2;
170 f2 = log_table[f2_index] << f2_power;
171 bend = (int) ((((f2 - f1) * mantissa) >> 13) + f1);