Home
last modified time | relevance | path

Searched refs:snd_jack_set_key (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_sdw_rt5682.c100 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in rt5682_rtd_init()
101 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in rt5682_rtd_init()
102 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in rt5682_rtd_init()
103 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in rt5682_rtd_init()
Dsof_sdw_rt700.c100 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in rt700_rtd_init()
101 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in rt700_rtd_init()
102 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in rt700_rtd_init()
103 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in rt700_rtd_init()
Dsof_sdw_rt711_sdca.c124 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in rt711_sdca_rtd_init()
125 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in rt711_sdca_rtd_init()
126 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in rt711_sdca_rtd_init()
127 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in rt711_sdca_rtd_init()
Dsof_sdw_rt711.c124 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in rt711_rtd_init()
125 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in rt711_rtd_init()
126 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in rt711_rtd_init()
127 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in rt711_rtd_init()
Dcht_bsw_nau8824.c125 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cht_codec_init()
126 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in cht_codec_init()
127 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in cht_codec_init()
128 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in cht_codec_init()
Dsof_da7219_max98373.c170 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in da7219_codec_init()
171 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOLUMEUP); in da7219_codec_init()
172 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN); in da7219_codec_init()
173 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOICECOMMAND); in da7219_codec_init()
Dcml_rt1011_rt5682.c152 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cml_rt5682_codec_init()
153 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in cml_rt5682_codec_init()
154 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in cml_rt5682_codec_init()
155 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in cml_rt5682_codec_init()
Dglk_rt5682_max98357a.c172 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in geminilake_rt5682_codec_init()
173 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in geminilake_rt5682_codec_init()
174 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in geminilake_rt5682_codec_init()
175 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in geminilake_rt5682_codec_init()
Dkbl_da7219_max98357a.c190 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in kabylake_da7219_codec_init()
191 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOLUMEUP); in kabylake_da7219_codec_init()
192 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN); in kabylake_da7219_codec_init()
193 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOICECOMMAND); in kabylake_da7219_codec_init()
Dcht_bsw_rt5672.c209 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cht_codec_init()
210 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_1, KEY_VOLUMEUP); in cht_codec_init()
211 snd_jack_set_key(ctx->headset.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN); in cht_codec_init()
Dkbl_rt5663_rt5514_max98927.c241 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in kabylake_rt5663_codec_init()
242 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in kabylake_rt5663_codec_init()
243 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in kabylake_rt5663_codec_init()
244 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in kabylake_rt5663_codec_init()
Dbxt_da7219_max98357a.c243 snd_jack_set_key(broxton_headset.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in broxton_da7219_codec_init()
244 snd_jack_set_key(broxton_headset.jack, SND_JACK_BTN_1, KEY_VOLUMEUP); in broxton_da7219_codec_init()
245 snd_jack_set_key(broxton_headset.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN); in broxton_da7219_codec_init()
246 snd_jack_set_key(broxton_headset.jack, SND_JACK_BTN_3, in broxton_da7219_codec_init()
Dsof_rt5682.c209 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in sof_rt5682_codec_init()
210 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in sof_rt5682_codec_init()
211 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in sof_rt5682_codec_init()
212 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in sof_rt5682_codec_init()
Dkbl_rt5663_max98927.c278 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in kabylake_rt5663_codec_init()
279 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in kabylake_rt5663_codec_init()
280 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in kabylake_rt5663_codec_init()
281 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in kabylake_rt5663_codec_init()
Dkbl_da7219_max98927.c365 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in kabylake_da7219_codec_init()
366 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOLUMEUP); in kabylake_da7219_codec_init()
367 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN); in kabylake_da7219_codec_init()
368 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOICECOMMAND); in kabylake_da7219_codec_init()
/kernel/linux/linux-5.10/sound/soc/qcom/
Dapq8016_sbc.c87 snd_jack_set_key(jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in apq8016_sbc_dai_init()
88 snd_jack_set_key(jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in apq8016_sbc_dai_init()
89 snd_jack_set_key(jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in apq8016_sbc_dai_init()
90 snd_jack_set_key(jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in apq8016_sbc_dai_init()
Dsdm845.c257 snd_jack_set_key(jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in sdm845_dai_init()
258 snd_jack_set_key(jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in sdm845_dai_init()
259 snd_jack_set_key(jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in sdm845_dai_init()
260 snd_jack_set_key(jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in sdm845_dai_init()
/kernel/linux/linux-5.10/include/sound/
Djack.h82 int snd_jack_set_key(struct snd_jack *jack, enum snd_jack_types type,
111 static inline int snd_jack_set_key(struct snd_jack *jack, in snd_jack_set_key() function
/kernel/linux/linux-5.10/sound/soc/codecs/
Dts3a227e.c241 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in ts3a227e_enable_jack_detect()
242 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in ts3a227e_enable_jack_detect()
243 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in ts3a227e_enable_jack_detect()
244 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in ts3a227e_enable_jack_detect()
/kernel/linux/linux-5.10/sound/soc/amd/
Dacp-da7219-max98357a.c94 snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cz_da7219_init()
95 snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_1, KEY_VOLUMEUP); in cz_da7219_init()
96 snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN); in cz_da7219_init()
97 snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_3, KEY_VOICECOMMAND); in cz_da7219_init()
Dacp3x-rt5682-max9836.c99 snd_jack_set_key(pco_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in acp3x_5682_init()
100 snd_jack_set_key(pco_jack.jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in acp3x_5682_init()
101 snd_jack_set_key(pco_jack.jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in acp3x_5682_init()
102 snd_jack_set_key(pco_jack.jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in acp3x_5682_init()
/kernel/linux/linux-5.10/sound/soc/rockchip/
Drk3399_gru_sound.c201 snd_jack_set_key( in rockchip_sound_da7219_init()
203 snd_jack_set_key( in rockchip_sound_da7219_init()
205 snd_jack_set_key( in rockchip_sound_da7219_init()
207 snd_jack_set_key( in rockchip_sound_da7219_init()
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/
Dmt8183-da7219-max98357.c560 snd_jack_set_key( in mt8183_da7219_max98357_headset_init()
562 snd_jack_set_key( in mt8183_da7219_max98357_headset_init()
564 snd_jack_set_key( in mt8183_da7219_max98357_headset_init()
566 snd_jack_set_key( in mt8183_da7219_max98357_headset_init()
/kernel/linux/linux-5.10/sound/core/
Djack.c338 int snd_jack_set_key(struct snd_jack *jack, enum snd_jack_types type, in snd_jack_set_key() function
352 EXPORT_SYMBOL(snd_jack_set_key);
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_codec.c776 ret = snd_jack_set_key(module->button.jack.jack, SND_JACK_BTN_0, in gbaudio_init_jack()
785 ret = snd_jack_set_key(module->button.jack.jack, SND_JACK_BTN_1, in gbaudio_init_jack()
794 ret = snd_jack_set_key(module->button.jack.jack, SND_JACK_BTN_2, in gbaudio_init_jack()
803 ret = snd_jack_set_key(module->button.jack.jack, SND_JACK_BTN_3, in gbaudio_init_jack()

12