Lines Matching refs:wm8400
69 struct wm8400 *wm8400; member
80 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_read() local
83 return wm8400->fake_register; in wm8400_read()
85 return wm8400_reg_read(wm8400->wm8400, reg); in wm8400_read()
94 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_write() local
97 wm8400->fake_register = value; in wm8400_write()
100 return wm8400_set_bits(wm8400->wm8400, reg, 0xffff, value); in wm8400_write()
105 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_codec_reset() local
107 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_codec_reset()
930 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_sysclk() local
932 wm8400->sysclk = freq; in wm8400_set_dai_sysclk()
946 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument
957 dev_err(wm8400->wm8400->dev, in fll_factors()
984 dev_err(wm8400->wm8400->dev, in fll_factors()
1006 dev_dbg(wm8400->wm8400->dev, in fll_factors()
1019 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_dai_pll() local
1024 if (freq_in == wm8400->fll_in && freq_out == wm8400->fll_out) in wm8400_set_dai_pll()
1028 ret = fll_factors(wm8400, &factors, freq_in, freq_out); in wm8400_set_dai_pll()
1038 wm8400->fll_out = freq_out; in wm8400_set_dai_pll()
1039 wm8400->fll_in = freq_in; in wm8400_set_dai_pll()
1207 struct wm8400_priv *wm8400 = snd_soc_codec_get_drvdata(codec); in wm8400_set_bias_level() local
1227 dev_err(wm8400->wm8400->dev, in wm8400_set_bias_level()
1381 struct wm8400 *wm8400 = mfd_get_data(to_platform_device(codec->dev)); in wm8400_codec_probe() local
1391 codec->control_data = priv->wm8400 = wm8400; in wm8400_codec_probe()
1394 ret = regulator_bulk_get(wm8400->dev, in wm8400_codec_probe()