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()
853 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_sysclk() local
855 wm8400->sysclk = freq; in wm8400_set_dai_sysclk()
869 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument
880 dev_err(wm8400->wm8400->dev, in fll_factors()
907 dev_err(wm8400->wm8400->dev, in fll_factors()
929 dev_dbg(wm8400->wm8400->dev, in fll_factors()
942 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_pll() local
947 if (freq_in == wm8400->fll_in && freq_out == wm8400->fll_out) in wm8400_set_dai_pll()
951 ret = fll_factors(wm8400, &factors, freq_in, freq_out); in wm8400_set_dai_pll()
961 wm8400->fll_out = freq_out; in wm8400_set_dai_pll()
962 wm8400->fll_in = freq_in; in wm8400_set_dai_pll()
1129 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_bias_level() local
1149 dev_err(wm8400->wm8400->dev, in wm8400_set_bias_level()
1278 struct wm8400 *wm8400 = dev_get_platdata(codec->dev); in wm8400_codec_probe() local
1289 priv->wm8400 = wm8400; in wm8400_codec_probe()
1291 ret = devm_regulator_bulk_get(wm8400->dev, in wm8400_codec_probe()
1330 struct wm8400 *wm8400 = dev_get_platdata(dev); in wm8400_get_regmap() local
1332 return wm8400->regmap; in wm8400_get_regmap()