Lines Matching refs:wm8711
3 * wm8711.c -- WM8711 ALSA SoC Audio driver
29 #include "wm8711.h"
38 * wm8711 register cache
160 struct wm8711_priv *wm8711 = snd_soc_component_get_drvdata(component);
162 int i = get_coeff(wm8711->sysclk, params_rate(params));
224 struct wm8711_priv *wm8711 = snd_soc_component_get_drvdata(component);
232 wm8711->sysclk = freq;
300 struct wm8711_priv *wm8711 = snd_soc_component_get_drvdata(component);
311 regcache_sync(wm8711->regmap);
339 .name = "wm8711-hifi",
385 { .compatible = "wlf,wm8711", },
405 struct wm8711_priv *wm8711;
408 wm8711 = devm_kzalloc(&spi->dev, sizeof(struct wm8711_priv),
410 if (wm8711 == NULL)
413 wm8711->regmap = devm_regmap_init_spi(spi, &wm8711_regmap);
414 if (IS_ERR(wm8711->regmap))
415 return PTR_ERR(wm8711->regmap);
417 spi_set_drvdata(spi, wm8711);
427 .name = "wm8711",
438 struct wm8711_priv *wm8711;
441 wm8711 = devm_kzalloc(&client->dev, sizeof(struct wm8711_priv),
443 if (wm8711 == NULL)
446 wm8711->regmap = devm_regmap_init_i2c(client, &wm8711_regmap);
447 if (IS_ERR(wm8711->regmap))
448 return PTR_ERR(wm8711->regmap);
450 i2c_set_clientdata(client, wm8711);
459 { "wm8711", 0 },
466 .name = "wm8711",