Lines Matching defs:wm8900
2 * wm8900.c -- WM8900 ALSA Soc Audio driver
36 #include "wm8900.h"
152 * wm8900 register cache. We can't read the entire register space and we
699 printk(KERN_WARNING "wm8900: FLL rate %u out of range, Fref=%u"
702 printk(KERN_ERR "wm8900: Invalid FLL division rate %u, "
747 struct wm8900_priv *wm8900 = snd_soc_codec_get_drvdata(codec);
751 if (wm8900->fll_in == freq_in && wm8900->fll_out == freq_out)
769 wm8900->fll_in = freq_in;
770 wm8900->fll_out = freq_out;
778 wm8900->fll_in = freq_in;
779 wm8900->fll_out = freq_out;
1134 struct wm8900_priv *wm8900 = snd_soc_codec_get_drvdata(codec);
1135 int fll_out = wm8900->fll_out;
1136 int fll_in = wm8900->fll_in;
1146 wm8900->fll_out = fll_out;
1147 wm8900->fll_in = fll_in;
1158 struct wm8900_priv *wm8900 = snd_soc_codec_get_drvdata(codec);
1169 if (wm8900->fll_out) {
1170 int fll_out = wm8900->fll_out;
1171 int fll_in = wm8900->fll_in;
1173 wm8900->fll_in = 0;
1174 wm8900->fll_out = 0;
1198 struct wm8900_priv *wm8900;
1203 wm8900 = kzalloc(sizeof(struct wm8900_priv), GFP_KERNEL);
1204 if (wm8900 == NULL)
1207 codec = &wm8900->codec;
1208 snd_soc_codec_set_drvdata(codec, wm8900);
1209 codec->reg_cache = &wm8900->reg_cache[0];
1289 kfree(wm8900);
1309 { "wm8900", 0 },