/openbmc/linux/sound/soc/codecs/ |
H A D | mt6359-accdet.h | 22 SND_JACK_BTN_0 | \ 26 #define MT6359_ACCDET_BTN_MASK (SND_JACK_BTN_0 | \
|
H A D | ts3a227e.c | 35 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 D | es8316.c | 615 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 D | rt712-sdca.c | 173 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 D | rt711-sdca.c | 209 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 D | es8326.c | 537 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 D | da7219-aad.h | 170 SND_JACK_BTN_0 | SND_JACK_BTN_1 | \
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | sof_sdw_cs42l42.c | 87 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 D | sof_sdw_rt5682.c | 86 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 D | sof_sdw_rt700.c | 86 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 D | sof_sdw_rt711.c | 110 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 D | sof_sdw_rt_sdca_jack_common.c | 131 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 D | cht_bsw_nau8824.c | 109 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 D | common.c | 201 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 D | apq8016_sbc.c | 107 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 D | aries_wm8994.c | 146 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 D | acp-es8336.c | 68 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 D | acp-da7219-max98357a.c | 86 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 D | jack.c | 108 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 D | jack.h | 48 SND_JACK_BTN_0 = 0x4000, enumerator
|
/openbmc/linux/sound/soc/intel/avs/boards/ |
H A D | rt5663.c | 71 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 D | da7219.c | 124 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 D | es8336.c | 115 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 D | rt5682.c | 116 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 D | nau8825.c | 98 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()
|