Lines Matching defs:wm8400
3 * wm8400.c -- WM8400 ALSA Soc Audio driver
18 #include <linux/mfd/wm8400-audio.h>
19 #include <linux/mfd/wm8400-private.h>
28 #include "wm8400.h"
56 struct wm8400 *wm8400;
65 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component);
67 wm8400_reset_codec_reg_cache(wm8400->wm8400);
836 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component);
838 wm8400->sysclk = freq;
852 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors,
863 dev_err(wm8400->wm8400->dev,
890 dev_err(wm8400->wm8400->dev,
912 dev_dbg(wm8400->wm8400->dev,
925 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component);
930 if (freq_in == wm8400->fll_in && freq_out == wm8400->fll_out)
934 ret = fll_factors(wm8400, &factors, freq_in, freq_out);
944 wm8400->fll_out = freq_out;
945 wm8400->fll_in = freq_in;
1112 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component);
1132 dev_err(wm8400->wm8400->dev,
1242 .name = "wm8400-hifi",
1262 struct wm8400 *wm8400 = dev_get_platdata(component->dev);
1272 snd_soc_component_init_regmap(component, wm8400->regmap);
1274 priv->wm8400 = wm8400;
1276 ret = devm_regulator_bulk_get(wm8400->dev,
1336 .name = "wm8400-codec",
1346 MODULE_ALIAS("platform:wm8400-codec");