Lines Matching refs:wm8400
61 struct wm8400 *wm8400; member
70 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_codec_reset() local
72 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_codec_reset()
856 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_sysclk() local
858 wm8400->sysclk = freq; in wm8400_set_dai_sysclk()
872 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument
883 dev_err(wm8400->wm8400->dev, in fll_factors()
910 dev_err(wm8400->wm8400->dev, in fll_factors()
932 dev_dbg(wm8400->wm8400->dev, in fll_factors()
945 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_pll() local
950 if (freq_in == wm8400->fll_in && freq_out == wm8400->fll_out) in wm8400_set_dai_pll()
954 ret = fll_factors(wm8400, &factors, freq_in, freq_out); in wm8400_set_dai_pll()
964 wm8400->fll_out = freq_out; in wm8400_set_dai_pll()
965 wm8400->fll_in = freq_in; in wm8400_set_dai_pll()
1132 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_bias_level() local
1152 dev_err(wm8400->wm8400->dev, in wm8400_set_bias_level()
1282 struct wm8400 *wm8400 = dev_get_platdata(codec->dev); in wm8400_codec_probe() local
1293 priv->wm8400 = wm8400; in wm8400_codec_probe()
1295 ret = devm_regulator_bulk_get(wm8400->dev, in wm8400_codec_probe()
1334 struct wm8400 *wm8400 = dev_get_platdata(dev); in wm8400_get_regmap() local
1336 return wm8400->regmap; in wm8400_get_regmap()