/linux/Documentation/sound/hd-audio/ |
H A D | models.rst | 2 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 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. 23 maxItems: 1 26 maxItems: 1 28 VDD-supply: [all …]
|
H A D | samsung,midas-audio.yaml | 1 # 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: 24 maxItems: 1 [all …]
|
H A D | qcom,apq8016-sbc-sndcard.yaml | 1 # 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 D | samsung,aries-wm8994.yaml | 1 # 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 D | google,sc7280-herobrine.yaml | 1 # 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": 24 const: 1 [all …]
|
H A D | ti,tlv320adc3xxx.yaml | 1 # 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 27 maxItems: 1 30 '#sound-dai-cells': 33 '#gpio-cells': [all …]
|
H A D | nvidia,tegra-audio-common.yaml | 1 # 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 D | ti,tlv320adcx140.yaml | 1 # 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 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 30 - ti,tlv320adc6140 [all …]
|
H A D | mt8186-mt6366-da7219-max98357.yaml | 1 # 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 35 - HDMI1 [all …]
|
H A D | realtek,rt5677.yaml | 1 # 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# 37 maxItems: 1 40 maxItems: 1 42 gpio-controller: true 44 '#gpio-cells': 47 realtek,pow-ldo2-gpio: [all …]
|
/linux/sound/pci/hda/ |
H A D | patch_conexant.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Tobin Davis <tdavis@dsl-only.net> 52 HDA_CODEC_VOLUME_MONO("Beep Playback Volume", 0, 1, 0, HDA_OUTPUT), 53 HDA_CODEC_MUTE_BEEP_MONO("Beep Playback Switch", 0, 1, 0, HDA_OUTPUT), 60 unsigned int beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir); in set_beep_amp() 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() [all …]
|
H A D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 39 /* extra amp-initialization sequence types */ 70 unsigned int enable_pcbeep:1; 71 unsigned int platform_type:1; 72 unsigned int swap:1; 73 unsigned int override:1; 74 unsigned int fixup:1; /* Means that this sku is set by driver, not read from hw */ 121 unsigned int has_alc5505_dsp:1; 122 unsigned int no_depop_delay:1; 123 unsigned int done_hp_init:1; [all …]
|
H A D | hda_auto_parser.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * BIOS auto-parser helper functions for HD-audio 36 int type; member 37 unsigned int is_headset_mic:1; 38 unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */ 39 unsigned int has_boost_on_pin:1; 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 */ [all …]
|
H A D | hda_auto_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * BIOS auto-parser helper functions for HD-audio 24 return 1; in is_in_nid_list() 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() [all …]
|
/linux/drivers/xen/ |
H A D | mcelog.c | 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() 86 xen_mce_chrdev_open_exclu = 1; 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/pci/vx222/ |
H A D | vx222.c | 1 // 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/pcmcia/vx/ |
H A D | vxp_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * VX-pocket mixer 19 * mic level control (for VXPocket) 23 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in vx_mic_level_info() 24 uinfo->count = 1; in vx_mic_level_info() 25 uinfo->value.integer.min = 0; in vx_mic_level_info() 26 uinfo->value.integer.max = MIC_LEVEL_MAX; in vx_mic_level_info() 34 ucontrol->value.integer.value[0] = chip->mic_level; in vx_mic_level_get() 42 unsigned int val = ucontrol->value.integer.value[0]; in vx_mic_level_put() 45 return -EINVAL; in vx_mic_level_put() [all …]
|
/linux/sound/soc/codecs/ |
H A D | ssm2602.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 enum ssm2602_type type; member 71 "Line", "Mic", 79 SOC_ENUM_SINGLE(SSM2602_APDIGI, 1, ARRAY_SIZE(ssm2602_deemph), 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); 94 SOC_DOUBLE_R("Capture Switch", SSM2602_LINVOL, SSM2602_RINVOL, 7, 1, 1), 96 SOC_SINGLE("ADC High Pass Filter Switch", SSM2602_APDIGI, 0, 1, 1), 97 SOC_SINGLE("Store DC Offset Switch", SSM2602_APDIGI, 4, 1, 0), [all …]
|
H A D | ab8500-codec.c | 1 // 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 */ 84 SID_APPLY_FIR = 1, [all …]
|
H A D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio() 61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio() 79 stage = up ? i : MT6357_HPLOUT_STG_CTRL_VAUDP15_MAX - i; in hp_main_output_ramp() 80 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp() [all …]
|
/linux/include/linux/mfd/arizona/ |
H A D | pdata.h | 1 /* 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> 17 #define ARIZONA_GPN_DIR_WIDTH 1 /* GPN_DIR */ 20 #define ARIZONA_GPN_PU_WIDTH 1 /* GPN_PU */ 23 #define ARIZONA_GPN_PD_WIDTH 1 /* GPN_PD */ 26 #define ARIZONA_GPN_LVL_WIDTH 1 /* GPN_LVL */ 29 #define ARIZONA_GPN_POL_WIDTH 1 /* GPN_POL */ 32 #define ARIZONA_GPN_OP_CFG_WIDTH 1 /* GPN_OP_CFG */ [all …]
|
/linux/sound/pci/cs5535audio/ |
H A D | cs5535audio_olpc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * OLPC XO-1 additional sound features 6 * Copyright © 2007-2008 Andres Salomon <dilinger@debian.org> 17 #define DRV_NAME "cs5535audio-olpc" 33 1 << AC97_AD_HPFD_SHIFT, on << AC97_AD_HPFD_SHIFT); in olpc_analog_input() 35 dev_err(ac97->bus->card->dev, in olpc_analog_input() 36 "setting High Pass Filter - %d\n", err); in olpc_analog_input() 45 * OLPC XO-1's V_REFOUT is a mic bias enable. 54 on = on ? 0 : 1; in olpc_mic_bias() 56 1 << AC97_AD_VREFD_SHIFT, on << AC97_AD_VREFD_SHIFT); in olpc_mic_bias() [all …]
|
/linux/sound/pci/pcxhr/ |
H A D | pcxhr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 61 /* card access with 1 mem bar and 2 io bar's */ 82 unsigned int is_hr_stereo:1; 83 unsigned int board_has_aes1:1; /* if 1 board has AES1 plug and SRC */ 84 unsigned int board_has_analog:1; /* if 0 the board is digital only */ 85 unsigned int board_has_mic:1; /* if 1 the board has microphone input */ 86 unsigned int board_aes_in_192k:1;/* if 1 the aes input plugs do support 192kHz */ 87 unsigned int mono_capture:1; /* if 1 the board does mono capture */ 88 unsigned int capture_ltc:1; /* if 1 the board captures LTC input */ 92 enum pcxhr_clock_type use_clock_type; /* clock type selected by mixer */ [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-n710x.dts | 1 // 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 …]
|