Lines Matching refs:wm8971
2 * wm8971.c -- WM8971 ALSA SoC Audio driver
31 #include "wm8971.h"
45 * wm8971 register cache
418 struct wm8971_priv *wm8971 = snd_soc_codec_get_drvdata(codec);
426 wm8971->sysclk = freq;
497 struct wm8971_priv *wm8971 = snd_soc_codec_get_drvdata(codec);
500 int coeff = get_coeff(wm8971->sysclk, params_rate(params));
630 /* charge wm8971 caps */
661 printk(KERN_ERR "wm8971: failed to set cache I/O: %d\n", ret);
670 printk(KERN_ERR "wm8971: failed to create pcms\n");
745 { "wm8971", 0 },
776 strlcpy(info.type, "wm8971", I2C_NAME_SIZE);
807 struct wm8971_priv *wm8971;
817 wm8971 = kzalloc(sizeof(struct wm8971_priv), GFP_KERNEL);
818 if (wm8971 == NULL) {
823 snd_soc_codec_set_drvdata(codec, wm8971);
831 wm8971_workq = create_workqueue("wm8971");