| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | wm8731.c | 3 * wm8731.c -- WM8731 ALSA SoC Audio driver 33 #include "wm8731.h" 59 * wm8731 register cache 90 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_set_deemph() local 96 if (wm8731->deemph) { in wm8731_set_deemph() 99 if (abs(wm8731_deemph[i] - wm8731->playback_fs) < in wm8731_set_deemph() 100 abs(wm8731_deemph[best] - wm8731->playback_fs)) in wm8731_set_deemph() 120 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_get_deemph() local 122 ucontrol->value.integer.value[0] = wm8731->deemph; in wm8731_get_deemph() 131 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_put_deemph() local [all …]
|
| D | wm8731.h | 3 * wm8731.h -- WM8731 Soc Audio driver 15 /* WM8731 register space */
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | wm8731.c | 3 * wm8731.c -- WM8731 ALSA SoC Audio driver 29 #include "wm8731.h" 39 * wm8731 register cache 70 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 [all …]
|
| D | wm8731-spi.c | 3 * wm8731.c -- WM8731 ALSA SoC Audio driver 17 #include "wm8731.h" 20 { .compatible = "wlf,wm8731", }, 27 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() [all …]
|
| D | wm8731-i2c.c | 3 * wm8731-i2c.c -- WM8731 ALSA SoC Audio driver I2C code 17 #include "wm8731.h" 21 { .compatible = "wlf,wm8731", }, 28 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() [all …]
|
| D | wm8731.h | 3 * wm8731.h -- WM8731 Soc Audio driver 22 /* WM8731 register space */ 61 int wm8731_init(struct device *dev, struct wm8731_priv *wm8731);
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | atmel-sam9x5-wm8731-audio.txt | 1 * Atmel at91sam9x5ek wm8731 audio complex 4 - compatible: "atmel,sam9x5-wm8731-audio" 7 - atmel,audio-codec: The phandle of the WM8731 audio codec 18 wm8731 pins: 19 cf Documentation/devicetree/bindings/sound/wlf,wm8731.yaml 23 compatible = "atmel,sam9x5-wm8731-audio"; 25 atmel,model = "wm8731 @ AT91SAM9X5EK"; 34 atmel,audio-codec = <&wm8731>;
|
| D | atmel-at91sam9g20ek-wm8731-audio.txt | 1 * Atmel at91sam9g20ek wm8731 audio complex 4 - compatible: "atmel,at91sam9g20ek-wm8731-audio" 8 - atmel,audio-codec: The phandle of the WM8731 audio codec 14 compatible = "atmel,at91sam9g20ek-wm8731-audio"; 18 atmel,model = "wm8731 @ AT91SAMG20EK"; 25 atmel,audio-codec = <&wm8731>;
|
| D | wlf,wm8731.yaml | 4 $id: http://devicetree.org/schemas/sound/wlf,wm8731.yaml# 7 title: Wolfson Microelectromics WM8731 audio CODEC 13 Wolfson Microelectronics WM8731 audio CODEC 27 - wlf,wm8731 75 compatible = "wlf,wm8731"; 91 compatible = "wlf,wm8731";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | atmel-sam9x5-wm8731-audio.txt | 1 * Atmel at91sam9x5ek wm8731 audio complex 4 - compatible: "atmel,sam9x5-wm8731-audio" 7 - atmel,audio-codec: The phandle of the WM8731 audio codec 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>;
|
| D | atmel-at91sam9g20ek-wm8731-audio.txt | 1 * Atmel at91sam9g20ek wm8731 audio complex 4 - compatible: "atmel,at91sam9g20ek-wm8731-audio" 8 - atmel,audio-codec: The phandle of the WM8731 audio codec 14 compatible = "atmel,at91sam9g20ek-wm8731-audio"; 18 atmel,model = "wm8731 @ AT91SAMG20EK"; 25 atmel,audio-codec = <&wm8731>;
|
| D | wm8731.txt | 1 WM8731 audio CODEC 8 - compatible : "wlf,wm8731" 15 wm8731: codec@1a { 16 compatible = "wlf,wm8731";
|
| /kernel/linux/linux-5.10/sound/soc/au1x/ |
| D | db1200.c | 22 #include "../codecs/wm8731.h" 100 /* WM8731 has its own 12MHz crystal */ in db1200_i2s_startup() 113 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")), 117 .name = "WM8731", 118 .stream_name = "WM8731 PCM", 134 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")), 138 .name = "WM8731", 139 .stream_name = "WM8731 PCM", 155 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")), 159 .name = "WM8731", [all …]
|
| /kernel/linux/linux-6.6/sound/soc/au1x/ |
| D | db1200.c | 22 #include "../codecs/wm8731.h" 101 /* WM8731 has its own 12MHz crystal */ in db1200_i2s_startup() 114 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")), 118 .name = "WM8731", 119 .stream_name = "WM8731 PCM", 135 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")), 139 .name = "WM8731", 140 .stream_name = "WM8731 PCM", 156 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")), 160 .name = "WM8731", [all …]
|
| /kernel/linux/linux-5.10/sound/soc/atmel/ |
| D | sam9x5_wm8731.c | 4 * that are using WM8731 as codec. 26 #include "../codecs/wm8731.h" 32 #define DRV_NAME "sam9x5-snd-wm8731" 39 * Logic for a wm8731 as connected on a at91sam9x5ek based board. 53 dev_err(dev, "Failed to set WM8731 SYSCLK: %d\n", ret); in sam9x5_wm8731_init() 113 dai->name = "WM8731"; in sam9x5_wm8731_driver_probe() 114 dai->stream_name = "WM8731 PCM"; in sam9x5_wm8731_driver_probe() 115 dai->codecs->dai_name = "wm8731-hifi"; in sam9x5_wm8731_driver_probe() 190 { .compatible = "atmel,sam9x5-wm8731-audio", }, 208 MODULE_DESCRIPTION("ALSA SoC machine driver for AT91SAM9x5 - WM8731");
|
| D | mikroe-proto.c | 3 * ASoC driver for PROTO AudioCODEC (with a WM8731) 17 #include "../codecs/wm8731.h" 30 dev_err(card->dev, "Failed to set WM8731 SYSCLK: %d\n", in snd_proto_init() 48 /* mic is connected to Mic Jack, with WM8731 Mic Bias */ 103 dai->name = "WM8731"; in snd_proto_probe() 104 dai->stream_name = "WM8731 HiFi"; in snd_proto_probe() 105 dai->codecs->dai_name = "wm8731-hifi"; in snd_proto_probe() 174 MODULE_DESCRIPTION("ASoC Driver for PROTO board (WM8731)");
|
| D | sam9g20_wm8731.c | 36 #include "../codecs/wm8731.h" 89 /* mic is connected to Mic Jack, with WM8731 Mic Bias */ 95 * Logic for a wm8731 as connected on a at91sam9g20ek board. 108 dev_err(dev, "Failed to set WM8731 SYSCLK: %d\n", ret); in at91sam9g20ek_wm8731_init() 121 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")), 125 .name = "WM8731", 126 .stream_name = "WM8731 PCM", 255 { .compatible = "atmel,at91sam9g20ek-wm8731-audio", },
|
| D | Kconfig | 43 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" 49 Say Y if you want to add support for SoC audio on WM8731-based 63 tristate "SoC Audio support for WM8731-based at91sam9x5 board" 70 at91sam9x5 based board that is using WM8731 codec. 116 Board. This board contains the WM8731 codec, which can be configured
|
| D | Makefile | 26 snd-soc-sam9g20-wm8731-objs := sam9g20_wm8731.o 28 snd-soc-sam9x5-wm8731-objs := sam9x5_wm8731.o 34 obj-$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731) += snd-soc-sam9g20-wm8731.o 36 obj-$(CONFIG_SND_AT91_SOC_SAM9X5_WM8731) += snd-soc-sam9x5-wm8731.o
|
| /kernel/linux/linux-6.6/sound/soc/atmel/ |
| D | sam9x5_wm8731.c | 4 * that are using WM8731 as codec. 26 #include "../codecs/wm8731.h" 32 #define DRV_NAME "sam9x5-snd-wm8731" 39 * Logic for a wm8731 as connected on a at91sam9x5ek based board. 53 dev_err(dev, "Failed to set WM8731 SYSCLK: %d\n", ret); in sam9x5_wm8731_init() 113 dai->name = "WM8731"; in sam9x5_wm8731_driver_probe() 114 dai->stream_name = "WM8731 PCM"; in sam9x5_wm8731_driver_probe() 115 dai->codecs->dai_name = "wm8731-hifi"; in sam9x5_wm8731_driver_probe() 188 { .compatible = "atmel,sam9x5-wm8731-audio", }, 206 MODULE_DESCRIPTION("ALSA SoC machine driver for AT91SAM9x5 - WM8731");
|
| D | sam9g20_wm8731.c | 35 #include "../codecs/wm8731.h" 59 /* mic is connected to Mic Jack, with WM8731 Mic Bias */ 65 * Logic for a wm8731 as connected on a at91sam9g20ek board. 78 dev_err(dev, "Failed to set WM8731 SYSCLK: %d\n", ret); in at91sam9g20ek_wm8731_init() 91 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")), 95 .name = "WM8731", 96 .stream_name = "WM8731 PCM", 198 { .compatible = "atmel,at91sam9g20ek-wm8731-audio", },
|
| D | mikroe-proto.c | 3 * ASoC driver for PROTO AudioCODEC (with a WM8731) 17 #include "../codecs/wm8731.h" 30 dev_err(card->dev, "Failed to set WM8731 SYSCLK: %d\n", in snd_proto_init() 48 /* mic is connected to Mic Jack, with WM8731 Mic Bias */ 103 dai->name = "WM8731"; in snd_proto_probe() 104 dai->stream_name = "WM8731 HiFi"; in snd_proto_probe() 105 dai->codecs->dai_name = "wm8731-hifi"; in snd_proto_probe() 181 MODULE_DESCRIPTION("ASoC Driver for PROTO board (WM8731)");
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | at91sam9x5ek.dtsi | 20 compatible = "atmel,sam9x5-wm8731-audio"; 22 atmel,model = "wm8731 @ AT91SAM9X5EK"; 31 atmel,audio-codec = <&wm8731>; 48 wm8731: wm8731@1a { label 49 compatible = "wm8731";
|
| D | at91sam9g20ek_common.dtsi | 228 wm8731: wm8731@1b { label 229 compatible = "wm8731"; 259 compatible = "atmel,at91sam9g20ek-wm8731-audio"; 263 atmel,model = "wm8731 @ AT91SAMG20EK"; 270 atmel,audio-codec = <&wm8731>;
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| D | at91sam9x5ek.dtsi | 20 compatible = "atmel,sam9x5-wm8731-audio"; 22 atmel,model = "wm8731 @ AT91SAM9X5EK"; 31 atmel,audio-codec = <&wm8731>; 48 wm8731: wm8731@1a { label 49 compatible = "wm8731";
|