Home
last modified time | relevance | path

Searched refs:wm8731 (Results 1 – 8 of 8) sorted by relevance

/sound/soc/codecs/
Dwm8731.c70 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_set_deemph() local
76 if (wm8731->deemph) { in wm8731_set_deemph()
79 if (abs(wm8731_deemph[i] - wm8731->playback_fs) < in wm8731_set_deemph()
80 abs(wm8731_deemph[best] - wm8731->playback_fs)) in wm8731_set_deemph()
100 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_get_deemph() local
102 ucontrol->value.integer.value[0] = wm8731->deemph; in wm8731_get_deemph()
111 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_put_deemph() local
118 mutex_lock(&wm8731->lock); in wm8731_put_deemph()
119 if (wm8731->deemph != deemph) { in wm8731_put_deemph()
120 wm8731->deemph = deemph; in wm8731_put_deemph()
[all …]
Dwm8731-spi.c27 struct wm8731_priv *wm8731; in wm8731_spi_probe() local
30 wm8731 = devm_kzalloc(&spi->dev, sizeof(*wm8731), GFP_KERNEL); in wm8731_spi_probe()
31 if (wm8731 == NULL) in wm8731_spi_probe()
34 spi_set_drvdata(spi, wm8731); in wm8731_spi_probe()
36 wm8731->regmap = devm_regmap_init_spi(spi, &wm8731_regmap); in wm8731_spi_probe()
37 if (IS_ERR(wm8731->regmap)) { in wm8731_spi_probe()
38 ret = PTR_ERR(wm8731->regmap); in wm8731_spi_probe()
44 return wm8731_init(&spi->dev, wm8731); in wm8731_spi_probe()
Dwm8731-i2c.c28 struct wm8731_priv *wm8731; in wm8731_i2c_probe() local
31 wm8731 = devm_kzalloc(&i2c->dev, sizeof(struct wm8731_priv), in wm8731_i2c_probe()
33 if (wm8731 == NULL) in wm8731_i2c_probe()
36 i2c_set_clientdata(i2c, wm8731); in wm8731_i2c_probe()
38 wm8731->regmap = devm_regmap_init_i2c(i2c, &wm8731_regmap); in wm8731_i2c_probe()
39 if (IS_ERR(wm8731->regmap)) { in wm8731_i2c_probe()
40 ret = PTR_ERR(wm8731->regmap); in wm8731_i2c_probe()
46 return wm8731_init(&i2c->dev, wm8731); in wm8731_i2c_probe()
Dwm8731.h61 int wm8731_init(struct device *dev, struct wm8731_priv *wm8731);
DMakefile305 snd-soc-wm8731-objs := wm8731.o
306 snd-soc-wm8731-i2c-objs := wm8731-i2c.o
307 snd-soc-wm8731-spi-objs := wm8731-spi.o
665 obj-$(CONFIG_SND_SOC_WM8731) += snd-soc-wm8731.o
666 obj-$(CONFIG_SND_SOC_WM8731_I2C) += snd-soc-wm8731-i2c.o
667 obj-$(CONFIG_SND_SOC_WM8731_SPI) += snd-soc-wm8731-spi.o
/sound/soc/atmel/
DMakefile28 snd-soc-sam9g20-wm8731-objs := sam9g20_wm8731.o
30 snd-soc-sam9x5-wm8731-objs := sam9x5_wm8731.o
36 obj-$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731) += snd-soc-sam9g20-wm8731.o
38 obj-$(CONFIG_SND_AT91_SOC_SAM9X5_WM8731) += snd-soc-sam9x5-wm8731.o
/sound/soc/pxa/
Dpoodle.c224 SND_SOC_DAILINK_DEFS(wm8731,
235 SND_SOC_DAILINK_REG(wm8731),
Dcorgi.c261 SND_SOC_DAILINK_DEFS(wm8731,
272 SND_SOC_DAILINK_REG(wm8731),