Home
last modified time | relevance | path

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

/linux-5.19.10/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);
DMakefile298 snd-soc-wm8731-objs := wm8731.o
299 snd-soc-wm8731-i2c-objs := wm8731-i2c.o
300 snd-soc-wm8731-spi-objs := wm8731-spi.o
648 obj-$(CONFIG_SND_SOC_WM8731) += snd-soc-wm8731.o
649 obj-$(CONFIG_SND_SOC_WM8731_I2C) += snd-soc-wm8731-i2c.o
650 obj-$(CONFIG_SND_SOC_WM8731_SPI) += snd-soc-wm8731-spi.o
/linux-5.19.10/Documentation/devicetree/bindings/sound/
Datmel-sam9x5-wm8731-audio.txt1 * Atmel at91sam9x5ek wm8731 audio complex
4 - compatible: "atmel,sam9x5-wm8731-audio"
18 wm8731 pins:
19 cf Documentation/devicetree/bindings/sound/wm8731.txt
23 compatible = "atmel,sam9x5-wm8731-audio";
25 atmel,model = "wm8731 @ AT91SAM9X5EK";
34 atmel,audio-codec = <&wm8731>;
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>;
Dwlf,wm8731.yaml4 $id: http://devicetree.org/schemas/sound/wlf,wm8731.yaml#
27 - wlf,wm8731
73 compatible = "wlf,wm8731";
89 compatible = "wlf,wm8731";
Dmikroe,mikroe-proto.txt18 model = "wm8731 @ sama5d2_xplained";
20 audio-codec = <&wm8731>;
/linux-5.19.10/arch/arm/boot/dts/
Dat91sam9x5ek.dtsi20 compatible = "atmel,sam9x5-wm8731-audio";
22 atmel,model = "wm8731 @ AT91SAM9X5EK";
31 atmel,audio-codec = <&wm8731>;
48 wm8731: wm8731@1a { label
49 compatible = "wm8731";
Dat91sam9g20ek_common.dtsi220 wm8731: wm8731@1b { label
221 compatible = "wm8731";
256 compatible = "atmel,at91sam9g20ek-wm8731-audio";
260 atmel,model = "wm8731 @ AT91SAMG20EK";
267 atmel,audio-codec = <&wm8731>;
Dam57xx-cl-som-am57x.dts73 sound-dai = <&wm8731>;
438 wm8731: wm8731@1a { label
440 compatible = "wlf,wm8731";
Dimx6q-cm-fx6.dts126 sound-dai = <&wm8731>;
297 wm8731: codec@1a { label
299 compatible = "wlf,wm8731";
/linux-5.19.10/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
/linux-5.19.10/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),
/linux-5.19.10/Documentation/sound/soc/
Dmachine.rst67 .codec_dai_name = "wm8731-hifi",
Doverview.rst13 Linux had different wm8731 drivers for 4 different SoC platforms.
Dcodec.rst49 .name = "wm8731-hifi",
Ddapm.rst256 e.g., from the WM8731 output mixer (wm8731.c)