Home
last modified time | relevance | path

Searched +full:headset +full:- +full:codec (Results 1 – 25 of 147) 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 Drockchip-max98090.txt1 ROCKCHIP with MAX98090 CODEC
4 - compatible: "rockchip,rockchip-audio-max98090"
5 - rockchip,model: The user-visible name of this sound complex
6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
7 connected to the CODEC
10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec.
11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is
12 required if there is rockchip,audio-codec.
13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec.
17 /* For max98090-only board. */
[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 …]
/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-controls.h"
25 #include "../common/soc-intel-quirks.h"
28 /* The platform clock #3 outputs 19.2Mhz clock to codec as I2S MCLK */
30 #define CHT_CODEC_DAI "rt5670-aif1"
33 struct snd_soc_jack headset; member
39 /* Headset jack detection DAPM pins */
[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 Mic",
43 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_nau8825_codec_init()
44 struct snd_soc_component *component = snd_soc_rtd_to_codec(rtd, 0)->component; in sof_nau8825_codec_init()
45 struct snd_soc_jack *jack = &ctx->headset_jack; in sof_nau8825_codec_init()
49 * Headset buttons map to the google Reference headset. in sof_nau8825_codec_init()
[all …]
H A Dbytcht_cx2072x.c1 // SPDX-License-Identifier: GPL-2.0-only
4 // CX2072X codec
17 #include <sound/soc-acpi.h>
19 #include "../atom/sst-atom-controls.h"
23 SND_SOC_DAPM_MIC("Headset Mic", NULL),
33 {"PORTD", NULL, "Headset Mi
73 struct snd_soc_component *codec = snd_soc_rtd_to_codec(rtd, 0)->component; byt_cht_cx2072x_init() local
[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>
40 SOC_DAPM_PIN_SWITCH("Headset Mic"),
41 SOC_DAPM_PIN_SWITCH("Headset Mic2"),
47 SND_SOC_DAPM_MIC("Headset Mic", NULL),
48 SND_SOC_DAPM_MIC("Headset Mic2", NULL),
56 {"Headset Mic", NULL, "MICBIAS1"},
57 {"Headset Mic2", NULL, "MICBIAS2"},
[all …]
H A Dbytcr_wm5102.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcr_wm5102.c - ASoc Machine driver for Intel Baytrail platforms with a
4 * Wolfson Microelectronics WM5102 codec
8 * Copyright (C) 2014-2020 Intel Corp
27 #include <sound/soc-acpi.h>
29 #include "../atom/sst-atom-control
[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-acpi.h>
27 #include "../atom/sst-atom-controls.h"
28 #include "../common/soc-intel-quirks.h"
31 #define CHT_CODEC_DAI1 "rt5645-aif1"
32 #define CHT_CODEC_DAI2 "rt5645-aif2"
69 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
70 struct snd_soc_card *card = dapm->card; in platform_clock_control()
[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_dapm_context *dapm = w->dapm; in platform_clock_control()
33 struct snd_soc_card *card = dapm->card; in platform_clock_control()
38 if (ctx->da7219.pll_bypass) in platform_clock_control()
44 dev_err(card->dev, "Codec dai not found; Unable to set/unset codec pll\n"); in platform_clock_control()
45 return -EIO; in platform_clock_control()
[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-dmic.h"
21 #include "omap-mcpdm.h"
26 DAILINK_COMP_ARRAY(COMP_CODEC("twl6040-codec",
27 "twl6040-legacy")),
32 DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec",
33 "dmic-hifi")),
50 struct snd_soc_card *card = rtd->card; in omap_abe_hw_params()
[all …]
/linux/sound/soc/amd/
H A Dacp-rt5645.c2 * Machine driver for AMD ACP Audio engine using Realtek RT5645 codec
33 #include <sound/soc-dapm.h>
51 .pin = "Headset Mic",
66 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_aif1_hw_params()
73 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_aif1_hw_params()
84 struct snd_soc_component *codec; in cz_init() local
86 codec = snd_soc_rtd_to_codec(rtd, 0)->component; in cz_init()
87 card = rtd->card; in cz_init()
89 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", in cz_init()
97 dev_err(card->dev, "HP jack creation failed %d\n", ret); in cz_init()
[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>
54 .pin = "Headset Mic",
63 struct snd_soc_component *codec; in st_es8336_init() local
65 codec = snd_soc_rtd_to_codec(rtd, 0)->component; in st_es8336_init()
66 card = rtd->card; in st_es8336_init()
68 ret = snd_soc_card_jack_new_pins(card, "Headset", SND_JACK_HEADSET | SND_JACK_BTN_0, in st_es8336_init()
72 dev_err(card->dev, "HP jack creation failed %d\n", ret); in st_es8336_init()
76 ret = snd_soc_component_set_jack(codec, &st_jack, NULL); in st_es8336_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>
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()
83 /* Declare RT5682 codec components */
[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 …]
/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 …]
/linux/sound/soc/intel/avs/boards/
H A Dda7219.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation
15 #include <sound/soc-acpi.h>
16 #include <sound/soc-dapm.h>
17 #include <uapi/linux/input-event-codes.h>
21 #define DA7219_DAI_NAME "da7219-hif
[all...]
/linux/drivers/staging/greybus/
H A Daudio_codec.c1 // SPDX-License-Identifier: GPL-2.0
3 * APBridge ALSA SoC dummy codec driver
26 list_for_each_entry(data, &module->data_list, list) { in find_data()
27 if (id == data->id) in find_data()
34 find_dai_stream_params(struct gbaudio_codec_info *codec, int id, int stream) in find_dai_stream_params() argument
38 list_for_each_entry(dai, &codec->dai_list, list) { in find_dai_stream_params()
39 if (dai->id == id) in find_dai_stream_params()
40 return &dai->params[stream]; in find_dai_stream_params()
45 static int gbaudio_module_enable_tx(struct gbaudio_codec_info *codec, in gbaudio_module_enable_tx() argument
58 dev_err(module->dev, "%d:DATA connection missing\n", id); in gbaudio_module_enable_tx()
[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
310 cxt_fixup_stereo_dmic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_stereo_dmic() argument
318 cxt_fixup_update_pinctl(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_update_pinctl() argument
330 cxt5066_increase_mic_boost(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt5066_increase_mic_boost() argument
343 cxt_update_headset_mode(struct hda_codec * codec) cxt_update_headset_mode() argument
370 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
377 cxt_fixup_headphone_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headphone_mic() argument
398 cxt_fixup_headset_mic(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_headset_mic() argument
419 update_mic_pin(codec,nid,val) global() argument
432 olpc_xo_update_mic_boost(struct hda_codec * codec) olpc_xo_update_mic_boost() argument
447 olpc_xo_update_mic_pins(struct hda_codec * codec) olpc_xo_update_mic_pins() argument
502 olpc_xo_automic(struct hda_codec * codec,struct hda_jack_callback * jack) olpc_xo_automic() argument
517 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
541 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_get() local
550 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_mode_put() local
566 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_get() local
581 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_dc_bias_enum_put() local
622 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); olpc_xo_mic_boost_put() local
630 cxt_fixup_olpc_xo(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_olpc_xo() argument
661 cxt_fixup_mute_led_eapd(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_eapd() argument
677 cxt_fixup_cap_mix_amp(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp() argument
691 cxt_fixup_cap_mix_amp_5047(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_cap_mix_amp_5047() argument
701 cxt_fixup_hp_gate_mic_jack(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_gate_mic_jack() argument
713 cxt_update_gpio_led(struct hda_codec * codec,unsigned int mask,bool led_on) cxt_update_gpio_led() argument
737 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_mute_update() local
748 struct hda_codec *codec = dev_to_hda_codec(led_cdev->dev->parent); cxt_gpio_micmute_update() local
755 cxt_setup_mute_led(struct hda_codec * codec,unsigned int mute,unsigned int mic_mute) cxt_setup_mute_led() argument
772 cxt_setup_gpio_unmute(struct hda_codec * codec,unsigned int gpio_mute_mask) cxt_setup_gpio_unmute() argument
784 cxt_fixup_mute_led_gpio(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_mute_led_gpio() argument
791 cxt_fixup_hp_zbook_mute_led(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_zbook_mute_led() argument
798 cxt_fixup_hp_a_u(struct hda_codec * codec,const struct hda_fixup * fix,int action) cxt_fixup_hp_a_u() argument
1156 add_cx5051_fake_mutes(struct hda_codec * codec) add_cx5051_fake_mutes() argument
1171 cx_probe(struct hda_codec * codec,const struct hda_device_id * id) cx_probe() argument
[all...]

123456