/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/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_OUTPU [all...] |
H A D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 /* extra amp-initialization sequence types */ 147 struct alc_spec *spec = codec->spec; in coef_mutex_lock() 150 mutex_lock(&spec->coef_mutex); in coef_mutex_lock() 155 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() 157 mutex_unlock(&spec->coef_mute in coef_mutex_unlock() 624 alc_auto_init_amp(struct hda_codec * codec,int type) alc_auto_init_amp() argument [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 38 unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */ 52 INPUT_PIN_ATTR_INT, /* internal mic/line-in */ 53 INPUT_PIN_ATTR_DOCK, /* docking mic/line-in */ 54 INPUT_PIN_ATTR_NORMAL, /* mic/line-in jack */ 55 INPUT_PIN_ATTR_REAR, /* mic/line-in jack in rear */ 56 INPUT_PIN_ATTR_FRONT, /* mic/line-in jack in front */ 81 /* bit-flags for snd_hda_parse_pin_def_config() behavior */ [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. 28 VDD-supply: 32 VDDMIC-supply: 36 VDDIO-supply: [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 | 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": 26 "#size-cells": [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 30 '#sound-dai-cells': 31 const: 0 33 '#gpio-cells': [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 | 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 …]
|
/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() 98 xen_mce_chrdev_open_count--; in xen_mce_chrdev_release() 99 xen_mce_chrdev_open_exclu = 0; in xen_mce_chrdev_release() 103 return 0; in xen_mce_chrdev_release() 118 err = -EINVAL; in xen_mce_chrdev_read() 119 if (*off != 0 || usize < XEN_MCE_LOG_LEN*sizeof(struct xen_mce)) in xen_mce_chrdev_read() 122 err = 0; in xen_mce_chrdev_read() 123 for (i = 0; i < num; i++) { in xen_mce_chrdev_read() [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."); 50 { 0x10b5, 0x9050, 0x1369, PCI_ANY_ID, 0, 0, VX_PCI_VX222_OLD, }, /* PLX */ 51 { 0x10b5, 0x9030, 0x1369, PCI_ANY_ID, 0, 0, VX_PCI_VX222_NEW, }, /* PLX */ 52 { 0, } [all …]
|
/linux/sound/pcmcia/vx/ |
H A D | vxp_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * VX-pocket mixer 15 #define MIC_LEVEL_MIN 0 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() 27 return 0; in vx_mic_level_info() 34 ucontrol->value.integer.value[0] = chip->mic_level; in vx_mic_level_get() [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 44 { .reg = 0x00, .def = 0x0097 }, 45 { .reg = 0x01, .def = 0x0097 }, 46 { .reg = 0x02, .def = 0x0079 }, 47 { .reg = 0x03, .def = 0x0079 }, 48 { .reg = 0x04, .def = 0x000a }, 49 { .reg = 0x05, .def = 0x0008 }, 50 { .reg = 0x06, .def = 0x009f }, 51 { .reg = 0x07, .def = 0x000a }, [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" 45 #define CLK_32K_OUT2_DISABLE 0x01 46 #define INACTIVE_RESET_AUDIO 0x02 [all …]
|
H A D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- ALSA Soc WM9713 codec support 5 * Copyright 2006-10 Wolfson Microelectronics PLC. 8 * Features:- 32 #define WM9713_VENDOR_ID 0x574d4c13 33 #define WM9713_VENDOR_ID_MASK 0xffffffff 43 #define HPL_MIXER 0 46 static const char *wm9713_mic_mixer[] = {"Stereo", "Mic 1", "Mic 2", "Mute"}; 49 {"Mic 1", "Mic 2", "Line", "Mono In", "Headphone", "Speaker", 66 static const char *wm9713_mic_select[] = {"Mic 1", "Mic 2 A", "Mic 2 B"}; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-oneplus-fajita.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "sdm845-oneplus-common.dtsi" 13 chassis-type = "handset"; 14 qcom,msm-id = <0x141 0x20001>; 15 qcom,board-id = <8 0 18801 41>; 18 compatible = "simple-battery"; 20 charge-full-design-microamp-hours = <3700000>; 21 voltage-min-design-microvolt = <3400000>; 22 voltage-max-design-microvolt = <4400000>; 33 /* nxp,tfa9894 @ 0x34 */ [all …]
|
H A D | sdm845-oneplus-enchilada.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "sdm845-oneplus-common.dtsi" 13 chassis-type = "handset"; 14 qcom,msm-id = <0x141 0x20001>; 15 qcom,board-id = <8 0 17819 22>; 18 compatible = "simple-battery"; 20 charge-full-design-microamp-hours = <3300000>; 21 voltage-min-design-microvolt = <3400000>; 22 voltage-max-design-microvolt = <4400000>; 33 monitored-battery = <&battery>; [all …]
|
/linux/include/xen/interface/ |
H A D | xen-mca.h | 1 /* SPDX-License-Identifier: MIT */ 3 * arch-x86/mca.h 37 #define XEN_MCA_INTERFACE_VERSION 0x01ecc003 40 #define XEN_MC_NONURGENT 0x1 42 #define XEN_MC_URGENT 0x2 43 /* IN: Dom0 acknowledges previosly-fetched error log entry */ 44 #define XEN_MC_ACK 0x4 47 #define XEN_MC_OK 0x0 49 #define XEN_MC_FETCHFAILED 0x1 51 #define XEN_MC_NODATA 0x2 [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> 15 #define ARIZONA_GPN_DIR_MASK 0x8000 /* GPN_DIR */ 18 #define ARIZONA_GPN_PU_MASK 0x4000 /* GPN_PU */ 21 #define ARIZONA_GPN_PD_MASK 0x2000 /* GPN_PD */ 24 #define ARIZONA_GPN_LVL_MASK 0x0800 /* GPN_LVL */ 27 #define ARIZONA_GPN_POL_MASK 0x0400 /* GPN_POL */ 30 #define ARIZONA_GPN_OP_CFG_MASK 0x0200 /* 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" 34 if (err < 0) { 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() 57 if (err < 0) in olpc_mic_bias() [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"; 12 reg = <0x40000000 0x7fc00000>; 17 cam_vdda_reg: voltage-regulator-10 { 18 compatible = "regulator-fixed"; 19 regulator-name = "CAM_SENSOR_CORE_1.2V"; 20 regulator-min-microvolt = <1200000>; [all …]
|
/linux/include/sound/ |
H A D | da7219.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * da7219.h - DA7219 ASoC Codec Driver Platform Data 13 /* Mic Bias */ 15 DA7219_MICBIAS_1_6V = 0, 23 /* Mic input type */ 25 DA7219_MIC_AMP_IN_SEL_DIFF = 0, 33 DA7219_DAI_WCLK_IDX = 0, 43 /* Mic */
|
/linux/sound/pci/pcxhr/ |
H A D | pcxhr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 17 #define PCXHR_DRIVER_VERSION 0x000906 /* 0.9.6 */ 37 PCXHR_CLOCK_TYPE_INTERNAL = 0, 84 unsigned int board_has_analog:1; /* if 0 the board is digital only */ 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 */ 96 int timer_toggle; /* timer interrupt toggles between the two values 0x200 and 0x300 */ 133 …eriod_frag; /* timer: samples elapsed since last call to snd_pcm_period_elapsed (0..period_size) */ 135 int timer_is_synced; /* if(0) : timer needs to be resynced with real hardware pointer */ 177 int mic_volume; /* used by cards with MIC only */ [all …]
|