/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 | es8316.c | 637 SND_JACK_HEADSET | SND_JACK_BTN_0); in es8316_irq() 668 snd_soc_jack_report(es8316->jack, 0, SND_JACK_BTN_0); in es8316_irq() 672 SND_JACK_BTN_0, in es8316_irq() 673 SND_JACK_BTN_0); in es8316_irq() 729 snd_soc_jack_report(es8316->jack, 0, SND_JACK_BTN_0); in es8316_disable_jack_detect()
|
H A D | ts3a227e.c | 34 SND_JACK_BTN_0, 43 SND_JACK_BTN_0 | \ 248 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in ts3a227e_enable_jack_detect()
|
H A D | rt711-sdca.c | 227 btn_type |= SND_JACK_BTN_0; in rt711_sdca_button_detect() 244 btn_type |= SND_JACK_BTN_0; in rt711_sdca_button_detect() 345 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_sdca_jack_detect_handler() 352 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_sdca_jack_detect_handler() 400 btn_type |= SND_JACK_BTN_0; in rt711_sdca_btn_check_handler() 417 btn_type |= SND_JACK_BTN_0; in rt711_sdca_btn_check_handler() 431 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_sdca_btn_check_handler() 438 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_sdca_btn_check_handler()
|
H A D | rt700.c | 80 btn_type |= SND_JACK_BTN_0; in rt700_button_detect() 199 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt700_jack_detect_handler() 206 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt700_jack_detect_handler() 253 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt700_btn_check_handler() 260 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt700_btn_check_handler()
|
H A D | rt711.c | 158 btn_type |= SND_JACK_BTN_0; in rt711_button_detect() 286 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_jack_detect_handler() 293 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_jack_detect_handler() 341 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_btn_check_handler() 348 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in rt711_btn_check_handler()
|
H A D | da7219-aad.c | 438 report |= SND_JACK_BTN_0 >> i; in da7219_aad_irq_thread() 439 mask |= SND_JACK_BTN_0 >> i; in da7219_aad_irq_thread() 448 report &= ~(SND_JACK_BTN_0 >> i); in da7219_aad_irq_thread() 449 mask |= SND_JACK_BTN_0 >> i; in da7219_aad_irq_thread()
|
H A D | da7219-aad.h | 170 SND_JACK_BTN_0 | SND_JACK_BTN_1 | \
|
/linux/sound/soc/sdw_utils/ |
H A D | soc_sdw_rt700.c | 62 SND_JACK_HEADSET | SND_JACK_BTN_0 | in asoc_sdw_rt700_rtd_init() 76 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in asoc_sdw_rt700_rtd_init()
|
H A D | soc_sdw_rt5682.c | 64 SND_JACK_HEADSET | SND_JACK_BTN_0 | in asoc_sdw_rt5682_rtd_init() 78 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in asoc_sdw_rt5682_rtd_init()
|
H A D | soc_sdw_cs42l42.c | 64 SND_JACK_HEADSET | SND_JACK_BTN_0 | in asoc_sdw_cs42l42_rtd_init() 78 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in asoc_sdw_cs42l42_rtd_init()
|
H A D | soc_sdw_rt711.c | 88 SND_JACK_HEADSET | SND_JACK_BTN_0 | in asoc_sdw_rt711_rtd_init() 102 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in asoc_sdw_rt711_rtd_init()
|
H A D | soc_sdw_cs42l43.c | 76 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in asoc_sdw_cs42l43_hs_rtd_init() 85 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in asoc_sdw_cs42l43_hs_rtd_init()
|
H A D | soc_sdw_rt_sdca_jack_common.c | 146 SND_JACK_HEADSET | SND_JACK_BTN_0 | in asoc_sdw_rt_sdca_jack_rtd_init() 160 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in asoc_sdw_rt_sdca_jack_rtd_init()
|
/linux/sound/soc/samsung/ |
H A D | midas_wm1811.c | 68 { .jack_type = SND_JACK_BTN_0, }, /* Media */ 157 .report = SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2, 413 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in midas_late_probe() 427 SND_JACK_HEADSET | SND_JACK_BTN_0 | in midas_late_probe() 454 SND_JACK_BTN_0, KEY_MEDIA); in midas_late_probe()
|
H A D | aries_wm8994.c | 145 return SND_JACK_BTN_0; in headset_button_check() 153 .report = SND_JACK_BTN_0, 363 SND_JACK_HEADSET | SND_JACK_BTN_0, in aries_late_probe() 392 snd_jack_set_key(aries_headset.jack, SND_JACK_BTN_0, KEY_MEDIA); in aries_late_probe()
|
/linux/sound/soc/intel/boards/ |
H A D | sof_cs42l42.c | 52 SND_JACK_HEADSET | SND_JACK_BTN_0 | in sof_cs42l42_init() 63 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in sof_cs42l42_init()
|
H A D | sof_nau8825.c | 53 SND_JACK_HEADSET | SND_JACK_BTN_0 | in sof_nau8825_codec_init() 64 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in sof_nau8825_codec_init()
|
H A D | sof_da7219.c | 151 SND_JACK_HEADSET | SND_JACK_BTN_0 | in da7219_codec_init() 160 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in da7219_codec_init()
|
H A D | sof_rt5682.c | 217 SND_JACK_HEADSET | SND_JACK_BTN_0 | in sof_rt5682_codec_init() 228 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in sof_rt5682_codec_init() 234 extra_jack_data = SND_JACK_MICROPHONE | SND_JACK_BTN_0; in sof_rt5682_codec_init()
|
/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()
|
/linux/sound/soc/qcom/ |
H A D | common.c | 210 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in qcom_snd_wcd_jack_setup() 221 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_MEDIA); in qcom_snd_wcd_jack_setup()
|
H A D | apq8016_sbc.c | 108 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in apq8016_dai_init() 122 snd_jack_set_key(jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in apq8016_dai_init()
|
/linux/include/sound/ |
H A D | jack.h | 48 SND_JACK_BTN_0 = 0x4000, enumerator
|
/linux/sound/soc/amd/acp/ |
H A D | acp-mach-common.c | 148 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in acp_card_rt5682_init() 158 snd_jack_set_key(rt5682_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in acp_card_rt5682_init() 391 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in acp_card_rt5682s_init() 401 snd_jack_set_key(rt5682s_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in acp_card_rt5682s_init() 995 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in acp_card_nau8825_init() 1005 snd_jack_set_key(nau8825_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in acp_card_nau8825_init() 1207 SND_JACK_BTN_0 | SND_JACK_BTN_1 | in acp_8821_init() 1217 snd_jack_set_key(nau8821_jack.jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in acp_8821_init()
|