Home
last modified time | relevance | path

Searched +full:codec +full:- +full:analog +full:- +full:controls (Results 1 – 25 of 94) sorted by relevance

1234

/linux/sound/soc/sunxi/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "Allwinner A10 Codec Support"
10 Select Y or M to add support for the Codec embedded in the Allwinner
14 tristate "Allwinner SUN8I audio codec"
20 This option enables the digital part of the internal audio codec for
23 Say Y or M if you want to add sun8i digital audio codec support.
26 tristate "Allwinner sun8i Codec Analog Controls Support"
30 Say Y or M if you want to add support for the analog controls for
31 the codec embedded in newer Allwinner SoCs.
34 tristate "Allwinner sun50i Codec Analog Controls Support"
[all …]
H A Dsun8i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * This driver supports the analog controls for the internal codec
6 * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
17 #include <sound/soc-dap
[all...]
H A Dsun50i-codec-analog.c1 // SPDX-License-Identifier: GPL-2.0+
3 * This driver supports the analog controls for the internal codec
6 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
10 * Based on sun8i-codec-analo
[all...]
/linux/Documentation/sound/hd-audio/
H A Dcontrols.rst2 HD-Audio Codec-Specific Mixer Controls
6 This file explains the codec-specific mixer controls.
9 --------------
12 This is an enum control to change the surround-channel setup,
15 and "8ch". According to the configuration, this also controls the
16 jack-retasking of multi-I/O jacks.
18 Auto-Mute Mode
19 This is an enum control to change the auto-mute behavior of the
20 headphone and line-out jacks. If built-in speakers and headphone
21 and/or line-out jacks are available on a machine, this controls
[all …]
/linux/sound/soc/codecs/
H A Dtwl4030.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ALSA SoC TWL4030 codec driver
13 #include <linux/mfd/twl4030-audio.h>
42 /* codec private data */
64 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1];
76 twl4030->ctl_cache[i - TWL4030_REG_EAR_CT in tw4030_init_ctl_cache()
[all...]
H A Dhdac_hda.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright(c) 2015-18 Intel Corporation.
5 * hdac_hda.c - ASoC extensions to reuse the legacy HDA codec drivers
7 * codec drivers using hdac_ext_bus_ops ops.
43 MODULE_PARM_DESC(patch, "Patch file array for Intel HD audio interface. The array index is the codec address.");
74 .name = "Analog Codec DA
550 struct hda_codec *codec = hda_pvt->codec; hdac_hda_codec_remove() local
[all...]
H A Dak4619.c1 // SPDX-License-Identifier: GPL-2.0
3 * ak4619.c -- Asahi Kasei ALSA SoC Audio driver
40 #define ADC_AI 0x0b /* ADC Analog Input Setting */
47 #define DAC_DEMP 0x13 /* DAC De-Emphasis Setting */
99 /* Analog Input Select */
126 /* DAC De-Emphasis Setting */
151 /* Codec privat
[all...]
H A Dhda.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright(c) 2021-2022 Intel Corporation
16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument
19 struct device *dev = &codec->core.dev; in hda_codec_create_dais()
26 return -ENOMEM; in hda_codec_create_dais()
28 pcm = list_first_entry(&codec->pcm_list_hea in hda_codec_create_dais()
83 hda_codec_register_dais(struct hda_codec * codec,struct snd_soc_component * component) hda_codec_register_dais() argument
124 hda_codec_unregister_dais(struct hda_codec * codec,struct snd_soc_component * component) hda_codec_unregister_dais() argument
146 hda_codec_probe_complete(struct hda_codec * codec) hda_codec_probe_complete() argument
174 struct hda_codec *codec = dev_to_hda_codec(component->dev); hda_codec_probe() local
269 struct hda_codec *codec = dev_to_hda_codec(component->dev); hda_codec_remove() local
346 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); hda_hdev_attach() local
378 struct hda_codec *codec = dev_to_hda_codec(&hdev->dev); hda_hdev_detach() local
[all...]
H A Dstac9766.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * stac9766.c -- ALSA SoC STAC9766 codec support
8 * Features:-
10 * o Support for AC97 Codec, S/PDIF
84 static const char *stac9766_record_all_mux[] = {"All analog",
85 "Analog plus DAC"};
110 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(master_tlv, -4650, 150, 0);
112 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(beep_tlv, -4500, 300, 0);
113 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(mix_tlv, -3450, 150, 0);
167 struct snd_soc_component *component = dai->component; in ac97_analog_prepare()
[all …]
H A Dcs42l73.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * ALSA SoC CS42L73 codec driver
15 /* I2C Address: 1001010[R/W] - 10010100 = 0x94(Write); 10010101 = 0x95(Read) */
45 #define CS42L73_HPAAVOL 0x1E /* HP A Analog Volume. */
46 #define CS42L73_HPBAVOL 0x1F /* HP B Analog Volume. */
47 #define CS42L73_LOAAVOL 0x20 /* Line Out A Analog Volume. */
48 #define CS42L73_LOBAVOL 0x21 /* Line Out B Analog Volume. */
100 #define CS42L73_MMIXCTL 0x55 /* Mono Mixer Controls. */
190 /* Analog Softramp */
193 /* HP A/B Analog Mute */
[all …]
H A Des8316.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * es8316.c -- es8316 ALSA SoC audio driver
6 * Authors: David Yang <yangxiaohua@everest-semi.com>,
21 #include <sound/soc-dapm.h>
26 /* In slave mode at single speed, the codec is documented as accepting 5
50 * ES8316 controls
[all...]
H A Dmt6357.c1 // SPDX-License-Identifier: GPL-2.0
3 * MT6357 ALSA SoC audio codec driver
9 #include <linux/dma-mapping.h>
19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio()
22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio()
32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio()
46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio()
49 regmap_write(priv->regma in set_capture_gpio()
1709 mt6357_codec_probe(struct snd_soc_component * codec) mt6357_codec_probe() argument
[all...]
H A Dtlv320adcx140.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
40 "ti,gpo-config-1",
41 "ti,gpo-config-2",
42 "ti,gpo-config-
615 struct snd_soc_component *codec = adcx140_phase_calib_get() local
628 struct snd_soc_component *codec adcx140_phase_calib_put() local
[all...]
/linux/Documentation/sound/cards/
H A Dsb-live-mixer.rst19 (index 0) for a given card) allows to forward 48kHz, stereo, 16-bit
22 to 8 raw PCM devices operating at 48kHz, 16-bit little endian. It would
24 but the conversion routines exist only for stereo (2-channel streams)
30 Digital mixer controls
33 These controls are built using the DSP instructions. They offer extended
34 functionality. Only the default built-in code in the ALSA driver is described
35 here. Note that the controls work as attenuators: the maximum value is the
37 is mentioned in multiple controls, the signal is accumulated and can be clipped
44 digital to analog converter
46 analog to digital converter
[all …]
H A Dmaya44.rst8 keep here as reference -- tiwai
22 … programming information, so I (Rainer Zimmermann) had to find out some card-specific information …
24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb…
29 - playback and capture at all sampling rates
30 - input/output level
31 - crossmixing
32 - line/mic switch
33 - phantom power switch
34 - analogue monitor a.k.a bypass
39 - Channel 3+4 analogue - S/PDIF input switching
[all …]
H A Daudigy-mixer.rst5 This is based on sb-live-mixer.rst.
16 Digital mixer controls
19 These controls are built using the DSP instructions. They offer extended
20 functionality. Only the default built-in code in the ALSA driver is described
21 here. Note that the controls work as attenuators: the maximum value is the
23 is mentioned in multiple controls, the signal is accumulated and can be clipped
30 digital to analog converter
32 analog to digital converter
34 one-way three wire serial bus for digital sound by Philips Semiconductors
39 a chip containing an analog mixer, D/A and A/D converters
[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
4 * Cherrytrail and Braswell, with RT5645 codec.
25 #include <sound/soc-acp
[all...]
/linux/sound/hda/codecs/
H A Dgeneric.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Generic BIOS auto-parser helper functions for HD-audio
16 /* table entry for multi-io paths */
18 hda_nid_t pin; /* multi-io widget pin NID */
20 unsigned int ctl_in; /* cached input-pin control value */
25 * For output, stored in the order of DAC -> ... -> pin,
26 * for input, pin -> ... -> ADC.
30 * multi[] indicates whether it's a selector widget with multi-connectors
56 /* mic/line-in auto switching entry */
62 int idx; /* imux index, -1 = invalid */
[all …]
H A Dsigmatel.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Universal Interface for Intel High Definition Audio Codec
5 * HD audio codec driver for SigmaTel STAC92xx
59 STAC_92HD73XX_NO_JD, /* no jack-detection */
149 STAC_D965_REF_NO_JD, /* no jack-detection */
175 unsigned int headset_jack:1; /* 4-pin headset jack (hp + mono mic) */
176 unsigned int volknob_init:1; /* special volume-knob initialization */
188 unsigned int vref_mute_led_nid; /* pin NID for mute-LED vref control */
198 /* analog loopback */
214 /* SPDIF-out mux */
[all …]
/linux/include/sound/
H A Dac97_codec.h1 /* SPDX-License-Identifier: GPL-2.0+
4 * Universal interface for Audio Codec '97
24 /* specific - SigmaTel */
28 #define AC97_SIGMATEL_ANALOG 0x6c /* Analog Special */
33 #define AC97_SIGMATEL_MULTICHN 0x74 /* Multi-Channel programming */
37 /* specific - Analog Devices */
41 #define AC97_AD_CODEC_CFG 0x70 /* codec configuration */
47 /* specific - Cirrus Logic */
56 /* specific - Conexant */
64 /* specific - ALC */
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-a23.dtsi2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
45 #include "sun8i-a23-a33.dtsi"
49 codec: codec@1c22c00 { label
50 #sound-dai-cells = <0>;
51 compatible = "allwinner,sun8i-a23-codec";
55 clock-names = "apb", "codec";
58 dma-names = "rx", "tx";
59 allwinner,codec-analog-controls = <&codec_analog>;
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Drealtek,rt5682s.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Realtek rt5682s codec
10 - Derek Fang <derek.fang@realtek.com>
13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only.
16 - $ref: dai-common.yaml#
28 description: The CODEC's interrupt output.
30 realtek,dmic1-data-pin:
33 - 0 # dmic1 data is not used
[all …]
/linux/include/linux/mfd/
H A Dac100.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Functions and registers to access AC100 codec / RTC combo IC.
5 * Copyright (C) 2016 Chen-Yu Tsai
7 * Chen-Yu Tsai <wens@csie.org>
20 /* Audio codec related registers */
57 /* ADC digital controls */
66 /* DAC digital controls */
72 /* Analog controls */
104 #define AC100_ADC_DAP_H_HPF_C 0x93 /* High High-Pass-Filter Coef */
105 #define AC100_ADC_DAP_L_HPF_C 0x94 /* Low High-Pass-Filter Coef */
[all …]
/linux/sound/pci/cs5535audio/
H A 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"
20 * OLPC has an additional feature on top of the regular AD1888 codec features.
21 * It has an Analog Input mode that is switched into (after disabling the
35 dev_err(ac97->bus->card->dev, in olpc_analog_input()
36 "setting High Pass Filter - %d\n", err); in olpc_analog_input()
40 /* set Analog Input through GPIO */ in olpc_analog_input()
45 * OLPC XO-1's V_REFOUT is a mic bias enable.
[all …]
/linux/sound/hda/common/
H A Dhda_local.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Universal Interface for Intel High Definition Audio Codec
17 * snd_hda_ctl_add() takes the lower-bit subdev value as a valid NID.
26 * for mixer controls
85 /* no digital beep - just the standard one */
119 #define snd_hda_codec_amp_read(codec, nid, ch, dir, idx) \ argument
120 snd_hdac_regmap_get_amp(&(codec)->core, nid, ch, dir, idx)
121 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid,
123 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid,
125 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch,
[all …]

1234