/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: 26 - 0 # one wire 27 - 1 # two wires 29 mediatek,mic-type-0: [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 16 converter (ADC) with analog inputs supporting up to 2V RMS. The TLV320ADCX140 28 - const: ti,tlv320adc3140 29 - const: ti,tlv320adc5140 [all …]
|
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> 14 const: samsung,midas-audio 18 description: The user-visible name of this sound complex. 21 type: object 23 sound-dai: 24 $ref: /schemas/types.yaml#/definitions/phandle-array [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 | da7218.txt | 8 - compatible : Should be "dlg,da7217" or "dlg,da7218" 9 - reg: Specifies the I2C slave address 11 - VDD-supply: VDD power supply for the device 12 - VDDMIC-supply: VDDMIC power supply for the device 13 - VDDIO-supply: VDDIO power supply for the device 18 - interrupts: IRQ line info for DA7218 chip. 19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 21 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if 23 - wakeup-source: Flag to indicate this device can wake system (suspend/resume). 25 - clocks : phandle and clock specifier for codec MCLK. [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/sound/pci/hda/ |
D | patch_analog.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de> 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() 58 for (knew = ad_beep_mixer ; knew->name; knew++) { in create_beep_ctls() 63 return -ENOMEM; in create_beep_ctls() 64 kctl->private_value = spec->beep_amp; in create_beep_ctls() 81 !codec->inv_eapd ? 0x00 : 0x02); in ad198x_power_eapd_write() 84 !codec->inv_eapd ? 0x00 : 0x02); in ad198x_power_eapd_write() [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 | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 /* extra amp-initialization sequence types */ 165 if (val != -1) in alc_update_coefex_idx() 176 struct alc_spec *spec = codec->spec; in alc_get_coef0() 178 if (!spec->coef0) in alc_get_coef0() 179 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0() 180 return spec->coef0; in alc_get_coef0() 193 #define WRITE_COEFEX(_nid, _idx, _val) UPDATE_COEFEX(_nid, _idx, -1, _val) 200 for (; fw->nid; fw++) { in alc_process_coef_fw() 201 if (fw->mask == (unsigned short)-1) in alc_process_coef_fw() [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 */ 72 hda_nid_t dig_out_pins[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 */ 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-5.10/drivers/xen/ |
D | mcelog.c | 11 * 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-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> 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-5.10/sound/soc/codecs/ |
D | ssm2602.c | 1 // 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. 59 "Line", "Mic", 65 SOC_ENUM_SINGLE(SSM2602_APANA, 2, ARRAY_SIZE(ssm2602_input_select), 73 48, 127, TLV_DB_SCALE_ITEM(-7400, 100, 0) 76 static const DECLARE_TLV_DB_SCALE(ssm260x_inpga_tlv, -3450, 150, 0); 77 static const DECLARE_TLV_DB_SCALE(ssm260x_sidetone_tlv, -1500, 300, 0); 87 SOC_ENUM("Playback De-emphasis", ssm2602_enum[1]), 98 SOC_SINGLE("Mic Boost (+20dB)", SSM2602_APANA, 0, 1, 0), [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" 58 /* Nr of FIR/IIR-coeff banks in ANC-block */ 59 #define AB8500_NR_OF_ANC_COEFF_BANKS 2 [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:- 38 unsigned int hp_mixer[2]; 46 static const char *wm9713_mic_mixer[] = {"Stereo", "Mic 1", "Mic 2", "Mute"}; 49 {"Mic 1", "Mic 2", "Line", "Mono In", "Headphone", "Speaker", 60 static const char *wm9713_out4_pga[] = {"Vmid", "Zh", "Inv 2", "Inv 2 Vmid"}; 66 static const char *wm9713_mic_select[] = {"Mic 1", "Mic 2 A", "Mic 2 B"}; 70 SOC_ENUM_SINGLE(AC97_LINE, 3, 4, wm9713_mic_mixer), /* record mic mixer 0 */ [all …]
|
D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- ALSA Soc WM9712 codec support 5 * Copyright 2006-12 Wolfson Microelectronics PLC. 30 unsigned int hp_mixer[2]; 86 .reg_stride = 2, 108 static const char *wm9712_mic[] = {"Mic 1", "Differential", "Mic 2", 110 static const char *wm9712_rec_sel[] = {"Mic", "NC", "NC", "Speaker Mixer", 113 static const char *wm9712_diff_sel[] = {"Mic", "Line"}; 115 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 122 SOC_ENUM_SINGLE(AC97_AUX, 8, 2, wm9712_spk_src), [all …]
|
/linux-5.10/include/xen/interface/ |
D | xen-mca.h | 2 * arch-x86/mca.h 42 /* IN: Dom0 acknowledges previosly-fetched error log entry */ 64 #define MC_TYPE_EXTENDED 2 68 uint16_t type; /* structure type */ member 74 #define MC_FLAG_RECOVERABLE (1 << 2) 131 #define REC_ACTION_NEED_RESET (0x1 << 2) 143 #define MC_ACTION_CACHE_SHRINK (0x1 << 2) 181 uint64_t mi_data[(MCINFO_MAXSIZE - 1) / 8]; 218 ((_mi)->mi_nentries) 224 ((struct mcinfo_common *)(_mi)->mi_data) [all …]
|
/linux-5.10/sound/pci/pcxhr/ |
D | pcxhr.h | 1 /* 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-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."); 62 static const DECLARE_TLV_DB_SCALE(db_scale_old_vol, -11350, 50, 0); 63 static const DECLARE_TLV_DB_SCALE(db_scale_akm, -7350, 50, 0); 68 .type = VX_TYPE_BOARD, [all …]
|
/linux-5.10/net/mac80211/ |
D | wpa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2004, Instant802 Networks, Inc. 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 31 u8 *data, *key, *mic; in ieee80211_tx_h_michael_mic_add() local 35 struct sk_buff *skb = tx->skb; in ieee80211_tx_h_michael_mic_add() 39 hdr = (struct ieee80211_hdr *)skb->data; in ieee80211_tx_h_michael_mic_add() 40 if (!tx->key || tx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_tx_h_michael_mic_add() 41 skb->len < 24 || !ieee80211_is_data_present(hdr->frame_control)) in ieee80211_tx_h_michael_mic_add() 44 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_tx_h_michael_mic_add() 45 if (skb->len < hdrlen) in ieee80211_tx_h_michael_mic_add() [all …]
|
/linux-5.10/sound/isa/sb/ |
D | sb_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 47 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single() 49 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_sbmixer_info_single() 50 uinfo->count = 1; in snd_sbmixer_info_single() 51 uinfo->value.integer.min = 0; in snd_sbmixer_info_single() 52 uinfo->value.integer.max = mask; in snd_sbmixer_info_single() 60 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_single() 61 int shift = (kcontrol->private_value >> 16) & 0xff; in snd_sbmixer_get_single() 62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_single() 65 spin_lock_irqsave(&sb->mixer_lock, flags); in snd_sbmixer_get_single() [all …]
|
/linux-5.10/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * 2/ data exchange 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() [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() 73 if (common->crypt_caps & ATH_CRYPT_CAP_MIC_COMBINED) { in ath_hw_keyreset() 92 void *ah = common->ah; in ath_hw_keysetmac() [all …]
|