Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Dwm8978.c99 unsigned int f_mclk; member
450 static int wm8978_enum_mclk(unsigned int f_out, unsigned int f_mclk, in wm8978_enum_mclk() argument
458 if (3 * f_mclk <= f_pllout_x4 && f_pllout_x4 < 13 * f_mclk) { in wm8978_enum_mclk()
475 unsigned int f_opclk = wm8978->f_opclk, f_mclk = wm8978->f_mclk, in wm8978_configure_pll() local
479 if (!f_mclk) in wm8978_configure_pll()
496 if (16 * f_opclk < 3 * f_mclk || 4 * f_opclk >= 13 * f_mclk) in wm8978_configure_pll()
499 if (4 * f_opclk < 3 * f_mclk) in wm8978_configure_pll()
501 opclk_div = DIV_ROUND_UP(3 * f_mclk / 4, f_opclk); in wm8978_configure_pll()
522 int idx = wm8978_enum_mclk(f_256fs, f_mclk, &wm8978->f_pllout); in wm8978_configure_pll()
534 wm8978->f_mclk, wm8978->f_pllout); in wm8978_configure_pll()
[all …]