Searched refs:mclk_ratios (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/sound/soc/codecs/
H A Dwm8776.c233 static int mclk_ratios[] = { variable
289 for (i = 0; i < ARRAY_SIZE(mclk_ratios); i++) { wm8776_hw_params()
291 == mclk_ratios[i]) wm8776_hw_params()
295 if (i == ARRAY_SIZE(mclk_ratios)) { wm8776_hw_params()
302 dev_dbg(codec->dev, "MCLK is %dfs\n", mclk_ratios[i]); wm8776_hw_params()
H A Dwm8770.c401 static const int mclk_ratios[] = { variable
454 for (; i < ARRAY_SIZE(mclk_ratios); ++i) { wm8770_hw_params()
456 if (ratio == mclk_ratios[i]) wm8770_hw_params()
460 if (i == ARRAY_SIZE(mclk_ratios)) { wm8770_hw_params()
467 dev_dbg(codec->dev, "MCLK is %dfs\n", mclk_ratios[i]); wm8770_hw_params()
H A Des8328.c36 } mclk_ratios[] = { variable in typeref:struct:__anon15450
470 ratio = mclk_ratios[0].rate; es8328_hw_params()
471 for (i = 1; i < ARRAY_SIZE(mclk_ratios); i++) es8328_hw_params()
472 if (params_rate(params) <= mclk_ratios[i].rate) es8328_hw_params()
473 ratio = mclk_ratios[i].ratio; es8328_hw_params()
H A Dsta32x.c571 * by the STA32X, based on the mclk_ratios table.

Completed in 189 milliseconds