Home
last modified time | relevance | path

Searched +full:hp +full:- +full:mute +full:- +full:gpios (Results 1 – 12 of 12) sorted by relevance

/linux/Documentation/devicetree/bindings/sound/
H A Dnvidia,tegra-audio-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
16 - description: PLL A clock
17 - description: PLL A OUT0 clock
18 - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk
20 clock-names:
[all …]
/linux/sound/hda/codecs/cirrus/
H A Dcs421x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Cirrus Logic CS421x HD-audio codec
45 /* Vendor-specific processing widget */
57 * 1 = digital immediate, analog zero-cross
58 * 2 = digtail & analog soft-ramp
59 * 3 = digital soft-ramp, analog zero-cross
63 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */
64 /* PGA mode: 0 = differential, 1 = signle-ended */
66 #define CS_COEF_ADC_LI_PGA_MODE (1 << 6) /* PGA setup for line-in */
70 * 1 = zero-cross
[all …]
H A Dcs8409.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config()
28 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config()
32 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config()
37 if (spec->gen.dyn_adc_switch) { in cs8409_parse_auto_config()
40 for (i = 0; i < spec->ge in cs8409_parse_auto_config()
517 cs42l42_mute(struct sub_codec * cs42l42,int vol_type,unsigned int chs,bool mute) cs42l42_mute() argument
589 bool mute; cs42l42_playback_pcm_hook() local
618 bool mute; cs42l42_capture_pcm_hook() local
[all...]
/linux/sound/hda/codecs/realtek/
H A Dalc269.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 /* different alc269-variants */
55 struct alc_spec *spec = codec->spec; in alc269_parse_auto_config()
58 switch (spec->codec_variant) { in alc269_parse_auto_config()
106 if (jack->unsol_res & (7 << 13)) in alc_headset_btn_callback()
109 if (jack->unsol_res & (1 << 16 | 3 << 8)) in alc_headset_btn_callback()
113 if (jack->unsol_res & (7 << 23)) in alc_headset_btn_callback()
117 if (jack->unsol_res & (7 << 10)) in alc_headset_btn_callback()
120 snd_hda_jack_set_button_state(codec, jack->nid, report); in alc_headset_btn_callback()
125 struct alc_spec *spec = codec->spec; in alc_disable_headset_jack_key()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-librem5-devkit.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2019 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/leds/common.h>
11 #include "dt-bindings/pwm/pwm.h"
12 #include "dt-bindings/usb/pd.h"
17 compatible = "purism,librem5-devkit", "fsl,imx8mq";
19 backlight_dsi: backlight-dsi {
[all …]
/linux/sound/soc/codecs/
H A Dmax98090.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98090.c -- MAX98090 ALSA SoC Audio driver
5 * Copyright 2011-2012 Maxim Integrated Products
68 { 0x29, 0x00 }, /* 29 Left HP Mixer */
69 { 0x2A, 0x00 }, /* 2A Right HP Mixer */
70 { 0x2B, 0x00 }, /* 2B HP Control */
71 { 0x2C, 0x1A }, /* 2C Left HP Volume */
72 { 0x2D, 0x1A }, /* 2D Right HP Volume */
279 /* Reset the codec by writing to this write-only reset register */ in max98090_reset()
280 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset()
[all …]
H A Dwm8903.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8903.c -- WM8903 ALSA SoC Audio driver
5 * Copyright 2008-12 Wolfson Microelectronics
6 * Copyright 2011-2012 NVIDIA, Inc.
11 * - TDM mode configuration.
41 { 4, 0x0018 }, /* R4 - Bias Control 0 */
42 { 5, 0x0000 }, /* R5 - VMID Control 0 */
43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */
44 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */
45 { 10, 0x0001 }, /* R10 - Analogue ADC 0 */
[all …]
H A Dwm8962.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8962.c -- WM8962 ALSA SoC Audio driver
5 * Copyright 2010-2 Wolfson Microelectronics plc
99 regcache_mark_dirty(wm8962->regmap); \
114 { 0, 0x009F }, /* R0 - Left Input volume */
115 { 1, 0x049F }, /* R1 - Right Input volume */
116 { 2, 0x0000 }, /* R2 - HPOUTL volume */
117 { 3, 0x0000 }, /* R3 - HPOUTR volume */
119 { 5, 0x0018 }, /* R5 - ADC & DAC Control 1 */
120 { 6, 0x2008 }, /* R6 - ADC & DAC Control 2 */
[all …]
H A Drt5645.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5645.c -- RT5645 ALSA SoC audio codec driver
26 #include <sound/soc-dapm.h>
41 static unsigned int quirk = -1;
430 /* Invert HP detect status polarity */
439 /* Some (package) variants have the headset-mic pin not-connected */
671 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
672 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);
673 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
674 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0);
[all …]
/linux/drivers/platform/x86/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 x86 platforms, including vendor-specific laptop extension drivers.
23 This driver adds support for the ACPI-WMI (Windows Management
26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the
27 ACPI firmware to userspace - this is done through various vendor
35 drivers needed on many machines, including Acer and HP laptops.
38 any ACPI-WMI devices.
54 Say Y here if you want to be able to read a firmware-embedded
59 be called wmi-bmof.
72 control, fn-lock, mic-mute LED, and other extra features.
[all …]
/linux/drivers/media/usb/em28xx/
H A Dem28xx-cards.c1 // SPDX-License-Identifier: GPL-2.0+
3 // em28xx-cards.c - driver for Empia EM2800/EM2820/2840 USB
21 #include <media/drv-intf/msp3400.h>
23 #include <dt-bindings/media/tvp5150.h>
26 #include <media/v4l2-common.h>
31 static int tuner = -1;
44 static unsigned int card[] = {[0 ... (EM28XX_MAXBOARDS - 1)] = -1U };
48 static int usb_xfer_mode = -1;
51 "USB transfer mode for frame data (-1 = auto, 0 = prefer isoc, 1 = prefer bulk)");
53 /* Bitmask marking allocated devices from 0 to EM28XX_MAXBOARDS - 1 */
[all …]
/linux/sound/pci/
H A Des1968.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Rewritted from card-es1938.c source.
27 * encoding. The codecs are almost always AC-97 compliant codecs,
88 #include <linux/dma-mapping.h>
102 #include <media/drv-intf/tea575x.h>
115 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MA
[all...]