Home
last modified time | relevance | path

Searched +full:pdm +full:- +full:mute (Results 1 – 25 of 44) sorted by relevance

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dcirrus,madera.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
21 include/dt-bindings/sound/madera.h
26 - $ref: dai-common.yaml#
29 '#sound-dai-cells':
38 INnAR INnBL INnBR. For non-muxed inputs the first two cells
46 $ref: /schemas/types.yaml#/definitions/uint32-array
54 cirrus,out-mono:
[all …]
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
20 - $ref: dai-common.yaml#
23 '#sound-dai-cells':
31 signals. Valid values are 0 (Differential), 1 (Single-ended) and
38 $ref: /schemas/types.yaml#/definitions/uint32-array
46 wlf,out-mono:
50 (eg. First entry in the list corresponds to output 1). A non-zero
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dcirrus,madera.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
21 include/dt-bindings/sound/madera.h
26 '#sound-dai-cells':
35 INnAR INnBL INnBR. For non-muxed inputs the first two cells
43 $ref: /schemas/types.yaml#/definitions/uint32-array
51 cirrus,out-mono:
55 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
20 '#sound-dai-cells':
28 signals. Valid values are 0 (Differential), 1 (Single-ended) and
35 $ref: /schemas/types.yaml#/definitions/uint32-array
43 wlf,out-mono:
47 (eg. First entry in the list corresponds to output 1). A non-zero
51 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/kernel/linux/linux-6.6/include/sound/
Dmadera-pdata.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2016-2019 Cirrus Logic, Inc. and
35 * values. Two-dimensional array
41 * @pdm_fmt: PDM speaker data format. See the PDM_SPKn_FMT field in
43 * @pdm_mute: PDM mute format. See the PDM_SPKn_CTRL_1 register
/kernel/linux/linux-5.10/include/sound/
Dmadera-pdata.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2016-2019 Cirrus Logic, Inc. and
35 * values. Two-dimensional array
41 * @pdm_fmt: PDM speaker data format. See the PDM_SPKn_FMT field in
43 * @pdm_mute: PDM mute format. See the PDM_SPKn_CTRL_1 register
/kernel/linux/linux-6.6/include/sound/sof/
Ddai-intel.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
61 /* SSP Configuration Request - SOF_IPC_DAI_SSP_CONFIG */
93 /* HDA Configuration Request - SOF_IPC_DAI_HDA_CONFIG */
101 /* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */
112 /* DMIC Configuration Request - SOF_IPC_DAI_DMIC_CONFIG */
114 /* This struct is defined per 2ch PDM controller available in the platform.
126 * 3. If PDM bit errors are seen in capture (poor quality) the skew parameter
133 uint16_t id; /**< PDM controller ID */
142 uint16_t skew; /**< Adjust PDM data sampling vs. clock (0..15) */
147 /* This struct contains the global settings for all 2ch PDM controllers. The
[all …]
/kernel/linux/linux-5.10/include/sound/sof/
Ddai-intel.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
55 /* SSP Configuration Request - SOF_IPC_DAI_SSP_CONFIG */
87 /* HDA Configuration Request - SOF_IPC_DAI_HDA_CONFIG */
95 /* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */
106 /* DMIC Configuration Request - SOF_IPC_DAI_DMIC_CONFIG */
108 /* This struct is defined per 2ch PDM controller available in the platform.
120 * 3. If PDM bit errors are seen in capture (poor quality) the skew parameter
127 uint16_t id; /**< PDM controller ID */
136 uint16_t skew; /**< Adjust PDM data sampling vs. clock (0..15) */
141 /* This struct contains the global settings for all 2ch PDM controllers. The
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtwl6040.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <sound/soc-dapm.h>
61 u8 dl12_cache[TWL6040_REG_HFRCTL - TWL6040_REG_HSLCTL + 1];
69 /* set of rates for each pll: low-power and high-performance */
95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent)
104 return -EIO; in twl6040_read()
112 value = priv->dl12_cache[reg - TWL6040_REG_HSLCTL]; in twl6040_read()
132 return priv->dl1_unmuted; in twl6040_can_write_to_chip()
135 return priv->dl2_unmuted; in twl6040_can_write_to_chip()
152 priv->dl12_cache[reg - TWL6040_REG_HSLCTL] = value; in twl6040_update_dl12_cache()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
386 tristate "Analog Devices AU1761 CODEC - I2C"
392 tristate "Analog Devices AU1761 CODEC - SPI"
429 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
435 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
438 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
444 will be called snd-soc-adau7118-hw.
447 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"
452 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
[all …]
Dcs35l36.c1 // SPDX-License-Identifier: GPL-2.0
3 // cs35l36.c -- CS35L36 ALSA SoC audio driver
27 #include <sound/soc-dapm.h>
448 TLV_DB_MINMAX_ITEM(-10200, 1200));
465 ucontrol->value.integer.value[0] = cs35l36->ldm_mode_sel; in cs35l36_ldm_sel_get()
477 int val = (ucontrol->value.integer.value[0]) ? CS35L36_NG_AMP_EN_MASK : in cs35l36_ldm_sel_put()
480 cs35l36->ldm_mode_sel = val; in cs35l36_ldm_sel_put()
482 regmap_update_bits(cs35l36->regmap, CS35L36_NG_CFG, in cs35l36_ldm_sel_put()
494 SOC_SINGLE("Amp Gain Zero-Cross Switch", CS35L36_AMP_GAIN_CTRL,
496 SOC_SINGLE("PDM LDM Enter Ramp Switch", CS35L36_DAC_MSM_CFG,
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dtwl6040.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <sound/soc-dapm.h>
61 u8 dl12_cache[TWL6040_REG_HFRCTL - TWL6040_REG_HSLCTL + 1];
69 /* set of rates for each pll: low-power and high-performance */
95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent)
104 return -EIO; in twl6040_read()
112 value = priv->dl12_cache[reg - TWL6040_REG_HSLCTL]; in twl6040_read()
132 return priv->dl1_unmuted; in twl6040_can_write_to_chip()
135 return priv->dl2_unmuted; in twl6040_can_write_to_chip()
152 priv->dl12_cache[reg - TWL6040_REG_HSLCTL] = value; in twl6040_update_dl12_cache()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
469 tristate "Analog Devices AU1761 CODEC - I2C"
475 tristate "Analog Devices AU1761 CODEC - SPI"
512 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
518 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
521 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
527 will be called snd-soc-adau7118-hw.
530 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"
535 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
[all …]
Dcs42l43.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and
15 #include <linux/mfd/cs42l43-regs.h>
22 #include <sound/soc-component.h>
23 #include <sound/soc-dapm.h>
24 #include <sound/soc-dai.h>
126 dev_err(priv->dev, "Error " #name " IRQ\n"); \
147 dev_dbg(priv->dev, #name " completed\n"); \ in CS42L43_IRQ_ERROR()
148 complete(&priv->name); \ in CS42L43_IRQ_ERROR()
173 dev_dbg(priv->dev, "Microphone shutter changed\n");
[all …]
Dtlv320adc3xxx.c1 // SPDX-License-Identifier: GPL-2.0-only
8 // Copyright (C) 2014-2018, Ambarella, Inc.
15 #include <dt-bindings/sound/tlv320adc3xxx.h>
34 #include <sound/soc-dapm.h>
59 * Setting the clock source using simple-card (clocks or
60 * system-clock-frequency property) sets clk_id = 0 = ADC3XXX_PLL_AUTO.
78 /* 2-3 Reserved */
86 /* 9-17 Reserved */
93 /* 23-24 Reserved */
109 /* 39-41 Reserved */
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/arizona/
Dpdata.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <dt-bindings/mfd/arizona.h>
12 #include <linux/regulator/arizona-ldo1.h>
13 #include <linux/regulator/arizona-micsupp.h>
36 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */
37 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */
38 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */
178 /** PDM speaker mute setting */
181 /** PDM speaker format */
/kernel/linux/linux-5.10/include/linux/mfd/arizona/
Dpdata.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <dt-bindings/mfd/arizona.h>
12 #include <linux/regulator/arizona-ldo1.h>
13 #include <linux/regulator/arizona-micsupp.h>
36 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */
37 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */
38 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */
178 /** PDM speaker mute setting */
181 /** PDM speaker format */
/kernel/linux/linux-5.10/include/uapi/sound/sof/
Dtokens.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
32 * Tokens - must match values in topology configurations
102 /* DMIC PDM */
130 /* Led control for mute switches */
/kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/
Dmeson-sm1-sei610.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-sm1.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/meson-g12a-gpio.h>
12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
23 mono_dac: audio-codec-0 {
25 #sound-dai-cells = <0>;
26 sound-name-prefix = "U16";
[all …]
/kernel/linux/linux-6.6/include/uapi/sound/sof/
Dtokens.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
32 * Tokens - must match values in topology configurations
128 /* DMIC PDM */
156 /* Led control for mute switches */
/kernel/linux/linux-5.10/sound/soc/sof/
Dtopology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
19 #include "sof-priv.h"
20 #include "sof-audio.h"
26 * from dB gain 20th root of 10 in Q1.16 fixed-point notation
29 /* 40th root of 10 in Q1.16 fixed-point notation*/
61 struct snd_soc_component *scomp = swidget->scomp; in ipc_pcm_params()
71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params()
73 dev_err(scomp->dev, "error: cannot find PCM for %s\n", in ipc_pcm_params()
74 swidget->widget->name); in ipc_pcm_params()
75 return -EINVAL; in ipc_pcm_params()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/meson/
Dpinctrl-meson-a1.c1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 #include <dt-bindings/gpio/meson-a1-gpio.h>
10 #include "pinctrl-meson.h"
11 #include "pinctrl-meson-axg-pmx.h"
244 /* pdm */
338 /* mute */
858 FUNCTION(pdm),
875 FUNCTION(mute),
907 .name = "periphs-banks",
923 .compatible = "amlogic,meson-a1-periphs-pinctrl",
[all …]
/kernel/linux/linux-6.6/drivers/pinctrl/meson/
Dpinctrl-meson-a1.c1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 #include <dt-bindings/gpio/meson-a1-gpio.h>
10 #include "pinctrl-meson.h"
11 #include "pinctrl-meson-axg-pmx.h"
244 /* pdm */
338 /* mute */
858 FUNCTION(pdm),
875 FUNCTION(mute),
907 .name = "periphs-banks",
923 .compatible = "amlogic,meson-a1-periphs-pinctrl",
[all …]
/kernel/linux/linux-6.6/sound/soc/generic/
Dtest-component.c1 // SPDX-License-Identifier: GPL-2.0
3 // test-component.c -- Test Audio Component driver
38 #define mile_stone(d) dev_info((d)->dev, "%s() : %s", __func__, (d)->driver->name)
72 dev_info(dai->dev, "name : %s", dai->name); in test_dai_set_fmt()
95 str = "pdm"; in test_dai_set_fmt()
98 dev_info(dai->dev, "format : %s", str); in test_dai_set_fmt()
104 dev_info(dai->dev, "clock : %s", str); in test_dai_set_fmt()
121 dev_info(dai->dev, "clock : codec is %s", str); in test_dai_set_fmt()
138 dev_info(dai->dev, "signal : %s", str); in test_dai_set_fmt()
143 static int test_dai_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in test_dai_mute_stream() argument
[all …]
/kernel/linux/linux-6.6/sound/soc/sof/
Dtopology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
18 #include "sof-priv.h"
19 #include "sof-audio.h"
25 * from dB gain 20th root of 10 in Q1.16 fixed-point notation
28 /* 40th root of 10 in Q1.16 fixed-point notation*/
40 * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the
62 token_list = tplg_ops ? tplg_ops->token_list : NULL; in sof_update_ipc_object()
68 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id); in sof_update_ipc_object()
69 return -EINVAL; in sof_update_ipc_object()
78 dev_err(scomp->dev, "Invalid tokens for token id: %d\n", token_id); in sof_update_ipc_object()
[all …]

12