Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A 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 …]
H A 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()
H A 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()
H A Dwm8731.h61 int wm8731_init(struct device *dev, struct wm8731_priv *wm8731);
H A DMakefile351 snd-soc-wm8731-y := wm8731.o
352 snd-soc-wm8731-i2c-y := wm8731-i2c.o
353 snd-soc-wm8731-spi-y := wm8731-spi.o
763 obj-$(CONFIG_SND_SOC_WM8731) += snd-soc-wm8731.o
764 obj-$(CONFIG_SND_SOC_WM8731_I2C) += snd-soc-wm8731-i2c.o
765 obj-$(CONFIG_SND_SOC_WM8731_SPI) += snd-soc-wm8731-spi.o
/linux/Documentation/devicetree/bindings/sound/
H A Datmel-at91sam9g20ek-wm8731-audio.txt1 * Atmel at91sam9g20ek wm8731 audio complex
4 - compatible: "atmel,at91sam9g20ek-wm8731-audio"
14 compatible = "atmel,at91sam9g20ek-wm8731-audio";
18 atmel,model = "wm8731 @ AT91SAMG20EK";
25 atmel,audio-codec = <&wm8731>;
H A Dmikroe,mikroe-proto.txt18 model = "wm8731 @ sama5d2_xplained";
20 audio-codec = <&wm8731>;
/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9x5ek.dtsi20 compatible = "atmel,sam9x5-wm8731-audio";
22 atmel,model = "wm8731 @ AT91SAM9X5EK";
31 atmel,audio-codec = <&wm8731>;
50 wm8731: wm8731@1a { label
51 compatible = "wm8731";
H A Dat91sam9g20ek_common.dtsi229 wm8731: wm8731@1b { label
230 compatible = "wm8731";
265 compatible = "atmel,at91sam9g20ek-wm8731-audio";
269 atmel,model = "wm8731 @ AT91SAMG20EK";
276 atmel,audio-codec = <&wm8731>;
/linux/sound/soc/atmel/
H A DMakefile28 snd-soc-sam9g20-wm8731-y := sam9g20_wm8731.o
30 snd-soc-sam9x5-wm8731-y := 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
/linux/arch/arm/boot/dts/ti/omap/
H A Dam57xx-cl-som-am57x.dts73 sound-dai = <&wm8731>;
438 wm8731: wm8731@1a { label
440 compatible = "wlf,wm8731";
/linux/Documentation/sound/soc/
H A Dmachine.rst67 .codec_dai_name = "wm8731-hifi",
H A Doverview.rst13 Linux had different wm8731 drivers for 4 different SoC platforms.
H A Dcodec.rst49 .name = "wm8731-hifi",
H A Ddapm.rst309 For example the WM8731 output mixer (wm8731.c) has 3 inputs (sources):