Lines Matching full:wm8510

3  * wm8510.c  --  WM8510 ALSA Soc Audio driver
27 #include "wm8510.h"
30 * wm8510 register cache
31 * We can't read the WM8510 register space when we are
292 "WM8510 N value %u outwith recommended range!d\n", in pll_factors()
347 * Configure WM8510 clock dividers.
506 struct wm8510_priv *wm8510 = snd_soc_component_get_drvdata(component); in wm8510_set_bias_level() local
520 regcache_sync(wm8510->regmap); in wm8510_set_bias_level()
558 .name = "wm8510-hifi",
598 { .compatible = "wlf,wm8510" },
618 struct wm8510_priv *wm8510; in wm8510_spi_probe() local
621 wm8510 = devm_kzalloc(&spi->dev, sizeof(struct wm8510_priv), in wm8510_spi_probe()
623 if (wm8510 == NULL) in wm8510_spi_probe()
626 wm8510->regmap = devm_regmap_init_spi(spi, &wm8510_regmap); in wm8510_spi_probe()
627 if (IS_ERR(wm8510->regmap)) in wm8510_spi_probe()
628 return PTR_ERR(wm8510->regmap); in wm8510_spi_probe()
630 spi_set_drvdata(spi, wm8510); in wm8510_spi_probe()
640 .name = "wm8510",
650 struct wm8510_priv *wm8510; in wm8510_i2c_probe() local
653 wm8510 = devm_kzalloc(&i2c->dev, sizeof(struct wm8510_priv), in wm8510_i2c_probe()
655 if (wm8510 == NULL) in wm8510_i2c_probe()
658 wm8510->regmap = devm_regmap_init_i2c(i2c, &wm8510_regmap); in wm8510_i2c_probe()
659 if (IS_ERR(wm8510->regmap)) in wm8510_i2c_probe()
660 return PTR_ERR(wm8510->regmap); in wm8510_i2c_probe()
662 i2c_set_clientdata(i2c, wm8510); in wm8510_i2c_probe()
671 { "wm8510" },
678 .name = "wm8510",
692 printk(KERN_ERR "Failed to register WM8510 I2C driver: %d\n", in wm8510_modinit()
699 printk(KERN_ERR "Failed to register WM8510 SPI driver: %d\n", in wm8510_modinit()
718 MODULE_DESCRIPTION("ASoC WM8510 driver");