Lines Matching defs:wm8900

3  * wm8900.c  --  WM8900 ALSA Soc Audio driver
33 #include "wm8900.h"
145 * 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, "
748 struct wm8900_priv *wm8900 = snd_soc_component_get_drvdata(component);
751 if (wm8900->fll_in == freq_in && wm8900->fll_out == freq_out)
764 wm8900->fll_in = freq_in;
765 wm8900->fll_out = freq_out;
773 wm8900->fll_in = freq_in;
774 wm8900->fll_out = freq_out;
1005 .name = "wm8900-hifi",
1117 struct wm8900_priv *wm8900 = snd_soc_component_get_drvdata(component);
1118 int fll_out = wm8900->fll_out;
1119 int fll_in = wm8900->fll_in;
1129 wm8900->fll_out = fll_out;
1130 wm8900->fll_in = fll_in;
1139 struct wm8900_priv *wm8900 = snd_soc_component_get_drvdata(component);
1144 ret = regcache_sync(wm8900->regmap);
1153 if (wm8900->fll_out) {
1154 int fll_out = wm8900->fll_out;
1155 int fll_in = wm8900->fll_in;
1157 wm8900->fll_in = 0;
1158 wm8900->fll_out = 0;
1234 struct wm8900_priv *wm8900;
1237 wm8900 = devm_kzalloc(&spi->dev, sizeof(struct wm8900_priv),
1239 if (wm8900 == NULL)
1242 wm8900->regmap = devm_regmap_init_spi(spi, &wm8900_regmap);
1243 if (IS_ERR(wm8900->regmap))
1244 return PTR_ERR(wm8900->regmap);
1246 spi_set_drvdata(spi, wm8900);
1256 .name = "wm8900",
1265 struct wm8900_priv *wm8900;
1268 wm8900 = devm_kzalloc(&i2c->dev, sizeof(struct wm8900_priv),
1270 if (wm8900 == NULL)
1273 wm8900->regmap = devm_regmap_init_i2c(i2c, &wm8900_regmap);
1274 if (IS_ERR(wm8900->regmap))
1275 return PTR_ERR(wm8900->regmap);
1277 i2c_set_clientdata(i2c, wm8900);
1289 { "wm8900" },
1296 .name = "wm8900",
1310 printk(KERN_ERR "Failed to register wm8900 I2C driver: %d\n",
1317 printk(KERN_ERR "Failed to register wm8900 SPI driver: %d\n",