Lines Matching refs:ac97
295 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in wm9705_soc_resume() local
298 ret = snd_ac97_reset(ac97, true, WM9705_VENDOR_ID, in wm9705_soc_resume()
314 struct snd_ac97 *ac97; in wm9705_soc_probe() local
318 ac97 = snd_soc_new_ac97_codec(codec, WM9705_VENDOR_ID, in wm9705_soc_probe()
320 if (IS_ERR(ac97)) { in wm9705_soc_probe()
322 return PTR_ERR(ac97); in wm9705_soc_probe()
325 regmap = regmap_init_ac97(ac97, &wm9705_regmap_config); in wm9705_soc_probe()
331 snd_soc_codec_set_drvdata(codec, ac97); in wm9705_soc_probe()
336 snd_soc_free_ac97_codec(ac97); in wm9705_soc_probe()
342 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); in wm9705_soc_remove() local
345 snd_soc_free_ac97_codec(ac97); in wm9705_soc_remove()