| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | wlf,wm8960.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 22 clock-names: 24 - const: mclk 26 '#sound-dai-cells': 29 AVDD-supply: 32 DBVDD-supply: 35 DCVDD-supply: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | wm8960.txt | 7 - compatible : "wlf,wm8960" 9 - reg : the I2C address of the device. 12 - wlf,shared-lrclk: This is a boolean property. If present, the LRCM bit of 18 DACLRC pin. If shared-lrclk is present, no need to enable DAC for captrue. 20 - wlf,capless: This is a boolean property. If present, OUT3 pin will be 24 - wlf,hp-cfg: A list of headphone jack detect configuration register values. 26 hp-cfg[0]: HPSEL[1:0] of R48 (Additional Control 4). 27 hp-cfg[1]: {HPSWEN:HPSWPOL} of R24 (Additional Control 2). 28 hp-cfg[2]: {TOCLKSEL:TOEN} of R23 (Additional Control 1). 30 - wlf,gpio-cfg: A list of GPIO configuration register values. [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | ab8500-ext.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 11 * ab8500-ext supports the following regulators: 12 * - VextSupply3 35 REGULATOR_SUPPLY("vcc", "gpio-keys.0"), 37 REGULATOR_SUPPLY("vcc", "2-0029"), 39 REGULATOR_SUPPLY("vdd", "2-0018"), 41 REGULATOR_SUPPLY("vdd", "2-0019"), 43 REGULATOR_SUPPLY("vdd", "2-001e"), 45 REGULATOR_SUPPLY("avdd", "3-005c"), [all …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| 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 …]
|
| 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 | patch_conexant.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Tobin Davis <tdavis@dsl-only.net> 63 spec->gen.beep_nid = nid; in set_beep_amp() 65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp() 68 return -ENOMEM; in set_beep_amp() 69 knew->private_value = beep_amp; in set_beep_amp() 76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() 95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd() 103 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd() 104 if (spec->num_eapds >= ARRAY_SIZE(spec->eapds)) in cx_auto_parse_eapd() [all …]
|
| D | hda_local.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * snd_hda_ctl_add() takes the lower-bit subdev value as a valid NID. 83 /* no digital beep - just the standard one */ 118 snd_hdac_regmap_get_amp(&(codec)->core, nid, ch, dir, idx) 141 #define snd_hda_regmap_sync(codec) snd_hdac_regmap_sync(&(codec)->core) 204 * Multi-channel / digital-out PCM helper 215 hda_nid_t hp_nid; /* optional DAC for HP, 0 when not exists */ 277 * Fix-up pin default configurations and add default verbs 334 #define HDA_FIXUP_ID_NOT_SET -1 335 #define HDA_FIXUP_ID_NO_FIXUP -2 [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-6.6/sound/pci/hda/ |
| 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 …]
|
| 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 | patch_conexant.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Tobin Davis <tdavis@dsl-only.net> 63 spec->gen.beep_nid = nid; in set_beep_amp() 65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp() 68 return -ENOMEM; in set_beep_amp() 69 knew->private_value = beep_amp; in set_beep_amp() 76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep() 95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd() 103 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd() 104 if (spec->num_eapds >= ARRAY_SIZE(spec->eapds)) in cx_auto_parse_eapd() [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_local.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * snd_hda_ctl_add() takes the lower-bit subdev value as a valid NID. 83 /* no digital beep - just the standard one */ 118 snd_hdac_regmap_get_amp(&(codec)->core, nid, ch, dir, idx) 140 #define snd_hda_regmap_sync(codec) snd_hdac_regmap_sync(&(codec)->core) 195 * Multi-channel / digital-out PCM helper 206 hda_nid_t hp_nid; /* optional DAC for HP, 0 when not exists */ 268 * Fix-up pin default configurations and add default verbs 351 #define HDA_FIXUP_ID_NOT_SET -1 352 #define HDA_FIXUP_ID_NO_FIXUP -2 [all …]
|
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| D | vio.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2003-2005 IBM Corp. 29 type = dev->type; in vio_match_device() 30 compat = dev->compat; in vio_match_device() 31 len = dev->compat_len; in vio_match_device() 33 while (matches->type[0] || matches->compat[0]) { in vio_match_device() 35 if (matches->type[0]) in vio_match_device() 36 match &= !strcmp(matches->type, type); in vio_match_device() 38 if (matches->compat[0]) { in vio_match_device() 40 of_find_in_proplist(compat, matches->compat, len); in vio_match_device() [all …]
|
| D | mdesc.c | 1 // SPDX-License-Identifier: GPL-2.0 26 /* Unlike the OBP device tree, the machine description is a full-on 107 {"virtual-device-port", get_vdev_port_node_info, 109 {"domain-services-port", get_ds_port_node_info, 149 static void mdesc_handle_init(struct mdesc_handle *hp, in mdesc_handle_init() argument 153 BUG_ON(((unsigned long)&hp->mdesc) & (16UL - 1)); in mdesc_handle_init() 155 memset(hp, 0, handle_size); in mdesc_handle_init() 156 INIT_LIST_HEAD(&hp->list); in mdesc_handle_init() 157 hp->self_base = base; in mdesc_handle_init() 158 refcount_set(&hp->refcnt, 1); in mdesc_handle_init() [all …]
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| D | vio.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2003-2005 IBM Corp. 29 type = dev->type; in vio_match_device() 30 compat = dev->compat; in vio_match_device() 31 len = dev->compat_len; in vio_match_device() 33 while (matches->type[0] || matches->compat[0]) { in vio_match_device() 35 if (matches->type[0]) in vio_match_device() 36 match &= !strcmp(matches->type, type); in vio_match_device() 38 if (matches->compat[0]) { in vio_match_device() 40 of_find_in_proplist(compat, matches->compat, len); in vio_match_device() [all …]
|
| D | mdesc.c | 1 // SPDX-License-Identifier: GPL-2.0 26 /* Unlike the OBP device tree, the machine description is a full-on 107 {"virtual-device-port", get_vdev_port_node_info, 109 {"domain-services-port", get_ds_port_node_info, 149 static void mdesc_handle_init(struct mdesc_handle *hp, in mdesc_handle_init() argument 153 BUG_ON(((unsigned long)&hp->mdesc) & (16UL - 1)); in mdesc_handle_init() 155 memset(hp, 0, handle_size); in mdesc_handle_init() 156 INIT_LIST_HEAD(&hp->list); in mdesc_handle_init() 157 hp->self_base = base; in mdesc_handle_init() 158 refcount_set(&hp->refcnt, 1); in mdesc_handle_init() [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/kernel/ |
| D | irq_ia64.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1998-2001 Hewlett-Packard Co 6 * Stephane Eranian <eranian@hpl.hp.com> 7 * David Mosberger-Tang <davidm@hpl.hp.com> 61 * Legacy IRQ to IA-64 vector translation table. 73 [0 ... NR_IRQS - 1] = { 80 [0 ... IA64_NUM_VECTORS - 1] = -1 84 [0 ... IA64_NUM_VECTORS - 1] = CPU_MASK_NONE 88 [0 ... NR_IRQS -1] = IRQ_UNUSED 98 return -ENOSPC; in find_unassigned_irq() [all …]
|
| /kernel/linux/linux-6.6/arch/ia64/kernel/ |
| D | irq_ia64.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1998-2001 Hewlett-Packard Co 6 * Stephane Eranian <eranian@hpl.hp.com> 7 * David Mosberger-Tang <davidm@hpl.hp.com> 61 * Legacy IRQ to IA-64 vector translation table. 73 [0 ... NR_IRQS - 1] = { 80 [0 ... IA64_NUM_VECTORS - 1] = -1 84 [0 ... IA64_NUM_VECTORS - 1] = CPU_MASK_NONE 88 [0 ... NR_IRQS -1] = IRQ_UNUSED 98 return -ENOSPC; in find_unassigned_irq() [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 …]
|
| /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() 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() 92 if (da7219_aad->micbias_pulse_lvl && da7219_aad->micbias_pulse_time) { in da7219_aad_btn_det_work() 97 da7219_aad->micbias_pulse_lvl); in da7219_aad_btn_det_work() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/boards/ |
| D | bytcr_rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * byt_cr_dpcm_rt5640.c - ASoc Machine driver for Intel Byt CR platform 30 #include <sound/soc-acpi.h> 31 #include <dt-bindings/sound/rt5640.h> 33 #include "../atom/sst-atom-controls.h" 34 #include "../common/soc-intel-quirks.h" 36 #define BYT_RT5640_FALLBACK_CODEC_DEV_NAME "i2c-rt5640" 77 #define BYT_RT5640_DIFF_MIC BIT(18) /* default is single-ended */ 98 /* in-diff or dmic-pin + jdsrc + ovcd-th + -sf + jd-inv + terminating entry */ 112 static int quirk_override = -1; [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 …]
|