• 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:wm8400

2  * wm8400.c  --  WM8400 ALSA Soc Audio driver
23 #include <linux/mfd/wm8400-audio.h>
24 #include <linux/mfd/wm8400-private.h>
33 #include "wm8400.h"
69 struct wm8400 *wm8400;
80 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec);
83 return wm8400->fake_register;
85 return wm8400_reg_read(wm8400->wm8400, reg);
89 * write to the wm8400 register space
94 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec);
97 wm8400->fake_register = value;
100 return wm8400_set_bits(wm8400->wm8400, reg, 0xffff, value);
105 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec);
107 wm8400_reset_codec_reg_cache(wm8400->wm8400);
929 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec);
931 wm8400->sysclk = freq;
945 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors,
956 dev_err(wm8400->wm8400->dev,
983 dev_err(wm8400->wm8400->dev,
1005 dev_dbg(wm8400->wm8400->dev,
1018 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec);
1023 if (freq_in == wm8400->fll_in && freq_out == wm8400->fll_out)
1027 ret = fll_factors(wm8400, &factors, freq_in, freq_out);
1037 wm8400->fll_out = freq_out;
1038 wm8400->fll_in = freq_in;
1207 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec);
1227 dev_err(wm8400->wm8400->dev,
1386 dev_err(&pdev->dev, "wm8400 not yet discovered\n");
1438 dev_err(priv->wm8400->dev,
1445 dev_err(priv->wm8400->dev,
1472 priv->wm8400 = dev_get_drvdata(&dev->dev);
1474 ret = regulator_bulk_get(priv->wm8400->dev,
1553 .name = "wm8400-codec",
1577 MODULE_ALIAS("platform:wm8400-codec");