Home
last modified time | relevance | path

Searched +full:mic +full:- +full:type +full:- +full:2 (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/linux/Documentation/sound/hd-audio/
H A Dmodels.rst2 HD-Audio Codec-Specific Models
8 3-jack in back and a headphone out
9 3stack-digout
10 3-jack in back, a HP out and a SPDIF out
12 5-jack in back, 2-jack in front
13 5stack-digout
14 5-jack in back, 2-jack in front, a SPDIF out
16 6-jack in back, 2-jack in front
17 6stack-digout
18 6-jack with a SPDIF out
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Ddialog,da7219.yaml1 # 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 …]
H A Dsamsung,midas-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,midas-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sylwester Nawrocki <s.nawrocki@samsung.com>
13 - $ref: sound-card-common.yaml#
17 const: samsung,midas-audio
20 type: object
23 sound-dai:
27 - sound-dai
[all …]
H A Dsamsung,aries-wm8994.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Bakker <xc-racer2@live.ca>
13 - $ref: sound-card-common.yaml#
19 - samsung,aries-wm8994
21 - samsung,fascinate4g-wm8994
24 type: object
27 sound-dai:
[all …]
H A Dti,tlv320adc3xxx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ricard Wanderlof <ricardw@axis.com>
18 - $ref: dai-common.yaml#
23 - ti,tlv320adc3001
24 - ti,tlv320adc3101
30 '#sound-dai-cells':
33 '#gpio-cells':
34 const: 2
[all …]
H A Dti,tlv320adcx140.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter
11 - Andrew Davis <afd@ti.com>
14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital
15 PDM microphones recording), high-performance audio, analog-to-digital
16 converter (ADC) with analog inputs supporting up to 2V RMS. The TLV320ADCX140
28 - ti,tlv320adc3140
29 - ti,tlv320adc5140
[all …]
H A Dgoogle,sc7280-herobrine.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/google,sc7280-herobrine.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Google SC7280-Herobrine ASoC sound card driver
10 - Judy Hsiao <judyhsiao@chromium.org>
16 - $ref: sound-card-common.yaml#
21 - google,sc7280-herobrine
23 "#address-cells":
26 "#size-cells":
[all …]
H A Dqcom,apq8016-sbc-sndcard.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,apq8016-sbc-sndcard.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11 - Stephan Gerhold <stephan@gerhold.net>
16 - qcom,apq8016-sbc-sndcard
17 - qcom,msm8916-qdsp6-sndcard
21 - description: Microphone I/O mux register address
22 - description: Speaker I/O mux register address
[all …]
H A Dnvidia,tegra-audio-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
16 - description: PLL A clock
17 - description: PLL A OUT0 clock
18 - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk
20 clock-names:
[all …]
H A Dmt8186-mt6366-da7219-max98357.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-da7219-max98357.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
16 - $ref: sound-card-common.yaml#
21 - mediatek,mt8186-mt6366-da7219-max98357-sound
23 audio-routing:
24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
31 minItems: 2
[all …]
H A Drealtek,rt5677.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Animesh Agarwal <animeshagarwal28@gmail.com>
30 - $ref: dai-common.yaml#
42 gpio-controller: true
44 '#gpio-cells':
45 const: 2
47 realtek,pow-ldo2-gpio:
51 realtek,reset-gpio:
[all …]
H A Deverest,es8326.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Yang <yangxiaohua@everest-semi.com>
21 - description: clock for master clock (MCLK)
23 clock-names:
25 - const: mclk
31 "#sound-dai-cells":
34 everest,jack-pol:
38 Bit(2) decides whether the button on the headset is inverted.
[all …]
/linux/sound/pci/hda/
H A Dpatch_conexant.c1 // 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 …]
H A Dhda_auto_parser.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * BIOS auto-parser helper functions for HD-audio
36 int type; member
38 unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */
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 */
75 hda_nid_t dig_out_pins[2];
[all …]
H A Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
39 /* extra amp-initialization sequence types */
148 struct alc_spec *spec = codec->spec; in coef_mutex_lock()
151 mutex_lock(&spec->coef_mutex); in coef_mutex_lock()
156 struct alc_spec *spec = codec->spec; in coef_mutex_unlock()
158 mutex_unlock(&spec->coef_mutex); in coef_mutex_unlock()
210 if (val != -1) in __alc_update_coefex_idx()
230 struct alc_spec *spec = codec->spec; in alc_get_coef0()
232 if (!spec->coef0) in alc_get_coef0()
233 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0()
[all …]
H A Dhda_auto_parser.c1 // 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 */
57 hda_nid_t nid, int type) 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 …]
/linux/drivers/xen/
H A Dmcelog.c11 * modify it under the terms of the GNU General Public License version 2
79 (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { in xen_mce_chrdev_open()
82 return -EBUSY; in xen_mce_chrdev_open()
85 if (file->f_flags & O_EXCL) in xen_mce_chrdev_open()
98 xen_mce_chrdev_open_count--; in xen_mce_chrdev_release()
118 err = -EINVAL; in xen_mce_chrdev_read()
134 err = -EFAULT; in xen_mce_chrdev_read()
139 return err ? err : buf - ubuf; in xen_mce_chrdev_read()
158 return -EPERM; in xen_mce_chrdev_ioctl()
175 return -ENOTTY; in xen_mce_chrdev_ioctl()
[all …]
/linux/sound/soc/codecs/
H A Dssm2602.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 enum ssm2602_type type; member
40 * using 2 wire for device control, so we cache them instead.
71 "Line", "Mic",
77 SOC_ENUM_SINGLE(SSM2602_APANA, 2, ARRAY_SIZE(ssm2602_input_select),
85 48, 127, TLV_DB_SCALE_ITEM(-7400, 100, 0)
88 static const DECLARE_TLV_DB_SCALE(ssm260x_inpga_tlv, -3450, 150, 0);
89 static const DECLARE_TLV_DB_SCALE(ssm260x_sidetone_tlv, -1500, 300, 0);
99 SOC_ENUM("Playback De-emphasis", ssm2602_enum[1]),
110 SOC_SINGLE("Mic Boost (+20dB)", SSM2602_APANA, 0, 1, 0),
[all …]
H A Dab8500-codec.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
8 * for ST-Ericsson.
14 * for ST-Ericsson.
29 #include <linux/mfd/abx500/ab8500-sysctrl.h>
30 #include <linux/mfd/abx500/ab8500-codec.h>
39 #include <sound/soc-dapm.h>
42 #include "ab8500-codec.h"
56 /* Nr of FIR/IIR-coeff banks in ANC-block */
57 #define AB8500_NR_OF_ANC_COEFF_BANKS 2
[all …]
/linux/include/linux/mfd/arizona/
H A Dpdata.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <dt-bindings/mfd/arizona.h>
12 #include <linux/regulator/arizona-ldo1.h>
13 #include <linux/regulator/arizona-micsupp.h>
36 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */
37 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */
38 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */
51 #define ARIZONA_HAP_ACT_LRA 2
53 #define ARIZONA_MAX_PDM_SPK 2
120 /** GPIO used for mic isolation with HPDET */
[all …]
/linux/sound/pci/vx222/
H A Dvx222.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Digigram VX222 V2/Mic PCI soundcards
21 MODULE_DESCRIPTION("Digigram VX222 V2/Mic");
24 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
27 static bool mic[SNDRV_CARDS]; /* microphone */ variable
36 module_param_array(mic, bool, NULL, 0444);
37 MODULE_PARM_DESC(mic, "Enable Microphone.");
61 static const DECLARE_TLV_DB_SCALE(db_scale_old_vol, -11350, 50, 0);
62 static const DECLARE_TLV_DB_SCALE(db_scale_akm, -7350, 50, 0);
67 .type = VX_TYPE_BOARD,
[all …]
/linux/sound/pci/pcxhr/
H A Dpcxhr.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
61 /* card access with 1 mem bar and 2 io bar's */
92 enum pcxhr_clock_type use_clock_type; /* clock type selected by mixer */
93 enum pcxhr_clock_type cur_clock_type; /* current clock type synced */
161 struct pcxhr_pipe capture_pipe[2]; /* 1 stereo or 2 mono pipes */
164 struct pcxhr_stream capture_stream[2]; /* 1 stereo or 2 mono streams */
168 int analog_playback_active[2]; /* Mixer : Master Playback !mute */
169 int analog_playback_volume[2]; /* Mixer : Master Playback Volume */
170 int analog_capture_volume[2]; /* Mixer : Master Capture Volume */
171 int digital_playback_active[PCXHR_PLAYBACK_STREAMS][2];
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-n710x.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "exynos4412-midas.dtsi"
7 model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412";
8 chassis-type = "handset";
17 cam_vdda_reg: voltage-regulator-10 {
18 compatible = "regulator-fixed";
19 regulator-name = "CAM_SENSOR_CORE_1.2V";
20 regulator-min-microvolt = <1200000>;
21 regulator-max-microvolt = <1200000>;
[all …]
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3740-0002+p3701-0008.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/sound/rt5640.h>
7 #include "tegra234-p3701-0008.dtsi"
11 compatible = "nvidia,p3740-0002+p3701-0008", "nvidia,p3701-0008", "nvidia,tegra234";
19 stdout-path = "serial0:115200n8";
29 dai-format = "i2s";
30 remote-endpoint = <&rt5640_ep>;
[all …]
/linux/sound/isa/sb/
H A Dsb_mixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 dev_dbg(chip->card->dev, "mixer_write 0x%x 0x%x\n", reg, data); in snd_sbmixer_write()
37 dev_dbg(chip->card->dev, "mixer_read 0x%x 0x%x\n", reg, result); in snd_sbmixer_read()
48 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single()
50 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_sbmixer_info_single()
51 uinfo->count = 1; in snd_sbmixer_info_single()
52 uinfo->value.integer.min = 0; in snd_sbmixer_info_single()
53 uinfo->value.integer.max = mask; in snd_sbmixer_info_single()
61 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_single()
62 int shift = (kcontrol->private_value >> 16) & 0xff; in snd_sbmixer_get_single()
[all …]

12345678910>>...17