Lines Matching refs:wm8400
56 struct wm8400 *wm8400; member
65 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); in wm8400_component_reset() local
67 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_component_reset()
836 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); in wm8400_set_dai_sysclk() local
838 wm8400->sysclk = freq; in wm8400_set_dai_sysclk()
852 static int fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, in fll_factors() argument
863 dev_err(wm8400->wm8400->dev, in fll_factors()
890 dev_err(wm8400->wm8400->dev, in fll_factors()
912 dev_dbg(wm8400->wm8400->dev, in fll_factors()
925 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); in wm8400_set_dai_pll() local
930 if (freq_in == wm8400->fll_in && freq_out == wm8400->fll_out) in wm8400_set_dai_pll()
934 ret = fll_factors(wm8400, &factors, freq_in, freq_out); in wm8400_set_dai_pll()
944 wm8400->fll_out = freq_out; in wm8400_set_dai_pll()
945 wm8400->fll_in = freq_in; in wm8400_set_dai_pll()
1112 struct wm8400_priv *wm8400 = snd_soc_component_get_drvdata(component); in wm8400_set_bias_level() local
1132 dev_err(wm8400->wm8400->dev, in wm8400_set_bias_level()
1262 struct wm8400 *wm8400 = dev_get_platdata(component->dev); in wm8400_component_probe() local
1272 snd_soc_component_init_regmap(component, wm8400->regmap); in wm8400_component_probe()
1274 priv->wm8400 = wm8400; in wm8400_component_probe()
1276 ret = devm_regulator_bulk_get(wm8400->dev, in wm8400_component_probe()