Searched +full:hp +full:- +full:mute +full:- +full:gpios (Results 1 – 16 of 16) sorted by relevance
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | nvidia,tegra-audio-common.yaml | 1 # 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-v6.1/drivers/platform/x86/ |
D | Kconfig | 1 # 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. 45 Say Y here if you want to be able to read a firmware-embedded 50 be called wmi-bmof. 64 control, fn-lock, mic-mute LED, and other extra features. [all …]
|
/Linux-v6.1/sound/pci/hda/ |
D | patch_cirrus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 66 /* Vendor-specific processing widget */ 79 * 1 = digital immediate, analog zero-cross 80 * 2 = digtail & analog soft-ramp 81 * 3 = digital soft-ramp, analog zero-cross 85 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */ 86 /* PGA mode: 0 = differential, 1 = signle-ended */ 88 #define CS_COEF_ADC_LI_PGA_MODE (1 << 6) /* PGA setup for line-in */ 92 * 1 = zero-cross 93 * 2 = soft-ramp [all …]
|
D | patch_cs8409.c | 1 // 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->gen.input_mux.num_items; i++) { in cs8409_parse_auto_config() 41 int idx = spec->gen.dyn_adc_idx[i]; in cs8409_parse_auto_config() 45 snd_hda_gen_fix_pin_power(codec, spec->gen.adc_nids[idx]); in cs8409_parse_auto_config() 62 codec->spec = spec; in cs8409_alloc_spec() 63 spec->codec = codec; in cs8409_alloc_spec() [all …]
|
D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 /* extra amp-initialization sequence types */ 92 /* mute LED for HP laptops, see vref_mute_led_set() */ 144 struct alc_spec *spec = codec->spec; in coef_mutex_lock() 147 mutex_lock(&spec->coef_mutex); in coef_mutex_lock() 152 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() 154 mutex_unlock(&spec->coef_mutex); in coef_mutex_unlock() 206 if (val != -1) in __alc_update_coefex_idx() 226 struct alc_spec *spec = codec->spec; in alc_get_coef0() 228 if (!spec->coef0) in alc_get_coef0() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | tlv320aic32x4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Author: Javier Martin <javier.martin@vista-silicon.com> 30 #include <sound/soc-dapm.h> 59 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in aic32x4_reset_adc() 81 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in mic_bias_event() 112 ucontrol->value.integer.value[0] = (val & 0x01); in aic32x4_get_mfp1_gpio() 129 return -EINVAL; in aic32x4_set_mfp2_gpio() 132 if (ucontrol->value.integer.value[0] == (val & AIC32X4_MFP2_GPIO_OUT_HIGH)) in aic32x4_set_mfp2_gpio() 135 if (ucontrol->value.integer.value[0]) in aic32x4_set_mfp2_gpio() 136 val |= ucontrol->value.integer.value[0]; in aic32x4_set_mfp2_gpio() [all …]
|
D | tlv320aic3x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * --------------------------------------- 17 * MONO_LOUT -> N/A | MONO_LOUT -> N/A 18 * | IN1L -> LINE1L 19 * | IN1R -> LINE1R 20 * | IN2L -> LINE2L 21 * | IN2R -> LINE2R 22 * | MIC3L/R -> N/A 25 * --------------------------------------- 88 /* Output Common-Mode Voltage */ [all …]
|
D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 69 { 0x29, 0x00 }, /* 29 Left HP Mixer */ 70 { 0x2A, 0x00 }, /* 2A Right HP Mixer */ 71 { 0x2B, 0x00 }, /* 2B HP Control */ 72 { 0x2C, 0x1A }, /* 2C Left HP Volume */ 73 { 0x2D, 0x1A }, /* 2D Right HP Volume */ 280 /* Reset the codec by writing to this write-only reset register */ in max98090_reset() 281 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset() [all …]
|
D | wm8903.c | 1 // 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. 12 * - Digital microphone support. 42 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 43 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 44 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ 45 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */ [all …]
|
D | wm8962.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8962.c -- WM8962 ALSA SoC Audio driver 5 * Copyright 2010-2 Wolfson Microelectronics plc 98 regcache_mark_dirty(wm8962->regmap); \ 113 { 0, 0x009F }, /* R0 - Left Input volume */ 114 { 1, 0x049F }, /* R1 - Right Input volume */ 115 { 2, 0x0000 }, /* R2 - HPOUTL volume */ 116 { 3, 0x0000 }, /* R3 - HPOUTR volume */ 118 { 5, 0x0018 }, /* R5 - ADC & DAC Control 1 */ 119 { 6, 0x2008 }, /* R6 - ADC & DAC Control 2 */ [all …]
|
D | rt5645.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5645.c -- RT5645 ALSA SoC audio codec driver 27 #include <sound/soc-dapm.h> 42 static unsigned int quirk = -1; 428 /* Invert HP detect status polarity */ 434 /* Some (package) variants have the headset-mic pin not-connected */ 664 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 665 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 666 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 667 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); [all …]
|
/Linux-v6.1/sound/soc/tegra/ |
D | tegra_asoc_machine.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tegra_asoc_machine.c - Universal ASoC machine driver for NVIDIA Tegra boards. 71 struct snd_soc_dapm_context *dapm = w->dapm; in tegra_machine_event() 72 struct tegra_machine *machine = snd_soc_card_get_drvdata(dapm->card); in tegra_machine_event() 74 if (!strcmp(w->name, "Int Spk") || !strcmp(w->name, "Speakers")) in tegra_machine_event() 75 gpiod_set_value_cansleep(machine->gpiod_spkr_en, in tegra_machine_event() 78 if (!strcmp(w->name, "Mic Jack")) in tegra_machine_event() 79 gpiod_set_value_cansleep(machine->gpiod_ext_mic_en, in tegra_machine_event() 82 if (!strcmp(w->name, "Int Mic")) in tegra_machine_event() 83 gpiod_set_value_cansleep(machine->gpiod_int_mic_en, in tegra_machine_event() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mq-librem5-devkit.dts | 1 // 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/pwm/pwm.h" 11 #include "dt-bindings/usb/pd.h" 16 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 18 backlight_dsi: backlight-dsi { 19 compatible = "pwm-backlight"; [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | tegra30-asus-transformer-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 8 #include "tegra30-cpu-opp.dtsi" 9 #include "tegra30-cpu-opp-microvolt.dtsi" 12 chassis-type = "convertible"; 31 * pre-existing /chosen node to be available to insert the 40 reserved-memory { 41 #address-cells = <1>; [all …]
|
/Linux-v6.1/drivers/media/usb/em28xx/ |
D | em28xx-cards.c | 1 // 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-v6.1/sound/pci/ |
D | es1968.c | 1 // 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-MAX */ 118 static int total_bufsize[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1024 }; 119 static int pcm_substreams_p[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 4 }; 120 static int pcm_substreams_c[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1 }; 122 static int use_pm[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; [all …]
|