Home
last modified time | relevance | path

Searched refs:SND_JACK_BTN_0 (Results 1 – 25 of 112) sorted by relevance

12345

/openbmc/linux/sound/soc/codecs/
H A Dmt6359-accdet.h22 SND_JACK_BTN_0 | \
26 #define MT6359_ACCDET_BTN_MASK (SND_JACK_BTN_0 | \
H A Dts3a227e.c35 SND_JACK_BTN_0,
44 SND_JACK_BTN_0 | \
249 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in ts3a227e_enable_jack_detect()
H A Des8316.c615 SND_JACK_HEADSET | SND_JACK_BTN_0); in es8316_irq()
646 snd_soc_jack_report(es8316->jack, 0, SND_JACK_BTN_0); in es8316_irq()
650 SND_JACK_BTN_0, in es8316_irq()
651 SND_JACK_BTN_0); in es8316_irq()
707 snd_soc_jack_report(es8316->jack, 0, SND_JACK_BTN_0); in es8316_disable_jack_detect()
H A Drt712-sdca.c173 btn_type |= SND_JACK_BTN_0; in rt712_sdca_button_detect()
190 btn_type |= SND_JACK_BTN_0; in rt712_sdca_button_detect()
289 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt712_sdca_jack_detect_handler()
296 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt712_sdca_jack_detect_handler()
344 btn_type |= SND_JACK_BTN_0; in rt712_sdca_btn_check_handler()
361 btn_type |= SND_JACK_BTN_0; in rt712_sdca_btn_check_handler()
376 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt712_sdca_btn_check_handler()
383 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt712_sdca_btn_check_handler()
H A Drt711-sdca.c209 btn_type |= SND_JACK_BTN_0; in rt711_sdca_button_detect()
226 btn_type |= SND_JACK_BTN_0; in rt711_sdca_button_detect()
325 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_sdca_jack_detect_handler()
332 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_sdca_jack_detect_handler()
380 btn_type |= SND_JACK_BTN_0; in rt711_sdca_btn_check_handler()
397 btn_type |= SND_JACK_BTN_0; in rt711_sdca_btn_check_handler()
411 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_sdca_btn_check_handler()
418 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_sdca_btn_check_handler()
H A Des8326.c537 cur_button = SND_JACK_BTN_0; in es8326_jack_button_handler()
562 SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2); in es8326_jack_button_handler()
577 SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2); in es8326_jack_button_handler()
579 SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2); in es8326_jack_button_handler()
621 SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2); in es8326_jack_detect_handler()
H A Dda7219-aad.h170 SND_JACK_BTN_0 | SND_JACK_BTN_1 | \
/openbmc/linux/sound/soc/intel/boards/
H A Dsof_sdw_cs42l42.c87 SND_JACK_HEADSET | SND_JACK_BTN_0 | in cs42l42_rtd_init()
101 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cs42l42_rtd_init()
H A Dsof_sdw_rt5682.c86 SND_JACK_HEADSET | SND_JACK_BTN_0 | in rt5682_rtd_init()
100 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in rt5682_rtd_init()
H A Dsof_sdw_rt700.c86 SND_JACK_HEADSET | SND_JACK_BTN_0 | in rt700_rtd_init()
100 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in rt700_rtd_init()
H A Dsof_sdw_rt711.c110 SND_JACK_HEADSET | SND_JACK_BTN_0 | in rt711_rtd_init()
124 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in rt711_rtd_init()
H A Dsof_sdw_rt_sdca_jack_common.c131 SND_JACK_HEADSET | SND_JACK_BTN_0 | in rt_sdca_jack_rtd_init()
145 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in rt_sdca_jack_rtd_init()
H A Dcht_bsw_nau8824.c109 jack_type = SND_JACK_HEADSET | SND_JACK_BTN_0 | SND_JACK_BTN_1 | in cht_codec_init()
118 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cht_codec_init()
/openbmc/linux/sound/soc/qcom/
H A Dcommon.c201 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in qcom_snd_wcd_jack_setup()
212 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_MEDIA); in qcom_snd_wcd_jack_setup()
H A Dapq8016_sbc.c107 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in apq8016_dai_init()
121 snd_jack_set_key(jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in apq8016_dai_init()
/openbmc/linux/sound/soc/samsung/
H A Daries_wm8994.c146 return SND_JACK_BTN_0; in headset_button_check()
154 .report = SND_JACK_BTN_0,
364 SND_JACK_HEADSET | SND_JACK_BTN_0, in aries_late_probe()
393 snd_jack_set_key(aries_headset.jack, SND_JACK_BTN_0, KEY_MEDIA); in aries_late_probe()
/openbmc/linux/sound/soc/amd/
H A Dacp-es8336.c68 ret = snd_soc_card_jack_new_pins(card, "Headset", SND_JACK_HEADSET | SND_JACK_BTN_0, in st_es8336_init()
75 snd_jack_set_key(st_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in st_es8336_init()
H A Dacp-da7219-max98357a.c86 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in cz_da7219_init()
96 snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cz_da7219_init()
168 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in cz_rt5682_init()
178 snd_jack_set_key(cz_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in cz_rt5682_init()
/openbmc/linux/sound/core/
H A Djack.c108 int testbit = SND_JACK_BTN_0 >> i; in snd_jack_dev_register()
148 int testbit = ((SND_JACK_BTN_0 >> i) & jack_kctl->mask_bits); in snd_jack_inject_report()
624 int key = fls(SND_JACK_BTN_0) - fls(type); in snd_jack_set_key()
673 int testbit = ((SND_JACK_BTN_0 >> i) & ~mask_bits); in snd_jack_report()
/openbmc/linux/include/sound/
H A Djack.h48 SND_JACK_BTN_0 = 0x4000, enumerator
/openbmc/linux/sound/soc/intel/avs/boards/
H A Drt5663.c71 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", SND_JACK_HEADSET | SND_JACK_BTN_0 | in avs_rt5663_codec_init()
77 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in avs_rt5663_codec_init()
H A Dda7219.c124 SND_JACK_HEADSET | SND_JACK_BTN_0 | in avs_da7219_codec_init()
133 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in avs_da7219_codec_init()
H A Des8336.c115 ret = snd_soc_card_jack_new_pins(card, "Headset", SND_JACK_HEADSET | SND_JACK_BTN_0, in avs_es8336_codec_init()
130 snd_jack_set_key(data->jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in avs_es8336_codec_init()
H A Drt5682.c116 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", SND_JACK_HEADSET | SND_JACK_BTN_0 | in avs_rt5682_codec_init()
124 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in avs_rt5682_codec_init()
H A Dnau8825.c98 ret = snd_soc_card_jack_new_pins(card, "Headset", SND_JACK_HEADSET | SND_JACK_BTN_0 | in avs_nau8825_codec_init()
104 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in avs_nau8825_codec_init()

12345