Home
last modified time | relevance | path

Searched +full:headset +full:- +full:codec (Results 1 – 25 of 137) sorted by relevance

123456

/linux/Documentation/devicetree/bindings/sound/
H A Dsamsung,aries-wm8994.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Aries audio complex with WM8994 codec
10 - Jonathan Bakker <xc-racer2@live.ca>
13 - $ref: sound-card-common.yaml#
19 - samsung,aries-wm8994
21 - samsung,fascinate4g-wm8994
27 sound-dai:
[all …]
H A Dsamsung,midas-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,midas-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Midas audio complex with WM1811 codec
10 - Sylwester Nawrocki <s.nawrocki@samsung.com>
13 - $ref: sound-card-common.yaml#
17 const: samsung,midas-audio
23 sound-dai:
27 - sound-dai
[all …]
H A Dnvidia,tegra-audio-alc5632.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-alc5632.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra audio complex with ALC5632 CODEC
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - pattern: '^[a-z0-9]+,tegra-audio-alc5632(-[a-z0-9]+)+$'
20 - const: nvidia,tegra-audio-alc5632
[all …]
H A Dmt8192-mt6359-rt1015-rt5682.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
11 - Shane Chien <shane.chien@mediatek.com>
17 - $ref: sound-card-common.yaml#
22 - mediatek,mt8192_mt6359_rt1015_rt5682
23 - mediatek,mt8192_mt6359_rt1015p_rt5682
24 - mediatek,mt8192_mt6359_rt1015p_rt5682s
[all …]
H A Dmt8186-mt6366-da7219-max98357.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-da7219-max98357.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
16 - $ref: sound-card-common.yaml#
21 - mediatek,mt8186-mt6366-da7219-max98357-sound
23 audio-routing:
24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
30 power supplies, MicBias of codec and the software switch.
[all …]
H A Dmt8186-mt6366-rt1019-rt5682s.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
16 - $ref: sound-card-common.yaml#
21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound
22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound
23 - mediatek,mt8186-mt6366-rt5650-sound
25 audio-routing:
[all …]
H A Dnvidia,tegra-audio-rt5677.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5677.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra audio complex with RT5677 CODEC
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - pattern: '^[a-z0-9]+,tegra-audio-rt5677(-[a-z0-9]+)+$'
20 - const: nvidia,tegra-audio-rt5677
[all …]
H A Drt5663.txt1 RT5663 audio CODEC
7 - compatible : "realtek,rt5663".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
13 - avdd-supply: Power supply for AVDD, providing 1.8V.
15 - cpvdd-supply: Power supply for CPVDD, providing 3.5V.
19 - "realtek,dc_offset_l_manual"
20 - "realtek,dc_offset_r_manual"
21 - "realtek,dc_offset_l_manual_mic"
22 - "realtek,dc_offset_r_manual_mic"
[all …]
/linux/sound/soc/intel/boards/
H A Dcht_bsw_rt5672.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cht_bsw_rt5672.c - ASoc Machine driver for Intel Cherryview-based platforms
4 * Cherrytrail and Braswell, with RT5672 codec.
22 #include <sound/soc-acpi.h>
24 #include "../atom/sst-atom-control
33 struct snd_soc_jack headset; global() member
[all...]
H A Dsof_cs42l42.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Intel SOF Machine Driver with Cirrus Logic CS42L42 Codec
6 * and speaker codec MAX98357A
20 #include <sound/soc-acpi.h>
21 #include <dt-bindings/sound/cs42l42.h>
22 #include "../common/soc-intel-quirks.h"
32 .pin = "Headset Mic",
42 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_cs42l42_init()
43 struct snd_soc_component *component = snd_soc_rtd_to_codec(rtd, 0)->component; in sof_cs42l42_init()
44 struct snd_soc_jack *jack = &ctx->headset_jack; in sof_cs42l42_init()
[all …]
H A Dsof_nau8825.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Intel SOF Machine Driver with Nuvoton headphone codec NAU8825
7 * and speaker codec RT1019P MAX98360a or MAX98373
20 #include <sound/soc-acpi.h>
22 #include "../common/soc-intel-quirks.h"
36 .pin = "Headset Mi
[all...]
H A Dehl_rt5660.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * ehl_rt5660 - ASOC Machine driver for Elkhart Lake platforms
6 * with rt5660 codec
21 #include <sound/soc-acpi.h>
38 SOC_DAPM_PIN_SWITCH("Headset Mic"),
39 SOC_DAPM_PIN_SWITCH("Headset Mic2"),
45 SND_SOC_DAPM_MIC("Headset Mic", NULL),
46 SND_SOC_DAPM_MIC("Headset Mic2", NULL),
54 {"Headset Mic", NULL, "MICBIAS1"},
55 {"Headset Mic2", NULL, "MICBIAS2"},
[all …]
H A Dcht_bsw_rt5645.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cht-bsw-rt5645.c - ASoc Machine driver for Intel Cherryview-based platforms
4 * Cherrytrail and Braswell, with RT5645 codec.
25 #include <sound/soc-acp
[all...]
H A Dsof_da7219.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Intel SOF Machine driver for Dialog headphone codec
15 #include <sound/soc-acpi.h>
21 /* Driver-specific board quirks: from bit 0 to 7 */
27 #define DIALOG_CODEC_DAI "da7219-hifi"
32 struct snd_soc_card *card = snd_soc_dapm_to_card(w->dapm); in platform_clock_control()
37 if (ctx->da721 in platform_clock_control()
[all...]
H A Dsof_rt5682.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2019-2020 Intel Corporation.
5 * Intel SOF Machine Driver with Realtek rt5682 Codec
6 * and speaker codec MAX98357A or RT1015.
22 #include <sound/soc-acpi.h>
26 #include "../common/soc-intel-quirk
[all...]
/linux/sound/soc/ti/
H A Domap-abe-twl6040.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * omap-abe-twl6040.c -- SoC audio for TI OMAP based boards with ABE and
4 * twl6040 codec
20 #include "omap-dmi
[all...]
/linux/sound/soc/amd/
H A Dacp-rt5645.c1 // SPDX-License-Identifier: MIT
3 * Machine driver for AMD ACP Audio engine using Realtek RT5645 codec
14 #include <sound/soc-dapm.h>
31 .pin = "Headset Mic",
46 dev_err(rtd->dev, "can't set codec pll: %d\n", ret);
53 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret);
64 struct snd_soc_component *codec; in cz_aif1_hw_params()
84 struct snd_soc_component *codec; cz_init() local
[all...]
H A Dacp-es8336.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Machine driver for AMD Stoney platform using ES8336 Codec
12 #include <sound/soc-dapm.h>
53 .pin = "Headset Mic",
62 struct snd_soc_component *codec; in st_es8336_init()
64 codec = snd_soc_rtd_to_codec(rtd, 0)->component; in st_es8336_init()
65 card = rtd->car in st_es8336_init()
63 struct snd_soc_component *codec; st_es8336_init() local
[all...]
H A Dacp3x-rt5682-max9836.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Machine driver for AMD ACP Audio engine using DA7219 & MAX98357 codec.
11 #include <sound/soc-dapm.h>
36 .pin = "Headset Mic",
55 struct snd_soc_card *card = rtd->card; in acp3x_5682_init()
57 struct snd_soc_component *component = codec_dai->component; in acp3x_5682_init()
59 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp3x_5682_init()
66 dev_err(rtd->card->dev, in acp3x_5682_init()
71 /* set codec PLL */ in acp3x_5682_init()
75 dev_err(rtd->dev, "can't set rt5682 PLL: %d\n", ret); in acp3x_5682_init()
[all …]
/linux/sound/soc/amd/acp/
H A Dacp-mach-common.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
19 #include <sound/soc-dapm.h>
30 #include "acp-mach.h"
36 #define NAU8821_CODEC_DAI "nau8821-hifi"
39 #define MAX98388_CODEC_DAI "max98388-aif
[all...]
/linux/sound/hda/codecs/realtek/
H A Dalc662.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * 6-channel independent captures.
18 * In addition, an independent DAC for the multi-playback (not used in this
26 static int alc662_parse_auto_config(struct hda_codec *codec) in alc662_parse_auto_config() argument
33 if (codec->core.vendor_id == 0x10ec0272 || codec->core.vendor_id == 0x10ec0663 || in alc662_parse_auto_config()
34 codec->core.vendor_id == 0x10ec0665 || codec->core.vendor_id == 0x10ec0670 || in alc662_parse_auto_config()
35 codec->core.vendor_id == 0x10ec0671) in alc662_parse_auto_config()
39 return alc_parse_auto_config(codec, alc662_ignore, ssids); in alc662_parse_auto_config()
42 static void alc272_fixup_mario(struct hda_codec *codec, in alc272_fixup_mario() argument
47 if (snd_hda_override_amp_caps(codec, 0x2, HDA_OUTPUT, in alc272_fixup_mario()
[all …]
H A Dalc269.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 /* different alc269-variants */
50 static int alc269_parse_auto_config(struct hda_codec *codec) in alc269_parse_auto_config() argument
55 struct alc_spec *spec = codec->spec; in alc269_parse_auto_config()
58 switch (spec->codec_variant) { in alc269_parse_auto_config()
90 return alc_parse_auto_config(codec, alc269_ignore, ssids); in alc269_parse_auto_config()
101 static void alc_headset_btn_callback(struct hda_codec *codec, in alc_headset_btn_callback() argument
106 if (jack->unsol_res & (7 << 13)) in alc_headset_btn_callback()
109 if (jack->unsol_res & (1 << 16 | 3 << 8)) in alc_headset_btn_callback()
113 if (jack->unsol_res & (7 << 23)) in alc_headset_btn_callback()
[all …]
/linux/sound/soc/codecs/
H A Dmc13783.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 #include <sound/soc-dapm.h>
97 struct snd_soc_component *component = dai->component; in mc13783_pcm_hw_params_dac()
109 return -EINVAL; in mc13783_pcm_hw_params_dac()
116 struct snd_soc_component *component = dai->component; in mc13783_pcm_hw_params_codec()
128 return -EINVAL; in mc13783_pcm_hw_params_codec()
141 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mc13783_pcm_hw_params_sync()
150 struct snd_soc_component *component = dai->component; in mc13783_set_fmt()
165 return -EINVAL; in mc13783_set_fmt()
192 return -EINVAL; in mc13783_set_fmt()
[all …]
H A Dab8500-codec.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
8 * for ST-Ericsson.
14 * for ST-Ericsson.
29 #include <linux/mfd/abx500/ab8500-sysctrl.h>
30 #include <linux/mfd/abx500/ab8500-codec.h>
39 #include <sound/soc-dapm.h>
42 #include "ab8500-codec.h"
56 /* Nr of FIR/IIR-coeff banks in ANC-block */
75 /* Private data for AB8500 device-driver */
[all …]
/linux/sound/hda/codecs/
H A Dconexant.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD audio codec driver for Conexant HDA audio codec
7 * Tobin Davis <tdavis@dsl-only.net>
63 spec->gen.beep_nid = nid; in set_beep_amp()
65 knew = snd_hda_gen_add_kctl(&spec->ge in set_beep_amp()
74 cx_auto_parse_beep(struct hda_codec * codec) cx_auto_parse_beep() argument
85 cx_auto_parse_beep(codec) global() argument
93 cx_auto_parse_eapd(struct hda_codec * codec) cx_auto_parse_eapd() argument
118 cx_auto_turn_eapd(struct hda_codec * codec,int num_pins,const hda_nid_t * pins,bool on) cx_auto_turn_eapd() argument
133 struct hda_codec *codec = private_data; cx_auto_vmaster_hook() local
143 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cx_auto_vmaster_mute_led() local
152 cxt_init_gpio_led(struct hda_codec * codec) cxt_init_gpio_led() argument
167 cx_fixup_headset_recog(struct hda_codec * codec) cx_fixup_headset_recog() argument
188 cx_init(struct hda_codec * codec) cx_init() argument
204 cx_auto_shutdown(struct hda_codec * codec) cx_auto_shutdown() argument
213 cx_remove(struct hda_codec * codec) cx_remove() argument
219 cx_process_headset_plugin(struct hda_codec * codec) cx_process_headset_plugin() argument
246 cx_update_headset_mic_vref(struct hda_codec * codec,struct hda_jack_callback * event) cx_update_headset_mic_vref() argument
261 cx_suspend(struct hda_codec * codec) cx_suspend() argument
311 cxt_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_stereo_dmic() argument
319 cxt_fixup_update_pinctl(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_update_pinctl() argument
331 cxt5066_increase_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt5066_increase_mic_boost() argument
344 cxt_update_headset_mode(struct hda_codec * codec) cxt_update_headset_mode() argument
371 cxt_update_headset_mode_hook(struct hda_codec * codec,struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) cxt_update_headset_mode_hook() argument
378 cxt_fixup_headphone_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headphone_mic() argument
399 cxt_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headset_mic() argument
420 update_mic_pin(codec,nid,val) global() argument
433 olpc_xo_update_mic_boost(struct hda_codec * codec) olpc_xo_update_mic_boost() argument
448 olpc_xo_update_mic_pins(struct hda_codec * codec) olpc_xo_update_mic_pins() argument
503 olpc_xo_automic(struct hda_codec * codec,struct hda_jack_callback * jack) olpc_xo_automic() argument
518 olpc_xo_capture_hook(struct hda_pcm_stream * hinfo,struct hda_codec * codec,struct snd_pcm_substream * substream,int action) olpc_xo_capture_hook() argument
542 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_get() local
551 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_put() local
567 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_get() local
582 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_put() local
623 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_mic_boost_put() local
631 cxt_fixup_olpc_xo(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_olpc_xo() argument
662 cxt_fixup_mute_led_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_eapd() argument
678 cxt_fixup_cap_mix_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp() argument
692 cxt_fixup_cap_mix_amp_5047(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp_5047() argument
702 cxt_fixup_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_gate_mic_jack() argument
714 cxt_update_gpio_led(struct hda_codec * codec,unsigned int mask,bool led_on) cxt_update_gpio_led() argument
738 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_mute_update() local
749 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_micmute_update() local
756 cxt_setup_mute_led(struct hda_codec * codec,unsigned int mute,unsigned int mic_mute) cxt_setup_mute_led() argument
773 cxt_setup_gpio_unmute(struct hda_codec * codec,unsigned int gpio_mute_mask) cxt_setup_gpio_unmute() argument
785 cxt_fixup_mute_led_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_gpio() argument
792 cxt_fixup_hp_zbook_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_zbook_mute_led() argument
799 cxt_fixup_hp_a_u(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_a_u() argument
1168 add_cx5051_fake_mutes(struct hda_codec * codec) add_cx5051_fake_mutes() argument
1183 cx_probe(struct hda_codec * codec,const struct hda_device_id * id) cx_probe() argument
[all...]

123456