Home
last modified time | relevance | path

Searched +full:spk +full:- +full:shutdown (Results 1 – 25 of 70) sorted by relevance

123

/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_sdw_max98373.c1 // SPDX-License-Identifier: GPL-2.0-only
4 // sof_sdw_max98373 - Helpers to handle 2x MAX98373
11 #include <sound/soc-acpi.h>
12 #include <sound/soc-dapm.h>
17 SND_SOC_DAPM_SPK("Left Spk", NULL),
18 SND_SOC_DAPM_SPK("Right Spk", NULL),
22 SOC_DAPM_PIN_SWITCH("Left Spk"),
23 SOC_DAPM_PIN_SWITCH("Right Spk"),
28 struct snd_soc_card *card = rtd->card; in spk_init()
31 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in spk_init()
[all …]
Dsof_pcm512x.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2018-2020 Intel Corporation.
20 #include <sound/soc-acpi.h>
22 #include "../common/soc-intel-quirks.h"
55 sof_pcm512x_quirk = (unsigned long)id->driver_data; in sof_pcm512x_quirk_cb()
64 DMI_MATCH(DMI_PRODUCT_NAME, "UP-CHT01"),
73 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_hdmi_init()
77 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_hdmi_init()
79 return -ENOMEM; in sof_hdmi_init()
82 pcm->device = rtd->dai_link->id; in sof_hdmi_init()
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/boards/
Dsof_sdw_maxim.c1 // SPDX-License-Identifier: GPL-2.0-only
4 // sof_sdw_maxim - Helpers to handle maxim codecs
11 #include <sound/soc-acpi.h>
12 #include <sound/soc-dapm.h>
21 SND_SOC_DAPM_SPK("Left Spk", NULL),
22 SND_SOC_DAPM_SPK("Right Spk", NULL),
26 SOC_DAPM_PIN_SWITCH("Left Spk"),
27 SOC_DAPM_PIN_SWITCH("Right Spk"),
32 struct snd_soc_card *card = rtd->card; in spk_init()
35 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in spk_init()
[all …]
Dsof_pcm512x.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2018-2020 Intel Corporation.
20 #include <sound/soc-acpi.h>
22 #include "../common/soc-intel-quirks.h"
55 sof_pcm512x_quirk = (unsigned long)id->driver_data; in sof_pcm512x_quirk_cb()
64 DMI_MATCH(DMI_PRODUCT_NAME, "UP-CHT01"),
73 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_hdmi_init()
77 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_hdmi_init()
79 return -ENOMEM; in sof_hdmi_init()
82 pcm->device = rtd->dai_link->id; in sof_hdmi_init()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
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
30 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
33 pinctrl-0:
38 pinctrl-names:
43 pin-settings:
50 '-pins$':
53 - $ref: "pincfg-node.yaml#"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/
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
30 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
33 pin-settings:
40 '-pins$':
43 - $ref: pincfg-node.yaml#
44 - $ref: pinmux-node.yaml#
63 dmic6, io, dsp-gpio, irq1, irq2, fll1-clk,
[all …]
/kernel/linux/linux-5.10/sound/soc/amd/
Dacp3x-rt5682-max9836.c1 // SPDX-License-Identifier: GPL-2.0+
11 #include <sound/soc-dapm.h>
45 struct snd_soc_card *card = rtd->card; in acp3x_5682_init()
47 struct snd_soc_component *component = codec_dai->component; in acp3x_5682_init()
49 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp3x_5682_init()
56 dev_err(rtd->card->dev, in acp3x_5682_init()
65 dev_err(rtd->dev, "can't set rt5682 PLL: %d\n", ret); in acp3x_5682_init()
73 dev_err(rtd->dev, in acp3x_5682_init()
81 dev_err(rtd->dev, in acp3x_5682_init()
86 rt5682_dai_wclk = clk_get(component->dev, "rt5682-dai-wclk"); in acp3x_5682_init()
[all …]
/kernel/linux/linux-6.6/sound/soc/amd/
Dacp3x-rt5682-max9836.c1 // SPDX-License-Identifier: GPL-2.0+
11 #include <sound/soc-dapm.h>
56 struct snd_soc_card *card = rtd->card; in acp3x_5682_init()
58 struct snd_soc_component *component = codec_dai->component; in acp3x_5682_init()
60 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp3x_5682_init()
67 dev_err(rtd->card->dev, in acp3x_5682_init()
76 dev_err(rtd->dev, "can't set rt5682 PLL: %d\n", ret); in acp3x_5682_init()
84 dev_err(rtd->dev, in acp3x_5682_init()
92 dev_err(rtd->dev, in acp3x_5682_init()
97 rt5682_dai_wclk = clk_get(component->dev, "rt5682-dai-wclk"); in acp3x_5682_init()
[all …]
/kernel/linux/linux-5.10/sound/soc/pxa/
Dpoodle.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * poodle.c -- SoC audio for Poodle
22 #include <asm/mach-types.h>
28 #include "pxa2xx-i2s.h"
35 /* audio clock in Hz - rounded from 12.235MHz */
61 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in poodle_ext_control()
63 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in poodle_ext_control()
74 poodle_ext_control(&rtd->card->dapm); in poodle_startup()
79 /* we need to unmute the HP at shutdown as the mute burns power on poodle */
130 .shutdown = poodle_shutdown,
[all …]
Dcorgi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * corgi.c -- SoC audio for Corgi
23 #include <asm/mach-types.h>
28 #include "pxa2xx-i2s.h"
38 /* audio clock in Hz - rounded from 12.235MHz */
87 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in corgi_ext_control()
89 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in corgi_ext_control()
102 corgi_ext_control(&rtd->card->dapm); in corgi_startup()
107 /* we need to unmute the HP at shutdown as the mute burns power on corgi */
156 .shutdown = corgi_shutdown,
[all …]
/kernel/linux/linux-6.6/sound/soc/ti/
Dn810.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * n810.c -- SoC audio for Nokia N810
17 #include <asm/mach-types.h>
20 #include <linux/platform_data/asoc-ti-mcbsp.h>
22 #include "omap-mcbsp.h"
61 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in n810_ext_control()
63 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in n810_ext_control()
86 struct snd_pcm_runtime *runtime = substream->runtime; in n810_startup()
91 n810_ext_control(&rtd->card->dapm); in n810_startup()
117 .shutdown = n810_shutdown,
[all …]
/kernel/linux/linux-5.10/sound/soc/ti/
Dn810.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * n810.c -- SoC audio for Nokia N810
17 #include <asm/mach-types.h>
20 #include <linux/platform_data/asoc-ti-mcbsp.h>
22 #include "omap-mcbsp.h"
61 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in n810_ext_control()
63 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in n810_ext_control()
86 struct snd_pcm_runtime *runtime = substream->runtime; in n810_startup()
91 n810_ext_control(&rtd->card->dapm); in n810_startup()
117 .shutdown = n810_shutdown,
[all …]
/kernel/linux/linux-6.6/sound/soc/amd/acp/
Dacp-mach-common.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
19 #include <sound/soc-dapm.h>
29 #include "acp-mach.h"
35 #define NAU8821_CODEC_DAI "nau8821-hifi"
38 #define MAX98388_CODEC_DAI "max98388-aif1"
44 /* Google skyrim proto-0 */
77 clk_set_rate(drvdata->wclk, srate); in acp_clk_enable()
78 clk_set_rate(drvdata->bclk, srate * bclk_ratio); in acp_clk_enable()
80 return clk_prepare_enable(drvdata->wclk); in acp_clk_enable()
85 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC5682:00", "rt5682-aif1")));
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/
Dspkguide.txt16 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
25 http://linux-speakup.org/. Speakup is a set of patches to the standard
33 the system is shutdown. This means that if you have obtained Linux
72 acntsa -- Accent SA
73 acntpc -- Accent PC
74 apollo -- Apollo
75 audptr -- Audapter
76 bns -- Braille 'n Speak
77 dectlk -- DecTalk Express (old and new, db9 serial only)
78 decext -- DecTalk (old) External
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dspkguide.txt16 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
25 http://linux-speakup.org/. Speakup is a set of patches to the standard
33 the system is shutdown. This means that if you have obtained Linux
72 acntsa -- Accent SA
73 acntpc -- Accent PC
74 apollo -- Apollo
75 audptr -- Audapter
76 bns -- Braille 'n Speak
77 dectlk -- DecTalk Express (old and new, db9 serial only)
78 decext -- DecTalk (old) External
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dmax98090.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98090.c -- MAX98090 ALSA SoC Audio driver
5 * Copyright 2011-2012 Maxim Integrated Products
73 { 0x2E, 0x00 }, /* 2E Left Spk Mixer */
74 { 0x2F, 0x00 }, /* 2F Right Spk Mixer */
76 { 0x30, 0x00 }, /* 30 Spk Control */
77 { 0x31, 0x2C }, /* 31 Left Spk Volume */
78 { 0x32, 0x2C }, /* 32 Right Spk Volume */
98 { 0x45, 0x00 }, /* 45 Device Shutdown */
279 /* Reset the codec by writing to this write-only reset register */ in max98090_reset()
[all …]
Drt700.c1 // SPDX-License-Identifier: GPL-2.0
3 // rt700.c -- rt700 ALSA SoC audio driver
24 #include <sound/soc-dapm.h>
66 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE1, &val80); in rt700_button_detect()
69 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE2, &val81); in rt700_button_detect()
112 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect()
122 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect()
128 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect()
137 rt700->jack_type = SND_JACK_HEADPHONE; in rt700_headset_detect()
140 rt700->jack_type = SND_JACK_HEADSET; in rt700_headset_detect()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmax98090.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98090.c -- MAX98090 ALSA SoC Audio driver
5 * Copyright 2011-2012 Maxim Integrated Products
74 { 0x2E, 0x00 }, /* 2E Left Spk Mixer */
75 { 0x2F, 0x00 }, /* 2F Right Spk Mixer */
77 { 0x30, 0x00 }, /* 30 Spk Control */
78 { 0x31, 0x2C }, /* 31 Left Spk Volume */
79 { 0x32, 0x2C }, /* 32 Right Spk Volume */
99 { 0x45, 0x00 }, /* 45 Device Shutdown */
280 /* Reset the codec by writing to this write-only reset register */ in max98090_reset()
[all …]
Drt700.c1 // SPDX-License-Identifier: GPL-2.0
3 // rt700.c -- rt700 ALSA SoC audio driver
23 #include <sound/soc-dapm.h>
65 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE1, &val80); in rt700_button_detect()
68 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE2, &val81); in rt700_button_detect()
111 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect()
121 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect()
127 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect()
136 rt700->jack_type = SND_JACK_HEADPHONE; in rt700_headset_detect()
139 rt700->jack_type = SND_JACK_HEADSET; in rt700_headset_detect()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/
Dpinctrl-madera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2018 Cirrus Logic
17 #include <linux/pinctrl/pinconf-generic.h>
22 #include "../pinctrl-utils.h"
24 #include "pinctrl-madera.h"
28 * NOTE: IDs are zero-indexed for coding convenience
74 * All single-pin functions can be mapped to any GPIO, however pinmux applies
78 * Since these do not correspond to anything in the actual hardware - they are
79 * merely an adaptation to pinctrl's view of the world - we use the same name
91 /* set of pin numbers for single-pin groups, zero-indexed */
[all …]
/kernel/linux/linux-6.6/drivers/pinctrl/cirrus/
Dpinctrl-madera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2018 Cirrus Logic
17 #include <linux/pinctrl/pinconf-generic.h>
25 #include "../pinctrl-utils.h"
27 #include "pinctrl-madera.h"
31 * NOTE: IDs are zero-indexed for coding convenience
77 * All single-pin functions can be mapped to any GPIO, however pinmux applies
81 * Since these do not correspond to anything in the actual hardware - they are
82 * merely an adaptation to pinctrl's view of the world - we use the same name
94 /* set of pin numbers for single-pin groups, zero-indexed */
[all …]
/kernel/linux/linux-5.10/sound/soc/qcom/
Dsdm845.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <uapi/linux/input-event-codes.h>
52 struct sdm845_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sdm845_slim_snd_hw_params()
60 substream->stream); in sdm845_slim_snd_hw_params()
61 if (sruntime != ERR_PTR(-ENOTSUPP)) in sdm845_slim_snd_hw_params()
62 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params()
67 if (ret != 0 && ret != -ENOTSUPP) { in sdm845_slim_snd_hw_params()
70 } else if (ret == -ENOTSUPP) { in sdm845_slim_snd_hw_params()
75 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sdm845_slim_snd_hw_params()
100 dev_err(rtd->dev, "%s: invalid param format 0x%x\n", in sdm845_tdm_snd_hw_params()
[all …]
/kernel/linux/linux-6.6/sound/soc/qcom/
Dsdm845.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <uapi/linux/input-event-codes.h>
64 struct sdm845_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sdm845_slim_snd_hw_params()
72 substream->stream); in sdm845_slim_snd_hw_params()
73 if (sruntime != ERR_PTR(-ENOTSUPP)) in sdm845_slim_snd_hw_params()
74 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params()
79 if (ret != 0 && ret != -ENOTSUPP) { in sdm845_slim_snd_hw_params()
82 } else if (ret == -ENOTSUPP) { in sdm845_slim_snd_hw_params()
87 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sdm845_slim_snd_hw_params()
93 if (ret != 0 && ret != -ENOTSUPP) { in sdm845_slim_snd_hw_params()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
Dexynos4212-tab3.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include "exynos4412-ppmu-common.dtsi"
12 #include "exynos-mfc-reserved-memory.dtsi"
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/input/gpio-keys.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/
Dtegra20-asus-tf101.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/atmel-maxtouch.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/thermal/thermal.h>
10 #include "tegra20-cpu-opp.dtsi"
11 #include "tegra20-cpu-opp-microvolt.dtsi"
16 chassis-type = "convertible";
33 * pre-existing /chosen node to be available to insert the
[all …]

123