Home
last modified time | relevance | path

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

/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-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-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>
447 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10200, 25, 0);
464 ucontrol->value.integer.value[0] = cs35l36->ldm_mode_sel; in cs35l36_ldm_sel_get()
476 int val = (ucontrol->value.integer.value[0]) ? CS35L36_NG_AMP_EN_MASK : in cs35l36_ldm_sel_put()
479 cs35l36->ldm_mode_sel = val; in cs35l36_ldm_sel_put()
481 regmap_update_bits(cs35l36->regmap, CS35L36_NG_CFG, in cs35l36_ldm_sel_put()
493 SOC_SINGLE("Amp Gain Zero-Cross Switch", CS35L36_AMP_GAIN_CTRL,
495 SOC_SINGLE("PDM LDM Enter Ramp Switch", CS35L36_DAC_MSM_CFG,
[all …]
Dmadera.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and
18 #include <linux/irqchip/irq-madera.h>
22 #include <sound/madera-pdata.h>
24 #include <dt-bindings/sound/madera.h>
143 dev_err(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
145 dev_warn(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
147 dev_dbg(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
150 dev_err(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__)
152 dev_warn(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__)
[all …]
Dwm8995.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * wm8995.h -- WM8995 ALSA SoC Audio driver
753 * R0 (0x00) - Software Reset
755 #define WM8995_SW_RESET_MASK 0xFFFF /* SW_RESET - [15:0] */
756 #define WM8995_SW_RESET_SHIFT 0 /* SW_RESET - [15:0] */
757 #define WM8995_SW_RESET_WIDTH 16 /* SW_RESET - [15:0] */
760 * R1 (0x01) - Power Management (1)
792 * R2 (0x02) - Power Management (2)
812 * R3 (0x03) - Power Management (3)
872 * R4 (0x04) - Power Management (4)
[all …]
Dwm8996.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * wm8996.h - WM8996 audio codec interface
744 * R0 (0x00) - Software Reset
746 #define WM8996_SW_RESET_MASK 0xFFFF /* SW_RESET - [15:0] */
747 #define WM8996_SW_RESET_SHIFT 0 /* SW_RESET - [15:0] */
748 #define WM8996_SW_RESET_WIDTH 16 /* SW_RESET - [15:0] */
751 * R1 (0x01) - Power Management (1)
783 * R2 (0x02) - Power Management (2)
803 * R3 (0x03) - Power Management (3)
847 * R4 (0x04) - Power Management (4)
[all …]
Drt5670.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5670.c -- RT5670 ALSA SoC audio codec driver
25 #include <sound/soc-dapm.h>
31 #include "rt5670-dsp.h"
50 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
422 * rt5670_headset_detect - Detect headset.
457 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect()
464 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect()
471 rt5670->jack_type = 0; in rt5670_headset_detect()
476 return rt5670->jack_type; in rt5670_headset_detect()
[all …]
Drt5645.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5645.c -- RT5645 ALSA SoC audio codec driver
27 #include <sound/soc-dapm.h>
41 static unsigned int quirk = -1;
638 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
639 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);
640 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
641 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0);
655 /* {-6, -4.5, -3, -1.5, 0, 0.82, 1.58, 2.28} dB */
657 0, 4, TLV_DB_SCALE_ITEM(-600, 150, 0),
[all …]
/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-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-5.10/sound/pci/hda/
Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
32 /* extra amp-initialization sequence types */
90 /* mute LED for HP laptops, see vref_mute_led_set() */
165 if (val != -1) in alc_update_coefex_idx()
176 struct alc_spec *spec = codec->spec; in alc_get_coef0()
178 if (!spec->coef0) in alc_get_coef0()
179 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0()
180 return spec->coef0; in alc_get_coef0()
193 #define WRITE_COEFEX(_nid, _idx, _val) UPDATE_COEFEX(_nid, _idx, -1, _val)
200 for (; fw->nid; fw++) { in alc_process_coef_fw()
[all …]
/kernel/linux/linux-5.10/sound/soc/stm/
Dstm32_sai_sub.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
10 #include <linux/clk-provider.h>
41 #define STM_SAI_IS_PLAYBACK(ip) ((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK)
42 #define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE)
47 #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID)
48 #define STM_SAI_IS_SUB_B(x) ((x)->id == STM_SAI_B_ID)
49 #define STM_SAI_BLOCK_NAME(x) (((x)->id == STM_SAI_A_ID) ? "A" : "B")
55 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif)
56 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm)
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-core.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-core.c -- ALSA SoC Audio Layer
11 // with code, comments and ideas from :-
40 #include <sound/soc-dpcm.h>
41 #include <sound/soc-topology.h>
42 #include <sound/soc-link.h>
76 return sprintf(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show()
86 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_set()
110 return attr->mode; /* always visible */ in soc_dev_attr_is_visible()
111 return rtd->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible()
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch6 Change-Id: I9825adaa8537a316db8a1831e759a74223b9e428
7 ---
9 drivers/block/nbd.c | 6 -
12 drivers/clk/clk.c | 2 +-
13 drivers/clk/rockchip/Kconfig | 42 +-
15 drivers/clk/rockchip/clk-cpu.c | 92 +-
16 drivers/clk/rockchip/clk-ddr.c | 171 +-
17 drivers/clk/rockchip/clk-half-divider.c | 35 +-
18 drivers/clk/rockchip/clk-pll.c | 779 ++-
19 drivers/clk/rockchip/clk-rk3399.c | 589 +-
[all …]
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch1 diff -Naur a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
2 --- a/arch/arm/boot/Makefile 2022-05-27 17:20:13.781877650 +0800
3 +++ b/arch/arm/boot/Makefile 2022-05-31 11:56:47.693259679 +0800
4 @@ -16,6 +16,7 @@
12 @@ -24,10 +25,12 @@
13 ZRELADDR := $(zreladdr-y)
14 PARAMS_PHYS := $(params_phys-y)
15 INITRD_PHYS := $(initrd_phys-y)
16 +DTB_OBJS ?= $(dtb-y)
21 -targets := Image zImage xipImage bootpImage uImage
[all …]