Lines Matching full:wm8940
3 * wm8940.c -- WM8940 ALSA Soc Audio driver
37 #include "wm8940.h"
478 struct wm8940_priv *wm8940 = snd_soc_component_get_drvdata(component); in wm8940_set_bias_level() local
502 ret = regcache_sync(wm8940->regmap); in wm8940_set_bias_level()
560 "WM8940 N value %d outwith recommended range!d\n", in pll_factors()
738 .name = "wm8940-hifi",
764 * Check chip ID for wm8940 - value of 0x00 offset in wm8940_probe()
770 dev_err(component->dev, "Wrong wm8940 chip ID: 0x%x\n", reg); in wm8940_probe()
826 struct wm8940_priv *wm8940; in wm8940_i2c_probe() local
829 wm8940 = devm_kzalloc(&i2c->dev, sizeof(struct wm8940_priv), in wm8940_i2c_probe()
831 if (wm8940 == NULL) in wm8940_i2c_probe()
834 wm8940->regmap = devm_regmap_init_i2c(i2c, &wm8940_regmap); in wm8940_i2c_probe()
835 if (IS_ERR(wm8940->regmap)) in wm8940_i2c_probe()
836 return PTR_ERR(wm8940->regmap); in wm8940_i2c_probe()
838 i2c_set_clientdata(i2c, wm8940); in wm8940_i2c_probe()
847 { "wm8940" },
853 { .compatible = "wlf,wm8940", },
860 .name = "wm8940",
869 MODULE_DESCRIPTION("ASoC WM8940 driver");