• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/soc/codecs/

Lines Matching defs:dai

2890 static int wm8994_set_fll(struct snd_soc_dai *dai, int id, int src,
2893 struct snd_soc_codec *codec = dai->codec;
3007 static int wm8994_set_dai_sysclk(struct snd_soc_dai *dai,
3010 struct snd_soc_codec *codec = dai->codec;
3014 switch (dai->id) {
3026 wm8994->sysclk[dai->id - 1] = WM8994_SYSCLK_MCLK1;
3028 dev_dbg(dai->dev, "AIF%d using MCLK1 at %uHz\n",
3029 dai->id, freq);
3034 wm8994->sysclk[dai->id - 1] = WM8994_SYSCLK_MCLK2;
3036 dev_dbg(dai->dev, "AIF%d using MCLK2 at %uHz\n",
3037 dai->id, freq);
3041 wm8994->sysclk[dai->id - 1] = WM8994_SYSCLK_FLL1;
3042 dev_dbg(dai->dev, "AIF%d using FLL1\n", dai->id);
3046 wm8994->sysclk[dai->id - 1] = WM8994_SYSCLK_FLL2;
3047 dev_dbg(dai->dev, "AIF%d using FLL2\n", dai->id);
3177 static int wm8994_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
3179 struct snd_soc_codec *codec = dai->codec;
3185 switch (dai->id) {
3301 struct snd_soc_dai *dai)
3303 struct snd_soc_codec *codec = dai->codec;
3313 int id = dai->id - 1;
3317 switch (dai->id) {
3371 dev_dbg(dai->dev, "Sample rate is %dHz\n", srs[i].rate);
3372 dev_dbg(dai->dev, "AIF%dCLK is %dHz, target BCLK %dHz\n",
3373 dai->id, wm8994->aifclk[id], bclk_rate);
3376 dev_err(dai->dev, "AIF%dCLK not configured\n", dai->id);
3392 dev_dbg(dai->dev, "Selected AIF%dCLK/fs = %d\n",
3393 dai->id, fs_ratios[best]);
3409 dev_dbg(dai->dev, "Using BCLK_DIV %d for actual BCLK %dHz\n",
3414 dev_dbg(dai->dev, "Using LRCLK rate %d for actual LRCLK %dHz\n",
3425 switch (dai->id) {
3597 ret = wm8994_set_fll(&codec->dai[0], i + 1, 0, 0, 0);
3640 ret = wm8994_set_fll(&codec->dai[0], i + 1,
3964 codec->dai = &wm8994_dai[0];