Home
last modified time | relevance | path

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

12345678910>>...15

/linux-5.10/Documentation/devicetree/bindings/sound/
Dmt6359.yaml1 # 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 …]
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>
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 …]
Dda7219.txt8 - 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 …]
Dtlv320adcx140.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 - 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 …]
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>
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 …]
/linux-5.10/Documentation/sound/hd-audio/
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-5.10/sound/pci/hda/
Dpatch_conexant.c1 // 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 …]
Dpatch_analog.c1 // 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 …]
Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
32 /* extra amp-initialization sequence types */
63 unsigned int enable_pcbeep:1;
64 unsigned int platform_type:1;
65 unsigned int swap:1;
66 unsigned int override:1;
67 unsigned int fixup:1; /* Means that this sku is set by driver, not read from hw */
116 unsigned int has_alc5505_dsp:1;
117 unsigned int no_depop_delay:1;
118 unsigned int done_hp_init:1;
[all …]
Dhda_auto_parser.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * BIOS auto-parser helper functions for HD-audio
34 int type; member
35 unsigned int is_headset_mic:1;
36 unsigned int is_headphone_mic:1; /* Mic-only in headphone jack */
37 unsigned int has_boost_on_pin:1;
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 */
[all …]
Dhda_auto_parser.c1 // 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-5.10/drivers/xen/
Dmcelog.c79 (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-5.10/sound/pci/vx222/
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");
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/sound/pcmcia/vx/
Dvxp_mixer.c1 // 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-5.10/sound/soc/codecs/
Dssm2602.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 enum ssm2602_type type; member
59 "Line", "Mic",
67 SOC_ENUM_SINGLE(SSM2602_APDIGI, 1, ARRAY_SIZE(ssm2602_deemph),
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);
82 SOC_DOUBLE_R("Capture Switch", SSM2602_LINVOL, SSM2602_RINVOL, 7, 1, 1),
84 SOC_SINGLE("ADC High Pass Filter Switch", SSM2602_APDIGI, 0, 1, 1),
85 SOC_SINGLE("Store DC Offset Switch", SSM2602_APDIGI, 4, 1, 0),
[all …]
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.
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 */
86 SID_APPLY_FIR = 1,
[all …]
Dwm9713.c1 // 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:-
44 #define HPR_MIXER 1
46 static const char *wm9713_mic_mixer[] = {"Stereo", "Mic 1", "Mic 2", "Mute"};
49 {"Mic 1", "Mic 2", "Line", "Mono In", "Headphone", "Speaker",
59 static const char *wm9713_out3_pga[] = {"Vmid", "Zh", "Inv 1", "Inv 1 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 …]
Dwm9712.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9712.c -- ALSA Soc WM9712 codec support
5 * Copyright 2006-12 Wolfson Microelectronics PLC.
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);
134 SOC_DOUBLE("Speaker Playback Volume", AC97_MASTER, 8, 0, 31, 1),
135 SOC_SINGLE("Speaker Playback Switch", AC97_MASTER, 15, 1, 1),
136 SOC_DOUBLE("Headphone Playback Volume", AC97_HEADPHONE, 8, 0, 31, 1),
[all …]
/linux-5.10/include/linux/mfd/arizona/
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>
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-5.10/include/xen/interface/
Dxen-mca.h2 * arch-x86/mca.h
42 /* IN: Dom0 acknowledges previosly-fetched error log entry */
63 #define MC_TYPE_BANK 1
68 uint16_t type; /* structure type */ member
72 #define MC_FLAG_CORRECTABLE (1 << 0)
73 #define MC_FLAG_UNCORRECTABLE (1 << 1)
74 #define MC_FLAG_RECOVERABLE (1 << 2)
75 #define MC_FLAG_POLLED (1 << 3)
76 #define MC_FLAG_RESET (1 << 4)
77 #define MC_FLAG_CMCI (1 << 5)
[all …]
/linux-5.10/sound/pci/cs5535audio/
Dcs5535audio_olpc.c1 // 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-5.10/sound/pci/pcxhr/
Dpcxhr.h1 /* 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-5.10/drivers/net/wireless/ath/
Dkey.c25 #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 …]
/linux-5.10/net/sunrpc/auth_gss/
Dsvcauth_gss.c1 // SPDX-License-Identifier: GPL-2.0
13 * 1/ context creation
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/sound/isa/sb/
Dsb_mixer.c1 // 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 …]

12345678910>>...15