| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | hda_auto_parser.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * BIOS auto-parser helper functions for HD-audio 36 unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */ 42 const struct auto_pin_cfg *cfg, 45 const struct auto_pin_cfg *cfg, 50 INPUT_PIN_ATTR_INT, /* internal mic/line-in */ 51 INPUT_PIN_ATTR_DOCK, /* docking mic/line-in */ 52 INPUT_PIN_ATTR_NORMAL, /* mic/line-in jack */ 53 INPUT_PIN_ATTR_REAR, /* mic/line-in jack in rear */ 54 INPUT_PIN_ATTR_FRONT, /* mic/line-in jack in front */ [all …]
|
| D | hda_auto_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * BIOS auto-parser helper functions for HD-audio 38 return (int)(a->seq - b->seq); in compare_seq() 55 /* add the found input-pin to the cfg->inputs[] table */ 56 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin() argument 59 if (cfg->num_inputs < AUTO_CFG_MAX_INS) { in add_auto_cfg_input_pin() 60 cfg->inputs[cfg->num_inputs].pin = nid; in add_auto_cfg_input_pin() 61 cfg->inputs[cfg->num_inputs].type = type; in add_auto_cfg_input_pin() 62 cfg->inputs[cfg->num_inputs].has_boost_on_pin = in add_auto_cfg_input_pin() 64 cfg->num_inputs++; in add_auto_cfg_input_pin() [all …]
|
| D | hda_generic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 * snd_hda_gen_spec_init - initialize hda_gen_spec struct 39 snd_array_init(&spec->kctls, sizeof(struct snd_kcontrol_new), 32); in snd_hda_gen_spec_init() 40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init() 41 snd_array_init(&spec->loopback_list, sizeof(struct hda_amp_list), 8); in snd_hda_gen_spec_init() 42 mutex_init(&spec->pcm_mutex); in snd_hda_gen_spec_init() 48 * snd_hda_gen_add_kctl - Add a new kctl_new struct from the template 62 struct snd_kcontrol_new *knew = snd_array_new(&spec->kctls); in snd_hda_gen_add_kctl() 67 knew->name = kstrdup(name, GFP_KERNEL); in snd_hda_gen_add_kctl() 68 else if (knew->name) in snd_hda_gen_add_kctl() [all …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | hda_auto_parser.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * BIOS auto-parser helper functions for HD-audio 38 unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */ 45 const struct auto_pin_cfg *cfg, 48 const struct auto_pin_cfg *cfg, 53 INPUT_PIN_ATTR_INT, /* internal mic/line-in */ 54 INPUT_PIN_ATTR_DOCK, /* docking mic/line-in */ 55 INPUT_PIN_ATTR_NORMAL, /* mic/line-in jack */ 56 INPUT_PIN_ATTR_REAR, /* mic/line-in jack in rear */ 57 INPUT_PIN_ATTR_FRONT, /* mic/line-in jack in front */ [all …]
|
| D | hda_auto_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * BIOS auto-parser helper functions for HD-audio 38 return (int)(a->seq - b->seq); in compare_seq() 55 /* add the found input-pin to the cfg->inputs[] table */ 56 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin() argument 59 if (cfg->num_inputs < AUTO_CFG_MAX_INS) { in add_auto_cfg_input_pin() 60 cfg->inputs[cfg->num_inputs].pin = nid; in add_auto_cfg_input_pin() 61 cfg->inputs[cfg->num_inputs].type = type; in add_auto_cfg_input_pin() 62 cfg->inputs[cfg->num_inputs].has_boost_on_pin = in add_auto_cfg_input_pin() 64 cfg->num_inputs++; in add_auto_cfg_input_pin() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 24 #include "da7219-aad.h" 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 56 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() 71 /* Make sure mic bias is up */ in da7219_aad_btn_det_work() 72 snd_soc_dapm_force_enable_pin(dapm, "Mic Bias"); in da7219_aad_btn_det_work() 84 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work() 86 da7219->micbias_on_event = true; in da7219_aad_btn_det_work() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | da7219.txt | 8 - compatible : Should be "dlg,da7219" 9 - reg: Specifies the I2C slave address 11 - interrupts : IRQ line info for DA7219. 12 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 15 - VDD-supply: VDD power supply for the device 16 - VDDMIC-supply: VDDMIC power supply for the device 17 - VDDIO-supply: VDDIO power supply for the device 22 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if 24 - wakeup-source: Flag to indicate this device can wake system (suspend/resume). 26 - #clock-cells : Should be set to '<1>', two clock sources provided; [all …]
|
| D | wm8962.txt | 7 - compatible : "wlf,wm8962" 9 - reg : the I2C address of the device. 12 - spk-mono: This is a boolean property. If present, the SPK_MONO bit 16 - mic-cfg : Default register value for R48 (Additional Control 4). 19 - gpio-cfg : A list of GPIO configuration register values. The list must 31 gpio-cfg = <
|
| D | wm8903.txt | 7 - compatible : "wlf,wm8903" 9 - reg : the I2C address of the device. 11 - gpio-controller : Indicates this device is a GPIO controller. 13 - #gpio-cells : Should be two. The first cell is the pin number and the 18 - interrupts : The interrupt line the codec is connected to. 20 - micdet-cfg : Default register value for R6 (Mic Bias). If absent, the 23 - micdet-delay : The debounce delay for microphone detection in mS. If 26 - gpio-cfg : A list of GPIO configuration register values. The list must 31 - AVDD-supply : Analog power supply regulator on the AVDD pin. 33 - CPVDD-supply : Charge pump supply regulator on the CPVDD pin. [all …]
|
| /kernel/linux/linux-6.6/sound/pci/vx222/ |
| D | vx222.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 unsigned int regCFG; /* current CFG register */ 23 unsigned int regSELMIC; /* current SELMIC reg. (for VX222 Mic) */ 25 int input_level[2]; /* input level for vx222 mic */ 26 int mic_level; /* mic level for vx222 mic */ 57 /* Constants used to access the CFG register (0x24). */
|
| /kernel/linux/linux-5.10/sound/pci/vx222/ |
| D | vx222.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 unsigned int regCFG; /* current CFG register */ 23 unsigned int regSELMIC; /* current SELMIC reg. (for VX222 Mic) */ 25 int input_level[2]; /* input level for vx222 mic */ 26 int mic_level; /* mic level for vx222 mic */ 57 /* Constants used to access the CFG register (0x24). */
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 24 #include "da7219-aad.h" 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() 70 /* Make sure mic bias is up */ in da7219_aad_btn_det_work() 71 snd_soc_dapm_force_enable_pin(dapm, "Mic Bias"); in da7219_aad_btn_det_work() 83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work() 85 da7219->micbias_on_event = true; in da7219_aad_btn_det_work() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | dialog,da7219.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Rau <David.Rau.opensource@dm.renesas.com> 13 The DA7219 is an ultra low-power audio codec with 14 in-built advanced accessory detection (AAD) for mobile 16 sample rates up to 96 kHz at 24-bit resolution. 28 VDD-supply: 32 VDDMIC-supply: 36 VDDIO-supply: [all …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/boards/ |
| D | bytcht_es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bytcht_es8316.c - ASoc Machine driver for Intel Baytrail/Cherrytrail 7 * Authors: David Yang <yangxiaohua@everest-semi.com>, 29 #include <sound/soc-acpi.h> 30 #include "../atom/sst-atom-controls.h" 31 #include "../common/soc-intel-quirks.h" 33 /* jd-inv + terminating entry */ 56 static int quirk_override = -1; 58 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 77 struct snd_soc_card *card = w->dapm->card; in byt_cht_es8316_speaker_power_event() [all …]
|
| D | bytcr_rt5651.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bytcr_rt5651.c - ASoc Machine driver for Intel Byt CR platform 29 #include <sound/soc-acpi.h> 31 #include "../atom/sst-atom-controls.h" 32 #include "../common/soc-intel-quirks.h" 80 /* jack-detect-source + inv + dmic-en + ovcd-th + -sf + terminating entry */ 93 /* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */ 97 static int quirk_override = -1; 99 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 112 dev_info(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/boards/ |
| D | bytcht_es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bytcht_es8316.c - ASoc Machine driver for Intel Baytrail/Cherrytrail 7 * Authors: David Yang <yangxiaohua@everest-semi.com>, 29 #include <sound/soc-acpi.h> 30 #include "../atom/sst-atom-controls.h" 31 #include "../common/soc-intel-quirks.h" 33 /* jd-inv + terminating entry */ 55 static int quirk_override = -1; 57 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 76 struct snd_soc_card *card = w->dapm->card; in byt_cht_es8316_speaker_power_event() [all …]
|
| D | bytcr_rt5651.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bytcr_rt5651.c - ASoc Machine driver for Intel Byt CR platform 29 #include <sound/soc-acpi.h> 31 #include "../atom/sst-atom-controls.h" 32 #include "../common/soc-intel-quirks.h" 80 /* jack-detect-source + inv + dmic-en + ovcd-th + -sf + terminating entry */ 92 /* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */ 96 static int quirk_override = -1; 98 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 111 dev_info(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | tegra20-plutux.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 20 interrupt-parent = <&gpio>; 23 gpio-controller; 24 #gpio-cells = <2>; 26 micdet-cfg = <0>; 27 micdet-delay = <100>; 28 gpio-cfg = <0xffffffff 37 compatible = "ad,tegra-audio-plutux", [all …]
|
| D | tegra20-tec.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 20 interrupt-parent = <&gpio>; 23 gpio-controller; 24 #gpio-cells = <2>; 26 micdet-cfg = <0>; 27 micdet-delay = <100>; 28 gpio-cfg = <0xffffffff 45 compatible = "ad,tegra-audio-wm8903-tec", [all …]
|
| D | tegra20-medcom-wide.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 7 model = "Avionic Design Medcom-Wide board"; 8 compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20"; 15 stdout-path = "serial0:115200n8"; 35 interrupt-parent = <&gpio>; 38 gpio-controller; 39 #gpio-cells = <2>; 41 micdet-cfg = <0>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/ |
| D | tegra20-tec.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 20 interrupt-parent = <&gpio>; 23 gpio-controller; 24 #gpio-cells = <2>; 26 micdet-cfg = <0>; 27 micdet-delay = <100>; 28 gpio-cfg = <0xffffffff 45 compatible = "ad,tegra-audio-wm8903-tec", [all …]
|
| D | tegra20-plutux.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 20 interrupt-parent = <&gpio>; 23 gpio-controller; 24 #gpio-cells = <2>; 26 micdet-cfg = <0>; 27 micdet-delay = <100>; 28 gpio-cfg = <0xffffffff 37 compatible = "ad,tegra-audio-plutux", [all …]
|
| D | tegra20-medcom-wide.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 7 model = "Avionic Design Medcom-Wide board"; 8 compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20"; 15 stdout-path = "serial0:115200n8"; 35 interrupt-parent = <&gpio>; 38 gpio-controller; 39 #gpio-cells = <2>; 41 micdet-cfg = <0>; [all …]
|
| D | tegra30-asus-tf201.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra30-asus-transformer-common.dtsi" 5 #include "tegra30-asus-lvds-display.dtsi" 19 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 27 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 35 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 43 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 51 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 57 /* Azurewave AW-NH615 BCM4329B1 */ [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8183-kukui-audio-da7219.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 pinctrl-names = "default"; 11 pinctrl-0 = <&da7219_pins>; 14 interrupt-parent = <&pio>; 17 dlg,micbias-lvl = <2600>; 18 dlg,mic-amp-in-sel = "diff"; 19 VDD-supply = <&pp1800_alw>; 20 VDDMIC-supply = <&pp3300_alw>; 21 VDDIO-supply = <&pp1800_alw>; 26 dlg,adc-1bit-rpt = <1>; [all …]
|