Home
last modified time | relevance | path

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

12345678910>>...19

/linux/sound/soc/codecs/
H A Dak4641.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ak4641.c -- AK4641 ALSA Soc Audio driver
52 unsigned int sysclk;
53 int deemph;
54 int playback_fs;
68 static const int deemph_setting
[all...]
H A Dak4535.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ak4535.c -- AK4535 ALSA Soc Audio driver
31 unsigned int sysclk;
55 static bool ak4535_volatile(struct device *dev, unsigned int reg) in ak4535_volatile()
65 static const char *ak4535_mono_gain[] = {"+6dB", "-17dB"};
66 static const char *ak4535_mono_out[] = {"(L + R)/2", "Hi-Z"};
86 SOC_SINGLE("Mic Boost (+20dB) Switch", AK4535_MIC, 0, 1, 0),
87 SOC_ENUM("Mic Select", ak4535_enum[4]),
98 SOC_SINGLE("Mic Sidetone Volume", AK4535_VOL, 4, 7, 0),
103 SOC_DAPM_SINGLE("Mic Sidetone Switch", AK4535_SIG1, 4, 1, 0),
[all …]
H A Djz4725b.c1 // SPDX-License-Identifier: GPL-2.0
167 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(jz4725b_dac_tlv, -2250, 150, 0);
169 0, 11, TLV_DB_SCALE_ITEM(-2250, 0, 0),
170 12, 31, TLV_DB_SCALE_ITEM(-2250, 150, 0),
174 0, 11, TLV_DB_SCALE_ITEM(-3350, 200, 0),
175 12, 23, TLV_DB_SCALE_ITEM(-1050, 100, 0),
204 SOC_DOUBLE_R_TLV("Mixer Mic 1 Bypass Playback Volume",
209 SOC_DOUBLE_R_TLV("Mixer Mic 2 Bypass Playback Volume",
228 SOC_SINGLE("High-Pass Filter Capture Switch",
232 SOC_ENUM("Mic Mode Capture Switch", jz4725b_mic_mode_enum),
[all …]
H A Dtlv320adcx140.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
35 unsigned int dai_fmt;
36 unsigned int slot_width;
40 "ti,gpo-config-1",
41 "ti,gpo-config-
[all...]
H A Dwm9705.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm9705.c -- ALSA Soc WM9705 codec support
88 SOC_SINGLE("Mic Playback Volume", AC97_MIC, 0, 31, 1),
89 SOC_SINGLE("Mic 20dB Boost Switch", AC97_MIC, 6, 1, 0),
94 static const char *wm9705_mic[] = {"Mic 1", "Mic 2"};
95 static const char *wm9705_rec_sel[] = {"Mic", "CD", "NC", "NC",
109 SOC_DAPM_SINGLE("Mic Playback Switch", AC97_MIC, 15, 1, 1),
114 /* Mic source */
126 SND_SOC_DAPM_MUX("Mic Source", SND_SOC_NOPM, 0, 0,
148 SND_SOC_DAPM_PGA("Mic PGA", SND_SOC_NOPM, 0, 0, NULL, 0),
[all …]
H A 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.
29 #include <linux/mfd/abx500/ab8500-sysctrl.h>
30 #include <linux/mfd/abx500/ab8500-codec.h>
39 #include <sound/soc-dap
[all...]
H A Dda7213.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 /* -54dB */
35 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0),
36 /* -52.5dB to 15dB */
37 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0)
42 /* -78dB to 12dB */
43 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0)
52 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0);
53 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0);
54 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0);
[all …]
H A Dssm2602.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 unsigned int sysclk;
34 unsigned int clk_out_pwr;
71 "Line", "Mic",
85 48, 127, TLV_DB_SCALE_ITEM(-7400, 100, 0)
88 static const DECLARE_TLV_DB_SCALE(ssm260x_inpga_tlv, -345
[all...]
/linux/drivers/xen/
H A Dmcelog.c69 static int xen_mce_chrdev_open_count; /* #times opened */
70 static int xen_mce_chrdev_open_exclu; /* already open exclusive? */
74 static int xen_mce_chrdev_open(struct inode *inode, struct file *file) in xen_mce_chrdev_open()
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()
94 static int xen_mce_chrdev_release(struct inode *inode, struct file *file) in xen_mce_chrdev_release()
98 xen_mce_chrdev_open_count--; in xen_mce_chrdev_release()
111 int i, err; in xen_mce_chrdev_read()
118 err = -EINVAL; in xen_mce_chrdev_read()
[all …]
/linux/sound/soc/ti/
H A Domap-abe-twl6040.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * omap-abe-twl6040.c -- SoC audio for TI OMAP based boards with ABE and
20 #include "omap-dmic.h"
21 #include "omap-mcpd
[all...]
/linux/sound/hda/common/
H A Dhda_auto_parser.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * BIOS auto-parser helper functions for HD-audio
36 int type;
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;
40 int order;
46 int input);
47 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid,
49 char *label, int maxlen, int *indexp);
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dnvidia,tegra-audio-rt5631.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5631.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - pattern: '^[a-z0-9]+,tegra-audio-rt5631(-[a-z0-9]+)+$'
20 - const: nvidia,tegra-audio-rt5631
22 nvidia,audio-routing:
[all …]
H A Dnvidia,tegra-audio-wm8903.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm8903.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - items:
20 - pattern: '^[a-z0-9]+,tegra-audio-wm8903(-[a-z0-9]+)+$'
21 - const: nvidia,tegra-audio-wm8903
[all …]
H A Dnvidia,tegra-audio-max9808x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-max9808x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - items:
20 - pattern: '^[a-z0-9]+,tegra-audio-max98088(-[a-z0-9]+)+$'
21 - const: nvidia,tegra-audio-max98088
[all …]
H A Dfsl,imx-audio-es8328.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl,imx-audio-es8328.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
11 - Sascha Hauer <s.hauer@pengutronix.de>
14 - $ref: sound-card-common.yaml#
18 const: fsl,imx-audio-es8328
22 description: The user-visible name of this sound complex
24 ssi-controller:
[all …]
H A Dnvidia,tegra-audio-alc5632.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-alc5632.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - pattern: '^[a-z0-9]+,tegra-audio-alc5632(-[a-z0-9]+)+$'
20 - const: nvidia,tegra-audio-alc5632
22 nvidia,audio-routing:
[all …]
/linux/sound/soc/intel/boards/
H A Dcht_bsw_rt5645.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cht-bsw-rt5645.c - ASoc Machine driver for Intel Cherryview-based platforms
25 #include <sound/soc-acpi.h>
27 #include "../atom/sst-ato
[all...]
/linux/sound/usb/
H A Dmixer_maps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 int min;
10 int max;
15 int id;
17 int control;
22 int id;
23 int count;
41 USB_IN[1] --->FU[2]------------------------------+->MU[16]-->PU[17]-+->FU[18]--+->EU[27]--+->EU[21]
43 USB_IN[3] -+->SU[5]-->FU[6]--+->MU[14] ->PU[15]->+ | | | …
45 Dig_IN[4] -+ | | | | +->FU[28]
[all …]
/linux/sound/soc/amd/
H A Dacp-rt5645.c33 #include <sound/soc-dapm.h>
51 .pin = "Headset Mic",
56 static int cz_aif1_hw_params(struct snd_pcm_substream *substream, in cz_aif1_hw_params()
59 int ret = 0; in cz_aif1_hw_params()
66 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_aif1_hw_params()
73 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_aif1_hw_params()
80 static int cz_init(struct snd_soc_pcm_runtime *rtd) in cz_init()
82 int ret; in cz_init()
86 codec = snd_soc_rtd_to_codec(rtd, 0)->component; in cz_init()
87 card = rtd->card; in cz_init()
[all …]
H A Dacp-es8336.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <sound/soc-dapm.h>
37 static int sof_es8316_speaker_power_event(struct snd_soc_dapm_widget *w, in sof_es8316_speaker_power_event()
38 struct snd_kcontrol *kcontrol, int event) in sof_es8316_speaker_power_event()
54 .pin = "Headset Mic",
59 static int st_es8336_init(struct snd_soc_pcm_runtime *rtd) in st_es8336_init()
61 int ret; in st_es8336_init()
65 codec = snd_soc_rtd_to_codec(rtd, 0)->component; in st_es8336_init()
66 card = rtd->card; in st_es8336_init()
72 dev_err(card->dev, "HP jack creation failed %d\n", ret); in st_es8336_init()
[all …]
/linux/sound/hda/codecs/realtek/
H A Dalc662.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * 6-channel independent captures.
18 * In addition, an independent DAC for the multi-playback (not used in this
26 static int alc662_parse_auto_config(struct hda_codec *codec) in alc662_parse_auto_config()
33 if (codec->core.vendor_id == 0x10ec0272 || codec->core.vendor_id == 0x10ec0663 || in alc662_parse_auto_config()
34 codec->core.vendor_id == 0x10ec0665 || codec->core.vendor_id == 0x10ec0670 || in alc662_parse_auto_config()
35 codec->core.vendor_id == 0x10ec0671) in alc662_parse_auto_config()
43 const struct hda_fixup *fix, int action) in alc272_fixup_mario()
56 static unsigned int gpio_led_power_filter(struct hda_codec *codec, in gpio_led_power_filter()
58 unsigned int power_state) in gpio_led_power_filter()
[all …]
/linux/sound/soc/atmel/
H A Dsam9g20_wm8731.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sam9g20_wm8731 -- SoC audio for AT91SAM9G20-based
28 #include <linux/atmel-ssc.h>
36 #include "atmel-pc
[all...]
/linux/sound/pci/vx222/
H A 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");
24 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
27 static bool mic[SNDRV_CARDS]; /* microphone */ variable
28 static int ibl[SNDRV_CARDS]; /* microphone */
30 module_param_array(index, int, NULL, 0444);
36 module_param_array(mic, bool, NULL, 0444);
37 MODULE_PARM_DESC(mic, "Enable Microphone.");
38 module_param_array(ibl, int, NULL, 0444);
[all …]
/linux/sound/soc/intel/avs/boards/
H A Dpcm3168a.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2024-2025 Intel Corporation
14 #include <sound/soc-acpi.h>
22 SND_SOC_DAPM_MIC("CPB Stereo Mic 1", NULL),
23 SND_SOC_DAPM_MIC("CPB Stereo Mic 2", NULL),
37 { "AIN1L", NULL, "CPB Stereo Mic 1" },
38 { "AIN1R", NULL, "CPB Stereo Mic 1" },
39 { "AIN2L", NULL, "CPB Stereo Mic 2" },
40 { "AIN2R", NULL, "CPB Stereo Mic 2" },
45 static int avs_pcm3168a_be_fixup(struct snd_soc_pcm_runtime *runtime, in avs_pcm3168a_be_fixup()
[all …]
/linux/net/mac80211/
H A Daes_gcm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2014-2015, Qualcomm Atheros, Inc.
13 static inline int ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, in ieee80211_aes_gcm_encrypt()
15 size_t data_len, u8 *mic) in ieee80211_aes_gcm_encrypt() argument
19 data, data_len, mic); in ieee80211_aes_gcm_encrypt()
22 static inline int ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, in ieee80211_aes_gcm_decrypt()
24 size_t data_len, u8 *mic) in ieee80211_aes_gcm_decrypt() argument
28 data, data_len, mic); in ieee80211_aes_gcm_decrypt()

12345678910>>...19