/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | mt6359.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eason Yen <eason.yen@mediatek.com> 11 - Jiaxin Yu <jiaxin.yu@mediatek.com> 12 - Shane Chien <shane.chien@mediatek.com> 20 mediatek,dmic-mode: 24 signal. 0 means two wires, 1 means one wire. Default value is 0. 26 - 0 # one wire 27 - 1 # two wires [all …]
|
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 | 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> 16 - samsung,aries-wm8994 18 - samsung,fascinate4g-wm8994 22 description: The user-visible name of this sound complex. 25 type: object 27 sound-dai: [all …]
|
D | 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 - Dan Murphy <dmurphy@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 - const: ti,tlv320adc3140 29 - const: ti,tlv320adc5140 30 - const: ti,tlv320adc6140 [all …]
|
D | samsung,odroid.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 16 - const: hardkernel,odroid-xu3-audio 18 - const: hardkernel,odroid-xu4-audio 21 - const: samsung,odroid-xu3-audio 24 - const: samsung,odroid-xu4-audio 29 description: The user-visible name of this sound complex. [all …]
|
/linux-5.10/Documentation/sound/hd-audio/ |
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-5.10/drivers/xen/ |
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-5.10/sound/pci/hda/ |
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), 63 spec->gen.beep_nid = nid; in set_beep_amp() 64 for (i = 0; i < ARRAY_SIZE(cxt_beep_mixer); i++) { 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() 71 return 0; in set_beep_amp() [all …]
|
D | patch_analog.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de> 38 HDA_CODEC_VOLUME("Beep Playback Volume", 0, 0, HDA_OUTPUT), 39 HDA_CODEC_MUTE_BEEP("Beep Playback Switch", 0, 0, HDA_OUTPUT), 44 ((spec)->beep_amp = HDA_COMPOSE_AMP_VAL(nid, 1, idx, dir)) /* mono */ 52 struct ad198x_spec *spec = codec->spec; in create_beep_ctls() 55 if (!spec->beep_amp) in create_beep_ctls() 56 return 0; in create_beep_ctls() 58 for (knew = ad_beep_mixer ; knew->name; knew++) { in create_beep_ctls() 63 return -ENOMEM; in create_beep_ctls() [all …]
|
D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 /* extra amp-initialization sequence types */ 141 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in alc_read_coefex_idx() 142 val = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_PROC_COEF, 0); in alc_read_coefex_idx() 147 alc_read_coefex_idx(codec, 0x20, coef_idx) 152 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, coef_idx); in alc_write_coefex_idx() 153 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PROC_COEF, coef_val); in alc_write_coefex_idx() 157 alc_write_coefex_idx(codec, 0x20, coef_idx, coef_val) 165 if (val != -1) in alc_update_coefex_idx() 171 alc_update_coefex_idx(codec, 0x20, coef_idx, mask, bits_set) [all …]
|
D | hda_auto_parser.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * BIOS auto-parser helper functions for HD-audio 34 int type; member 36 unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */ 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 */ 79 /* bit-flags for snd_hda_parse_pin_def_config() behavior */ [all …]
|
D | hda_auto_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * BIOS auto-parser helper functions for HD-audio 25 return 0; in is_in_nid_list() 38 return (int)(a->seq - b->seq); in compare_seq() 49 sort(list, num_pins, sizeof(list[0]), compare_seq, NULL); in sort_pins_by_sequence() 50 for (i = 0; i < num_pins; i++) in sort_pins_by_sequence() 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() [all …]
|
/linux-5.10/sound/pcmcia/vx/ |
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-5.10/sound/pci/vx222/ |
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"); 25 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 28 static bool mic[SNDRV_CARDS]; /* microphone */ variable 37 module_param_array(mic, bool, NULL, 0444); 38 MODULE_PARM_DESC(mic, "Enable Microphone."); 51 { 0x10b5, 0x9050, 0x1369, PCI_ANY_ID, 0, 0, VX_PCI_VX222_OLD, }, /* PLX */ 52 { 0x10b5, 0x9030, 0x1369, PCI_ANY_ID, 0, 0, VX_PCI_VX222_NEW, }, /* PLX */ 53 { 0, } [all …]
|
/linux-5.10/sound/soc/codecs/ |
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 …]
|
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. 31 #include <linux/mfd/abx500/ab8500-sysctrl.h> 32 #include <linux/mfd/abx500/ab8500-codec.h> 41 #include <sound/soc-dapm.h> 44 #include "ab8500-codec.h" 47 #define CLK_32K_OUT2_DISABLE 0x01 48 #define INACTIVE_RESET_AUDIO 0x02 [all …]
|
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-5.10/include/xen/interface/ |
D | xen-mca.h | 2 * arch-x86/mca.h 36 #define XEN_MCA_INTERFACE_VERSION 0x01ecc003 39 #define XEN_MC_NONURGENT 0x1 41 #define XEN_MC_URGENT 0x2 42 /* IN: Dom0 acknowledges previosly-fetched error log entry */ 43 #define XEN_MC_ACK 0x4 46 #define XEN_MC_OK 0x0 48 #define XEN_MC_FETCHFAILED 0x1 50 #define XEN_MC_NODATA 0x2 62 #define MC_TYPE_GLOBAL 0 [all …]
|
/linux-5.10/include/linux/mfd/arizona/ |
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-5.10/sound/pci/cs5535audio/ |
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-5.10/include/sound/ |
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-5.10/sound/pci/pcxhr/ |
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 …]
|
/linux-5.10/drivers/net/wireless/ath/ |
D | key.c | 25 #define REG_READ (common->ops->read) 26 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) 28 if (common->ops->enable_write_buffer) \ 29 common->ops->enable_write_buffer((_ah)); 32 if (common->ops->write_flush) \ 33 common->ops->write_flush((_ah)); 45 void *ah = common->ah; in ath_hw_keyreset() 47 if (entry >= common->keymax) { in ath_hw_keyreset() 57 REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0); in ath_hw_keyreset() 58 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0); in ath_hw_keyreset() [all …]
|
/linux-5.10/drivers/irqchip/ |
D | irq-lpc32xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2015-2016 Vladimir Zapolskiy <vz@mleia.com> 17 #define LPC32XX_INTC_MASK 0x00 18 #define LPC32XX_INTC_RAW 0x04 19 #define LPC32XX_INTC_STAT 0x08 20 #define LPC32XX_INTC_POL 0x0C 21 #define LPC32XX_INTC_TYPE 0x10 22 #define LPC32XX_INTC_FIQ 0x14 36 return readl_relaxed(ic->base + reg); in lpc32xx_ic_read() 42 writel_relaxed(val, ic->base + reg); in lpc32xx_ic_write() [all …]
|
/linux-5.10/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * Context creation is handled largely by upcalls to user-space. 20 * In particular, GSS_GetMIC, GSS_VerifyMIC, GSS_Seal, GSS_Unseal are in-kernel. 21 * Context destruction is handled in-kernel 22 * GSS_Delete_sec_context is in-kernel 32 * When user-space is happy that a context is established, it places an entry 35 * uid/gidlist - for determining access rights 36 * mechanism type 68 return a->len == b->len && 0 == memcmp(a->data, b->data, a->len); in netobj_equal() 87 kfree(rsii->in_handle.data); in rsi_free() [all …]
|