Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/sound/soc/sunxi/
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"
19 This option enables the digital part of the internal audio codec for
22 Say Y or M if you want to add sun8i digital audio codec support.
25 tristate "Allwinner sun8i Codec Analog Controls Support"
29 Say Y or M if you want to add support for the analog controls for
30 the codec embedded in newer Allwinner SoCs.
33 tristate "Allwinner sun50i Codec Analog Controls Support"
[all …]
Dsun4i-codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2015 Maxime Ripard <maxime.ripard@free-electrons.com>
7 * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
35 /* Codec DAC digital controls and FIFO registers */
53 /* Codec DAC side analog signal controls */
79 /* Codec ADC digital controls and FIFO registers */
92 /* Codec ADC side analog signal controls */
115 /* Microphone controls (sun7i only) */
125 * but only the DAC digital controls are at the same offset. The others
126 * have been moved around to accommodate extra analog controls.
[all …]
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>
18 #include <sound/soc-dapm.h>
21 #include "sun8i-adda-pr-regmap.h"
23 /* Codec analog control register offsets and bit fields */
116 /* mixer controls */
140 /* mixer controls */
156 /* ADC mixer controls */
180 /* ADC mixer controls */
[all …]
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-analog.c
23 #include <sound/soc-dapm.h>
26 #include "sun8i-adda-pr-regmap.h"
28 /* Codec analog control register offsets and bit fields */
122 /* mixer controls */
146 /* ADC mixer controls */
171 -450, 150, 0);
[all …]
/kernel/linux/linux-6.6/sound/soc/sunxi/
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 …]
Dsun4i-codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2015 Maxime Ripard <maxime.ripard@free-electrons.com>
7 * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
35 /* Codec DAC digital controls and FIFO registers */
53 /* Codec DAC side analog signal controls */
79 /* Codec ADC digital controls and FIFO registers */
92 /* Codec ADC side analog signal controls */
115 /* Microphone controls (sun7i only) */
125 * but only the DAC digital controls are at the same offset. The others
126 * have been moved around to accommodate extra analog controls.
[all …]
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>
18 #include <sound/soc-dapm.h>
21 #include "sun8i-adda-pr-regmap.h"
23 /* Codec analog control register offsets and bit fields */
116 /* mixer controls */
140 /* mixer controls */
156 /* ADC mixer controls */
180 /* ADC mixer controls */
[all …]
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-analog.c
23 #include <sound/soc-dapm.h>
26 #include "sun8i-adda-pr-regmap.h"
28 /* Codec analog control register offsets and bit fields */
123 /* mixer controls */
147 /* ADC mixer controls */
172 -450, 150, 0);
[all …]
/kernel/linux/linux-6.6/Documentation/sound/hd-audio/
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 …]
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dallwinner,sun4i-a10-codec.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Codec
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 "#sound-dai-cells":
19 - allwinner,sun4i-a10-codec
20 - allwinner,sun6i-a31-codec
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dallwinner,sun4i-a10-codec.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Codec Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 "#sound-dai-cells":
19 - allwinner,sun4i-a10-codec
20 - allwinner,sun6i-a31-codec
[all …]
/kernel/linux/linux-6.6/Documentation/sound/soc/
Ddapm.rst11 such, can easily co-exist with the other PM systems.
20 audio subsystem, this includes internal codec power blocks and machine
25 Codec bias domain
26 VREF, VMID (core codec and audio power)
28 Usually controlled at codec probe/remove and suspend/resume, although
53 internal codec components). All audio components that effect power are called
60 Audio DAPM widgets fall into a number of types:-
63 Mixes several analog signals into a single analog signal.
65 An analog switch that outputs only one of many inputs.
69 Analog to Digital Converter
[all …]
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddapm.rst11 such, can easily co-exist with the other PM systems.
20 audio subsystem, this includes internal codec power blocks and machine
25 Codec bias domain
26 VREF, VMID (core codec and audio power)
28 Usually controlled at codec probe/remove and suspend/resume, although
53 internal codec components). All audio components that effect power are called
60 Audio DAPM widgets fall into a number of types:-
63 Mixes several analog signals into a single analog signal.
65 An analog switch that outputs only one of many inputs.
69 Analog to Digital Converter
[all …]
/kernel/linux/linux-6.6/sound/pci/oxygen/
Doxygen_mixer.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * C-Media CMI8788 driver - mixer code
19 struct oxygen *chip = ctl->private_data; in dac_volume_info()
21 info->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in dac_volume_info()
22 info->count = chip->model.dac_channels_mixer; in dac_volume_info()
23 info->value.integer.min = chip->model.dac_volume_min; in dac_volume_info()
24 info->value.integer.max = chip->model.dac_volume_max; in dac_volume_info()
31 struct oxygen *chip = ctl->private_data; in dac_volume_get()
34 mutex_lock(&chip->mutex); in dac_volume_get()
35 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_get()
[all …]
/kernel/linux/linux-5.10/sound/pci/oxygen/
Doxygen_mixer.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * C-Media CMI8788 driver - mixer code
19 struct oxygen *chip = ctl->private_data; in dac_volume_info()
21 info->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in dac_volume_info()
22 info->count = chip->model.dac_channels_mixer; in dac_volume_info()
23 info->value.integer.min = chip->model.dac_volume_min; in dac_volume_info()
24 info->value.integer.max = chip->model.dac_volume_max; in dac_volume_info()
31 struct oxygen *chip = ctl->private_data; in dac_volume_get()
34 mutex_lock(&chip->mutex); in dac_volume_get()
35 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_get()
[all …]
/kernel/linux/linux-6.6/sound/soc/rockchip/
Drockchip_max98090.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Rockchip machine ASoC driver for boards using a MAX90809 CODEC.
23 #define DRV_NAME "rockchip-snd-max98090"
113 struct snd_soc_dapm_context *dapm = &jack->card->dapm; in rk_jack_event()
169 return -EINVAL; in rk_aif1_hw_params()
175 dev_err(cpu_dai->dev, "Can't set cpu dai clock %d\n", ret); in rk_aif1_hw_params()
182 /* HDMI codec dai does not need to set sysclk. */ in rk_aif1_hw_params()
183 if (!strcmp(rtd->dai_link->name, "HDMI")) in rk_aif1_hw_params()
187 dev_err(codec_dai->dev, "Can't set codec dai clock %d\n", ret); in rk_aif1_hw_params()
200 return snd_pcm_hw_constraint_minmax(substream->runtime, in rk_aif1_startup()
[all …]
/kernel/linux/linux-5.10/sound/soc/rockchip/
Drockchip_max98090.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Rockchip machine ASoC driver for boards using a MAX90809 CODEC.
23 #define DRV_NAME "rockchip-snd-max98090"
113 struct snd_soc_dapm_context *dapm = &jack->card->dapm; in rk_jack_event()
169 return -EINVAL; in rk_aif1_hw_params()
175 dev_err(cpu_dai->dev, "Can't set cpu dai clock %d\n", ret); in rk_aif1_hw_params()
182 /* HDMI codec dai does not need to set sysclk. */ in rk_aif1_hw_params()
183 if (!strcmp(rtd->dai_link->name, "HDMI")) in rk_aif1_hw_params()
187 dev_err(codec_dai->dev, "Can't set codec dai clock %d\n", ret); in rk_aif1_hw_params()
200 return snd_pcm_hw_constraint_minmax(substream->runtime, in rk_aif1_startup()
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
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.
66 .name = "Analog Codec DAI",
69 .stream_name = "Analog Codec Playback",
77 .stream_name = "Analog Codec Capture",
87 .name = "Digital Codec DAI",
90 .stream_name = "Digital Codec Playback",
98 .stream_name = "Digital Codec Capture",
[all …]
Dtwl4030.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ALSA SoC TWL4030 codec driver
28 #include <linux/mfd/twl4030-audio.h>
45 /* codec private data */
67 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1];
79 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache()
89 return -EIO; in twl4030_read()
98 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read()
116 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip()
120 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
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.
66 .name = "Analog Codec DAI",
69 .stream_name = "Analog Codec Playback",
77 .stream_name = "Analog Codec Capture",
87 .name = "Digital Codec DAI",
90 .stream_name = "Digital Codec Playback",
98 .stream_name = "Digital Codec Capture",
[all …]
Dtwl4030.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ALSA SoC TWL4030 codec driver
28 #include <linux/mfd/twl4030-audio.h>
37 /* codec private data */
59 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1];
71 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache()
81 return -EIO; in twl4030_read()
90 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read()
108 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip()
112 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip()
[all …]
/kernel/linux/linux-6.6/sound/pci/hda/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "HD-Audio"
23 This option enables the HD-audio controller. Don't forget
24 to choose the appropriate codec options below.
27 will be called snd-hda-intel.
43 will be called snd-hda-tegra.
48 bool "Build hwdep interface for HD-audio driver"
51 Say Y here to build a hwdep interface for HD-audio driver.
52 This interface can be used for out-of-band communication
56 bool "Allow dynamic codec reconfiguration"
[all …]
/kernel/linux/linux-6.6/Documentation/sound/cards/
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 …]
/kernel/linux/linux-5.10/Documentation/sound/cards/
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 build-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 wrapped
44 digital to analog converter
46 analog to digital converter
[all …]

12345678910>>...12