Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_mic.c1 // SPDX-License-Identifier: GPL-2.0-only
31 /* Sysreg registers for MIC */
37 /* MIC registers */
109 static void mic_set_path(struct exynos_mic *mic, bool enable) in mic_set_path() argument
111 int ret; in mic_set_path()
112 unsigned int val; in mic_set_path()
114 ret = regmap_read(mic->sysreg, DSD_CFG_MUX, &val); in mic_set_path()
116 DRM_DEV_ERROR(mic->dev, in mic_set_path()
117 "mic: Failed to read system register\n"); in mic_set_path()
122 if (mic->i80_mode) in mic_set_path()
[all …]
/linux/sound/soc/codecs/
H A Dak4641.c
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
166 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(jz4725b_dac_tlv, -2250, 150, 0);
168 0, 11, TLV_DB_SCALE_ITEM(-2250, 0, 0),
169 12, 31, TLV_DB_SCALE_ITEM(-2250, 150, 0),
173 0, 11, TLV_DB_SCALE_ITEM(-3350, 200, 0),
174 12, 23, TLV_DB_SCALE_ITEM(-1050, 100, 0),
203 SOC_DOUBLE_R_TLV("Mixer Mic 1 Bypass Playback Volume",
208 SOC_DOUBLE_R_TLV("Mixer Mic
[all...]
H A Dtlv320adcx140.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
42 unsigned int dai_fmt;
43 unsigned int slot_width;
47 "ti,gpo-config-1",
48 "ti,gpo-config-2",
49 "ti,gpo-config-3",
50 "ti,gpo-config-4",
172 static bool adcx140_volatile(struct device *dev, unsigned int reg) in adcx140_volatile()
198 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */
[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-dapm.h>
42 #include "ab8500-codec.h"
56 /* Nr of FIR/IIR-coeff banks in ANC-block */
75 /* Private data for AB8500 device-driver */
[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 /* -7
[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 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...]
H A Dbytcht_es8316.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcht_es8316.c - ASoc Machine driver for Intel Baytrail/Cherrytrail
7 * Authors: David Yang <yangxiaohua@everest-semi.com>,
29 #include <sound/soc-acpi.h>
30 #include "../../codecs/es83xx-dsm-common.h"
31 #include "../atom/sst-atom-controls.h"
32 #include "../common/soc-intel-quirks.h"
34 /* jd-inv + terminating entry */
59 static int quirk_override = -1;
60 module_param_named(quirk, quirk_override, int, 0444);
[all …]
/linux/sound/soc/amd/
H A Dacp3x-rt5682-max9836.c1 // SPDX-License-Identifier: GPL-2.0+
11 #include <sound/soc-dapm.h>
36 .pin = "Headset Mic",
52 static int acp3x_5682_init(struct snd_soc_pcm_runtime *rtd) in acp3x_5682_init()
54 int ret; in acp3x_5682_init()
55 struct snd_soc_card *card = rtd->card; in acp3x_5682_init()
57 struct snd_soc_component *component = codec_dai->component; in acp3x_5682_init()
59 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp3x_5682_init()
66 dev_err(rtd->card->dev, in acp3x_5682_init()
75 dev_err(rtd->dev, "can't set rt5682 PLL: %d\n", ret); in acp3x_5682_init()
[all …]
H A Dacp-rt5645.c1 // SPDX-License-Identifier: MIT
14 #include <sound/soc-dapm.h>
31 .pin = "Headset Mic",
36 static int cz_aif1_hw_params(struct snd_pcm_substream *substream,
39 int ret = 0;
46 dev_err(rtd->dev, "can't set codec pll: %d\n", ret);
53 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret);
60 static int cz_init(struct snd_soc_pcm_runtime *rtd) in cz_aif1_hw_params()
62 int re in cz_aif1_hw_params()
[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/hda/codecs/
H A Dconexant.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Tobin Davis <tdavis@dsl-only.net>
28 unsigned int num_eapds;
33 unsigned int parse_flags; /* flag for snd_hda_parse_pin_defcfg() */
38 unsigned int dc_input_bias; /* offset into olpc_xo_dc_bias */
41 int mute_led_polarit
[all...]
H A Danalog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de>
32 int model;
35 int smux_paths[4];
36 unsigned int cur_smux;
39 unsigned int beep_am
[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 …]

12345678910>>...20