| /kernel/linux/linux-5.10/sound/soc/intel/boards/ |
| D | sof_sdw_max98373.c | 1 // 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 …]
|
| D | sof_pcm512x.c | 1 // 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 …]
|
| D | sof_sdw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw - ASOC Machine driver for Intel SoundWire platforms 14 #include <sound/soc-acpi.h> 18 static int quirk_override = -1; 20 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 27 dev_dbg(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks() 46 sof_sdw_quirk = (unsigned long)id->driver_data; in sof_sdw_quirk_cb() 167 * (e.g. 15-eb1xxx, 14t-ea000 or 13-aw2xxx) 178 /* TigerLake-SDCA devices */ 207 .name = "dmic-codec", [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,madera.yaml | 1 # 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-5.10/sound/soc/amd/ |
| D | acp3x-rt5682-max9836.c | 1 // 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-5.10/sound/soc/pxa/ |
| D | poodle.c | 1 // 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 …]
|
| D | corgi.c | 1 // 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-5.10/sound/soc/ti/ |
| D | n810.c | 1 // 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/Documentation/admin-guide/ |
| D | spkguide.txt | 16 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/sound/soc/codecs/ |
| D | max98090.c | 1 // 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 …]
|
| D | rt700.c | 1 // 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 …]
|
| D | rt5659.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5659.c -- RT5659/RT5658 ALSA SoC audio codec driver 26 #include <sound/soc-dapm.h> 1137 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2325, 75, 0); 1138 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 1139 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 1140 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 1141 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 1143 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0); 1250 * rt5659_headset_detect - Detect headset. [all …]
|
| D | rk3328_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * 0: -39dB 59 regmap_write(rk3328->regmap, CODEC_RESET, 0x00); in rk3328_codec_reset() 61 regmap_write(rk3328->regmap, CODEC_RESET, 0x03); in rk3328_codec_reset() 69 snd_soc_component_get_drvdata(dai->component); in rk3328_set_dai_fmt() 80 return -EINVAL; in rk3328_set_dai_fmt() 83 regmap_update_bits(rk3328->regmap, DAC_INIT_CTRL1, in rk3328_set_dai_fmt() 101 return -EINVAL; in rk3328_set_dai_fmt() 104 regmap_update_bits(rk3328->regmap, DAC_INIT_CTRL2, in rk3328_set_dai_fmt() 113 snd_soc_component_get_drvdata(dai->component); in rk3328_mute_stream() [all …]
|
| D | rt5645.c | 1 // 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 …]
|
| D | wm8985.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8985.c -- WM8985 / WM8758 ALSA SoC Audio driver 49 { 1, 0x0000 }, /* R1 - Power management 1 */ 50 { 2, 0x0000 }, /* R2 - Power management 2 */ 51 { 3, 0x0000 }, /* R3 - Power management 3 */ 52 { 4, 0x0050 }, /* R4 - Audio Interface */ 53 { 5, 0x0000 }, /* R5 - Companding control */ 54 { 6, 0x0140 }, /* R6 - Clock Gen control */ 55 { 7, 0x0000 }, /* R7 - Additional control */ 56 { 8, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
| D | wm8983.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8983.c -- WM8983 ALSA SoC Audio driver 29 { 0x01, 0x0000 }, /* R1 - Power management 1 */ 30 { 0x02, 0x0000 }, /* R2 - Power management 2 */ 31 { 0x03, 0x0000 }, /* R3 - Power management 3 */ 32 { 0x04, 0x0050 }, /* R4 - Audio Interface */ 33 { 0x05, 0x0000 }, /* R5 - Companding control */ 34 { 0x06, 0x0140 }, /* R6 - Clock Gen control */ 35 { 0x07, 0x0000 }, /* R7 - Additional control */ 36 { 0x08, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
| D | rt1011.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * rt1011.c -- rt1011 ALSA SoC amplifier component driver 27 #include <sound/soc-dapm.h> 685 regmap_multi_reg_write(rt1011->regmap, in rt1011_reg_init() 1044 ucontrol->value.integer.value[0] = rt1011->recv_spk_mode; in rt1011_recv_spk_mode_get() 1057 if (ucontrol->value.integer.value[0] == rt1011->recv_spk_mode) in rt1011_recv_spk_mode_put() 1061 rt1011->recv_spk_mode = ucontrol->value.integer.value[0]; in rt1011_recv_spk_mode_put() 1063 if (rt1011->recv_spk_mode) { in rt1011_recv_spk_mode_put() 1125 (struct rt1011_bq_drc_params *)ucontrol->value.integer.value; in rt1011_bq_drc_coeff_get() 1128 if (strstr(ucontrol->id.name, "AdvanceMode Initial Set")) in rt1011_bq_drc_coeff_get() [all …]
|
| D | mt6359.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt6359.c -- mt6359 ALSA SoC audio codec driver 24 regmap_write(priv->regmap, MT6359_GPIO_MODE2_CLR, 0x0ffe); in mt6359_set_playback_gpio() 25 regmap_write(priv->regmap, MT6359_GPIO_MODE2_SET, 0x0249); in mt6359_set_playback_gpio() 28 regmap_write(priv->regmap, MT6359_GPIO_MODE3_CLR, 0x6); in mt6359_set_playback_gpio() 29 regmap_write(priv->regmap, MT6359_GPIO_MODE3_SET, 0x1); in mt6359_set_playback_gpio() 39 regmap_write(priv->regmap, MT6359_GPIO_MODE2_CLR, 0x0ff8); in mt6359_reset_playback_gpio() 40 regmap_update_bits(priv->regmap, MT6359_GPIO_DIR0, 0x7 << 9, 0x0); in mt6359_reset_playback_gpio() 46 regmap_write(priv->regmap, MT6359_GPIO_MODE3_CLR, 0x0e00); in mt6359_set_capture_gpio() 47 regmap_write(priv->regmap, MT6359_GPIO_MODE3_SET, 0x0200); in mt6359_set_capture_gpio() [all …]
|
| D | cs35l35.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l35.c -- CS35L35 ALSA SoC audio driver 28 #include <sound/soc-dapm.h> 163 gpiod_set_value_cansleep(cs35l35->reset_gpio, 0); in cs35l35_reset() 165 gpiod_set_value_cansleep(cs35l35->reset_gpio, 1); in cs35l35_reset() 173 if (cs35l35->pdata.ext_bst) { in cs35l35_wait_for_pdn() 178 reinit_completion(&cs35l35->pdn_done); in cs35l35_wait_for_pdn() 180 ret = wait_for_completion_timeout(&cs35l35->pdn_done, in cs35l35_wait_for_pdn() 183 dev_err(cs35l35->dev, "PDN_DONE did not complete\n"); in cs35l35_wait_for_pdn() 184 return -ETIMEDOUT; in cs35l35_wait_for_pdn() [all …]
|
| D | arizona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arizona.c - Wolfson Arizona class device shared support 67 dev_err(_fll->arizona->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 69 dev_warn(_fll->arizona->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 71 dev_dbg(_fll->arizona->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 74 dev_err(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__) 76 dev_warn(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__) 78 dev_dbg(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__) 84 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in arizona_spk_ev() 85 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in arizona_spk_ev() [all …]
|
| D | wm_adsp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm_adsp.c -- Wolfson ADSP support 36 dev_crit(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 38 dev_err(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 40 dev_warn(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 42 dev_info(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 44 dev_dbg(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__) 47 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \ 50 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \ 88 #define ADSP1_WDMA_BUFFER_LENGTH_MASK 0x00FF /* DSP1_WDMA_BUFFER_LENGTH - [7:0] */ [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/cirrus/ |
| D | pinctrl-madera-core.c | 1 // 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-5.10/sound/soc/qcom/ |
| D | sdm845.c | 1 // 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-5.10/arch/arm/boot/dts/ |
| D | tegra20-acer-a500-picasso.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra20-cpu-opp.dtsi" 10 #include "tegra20-cpu-opp-microvolt.dtsi" 31 * pre-existing /chosen node to be available to insert the 40 reserved-memory { 41 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/exynos/ |
| D | exynos5433-tm2-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/sound/samsung-i2s.h> 48 stdout-path = &serial_1; 56 gpio-keys { 57 compatible = "gpio-keys"; [all …]
|