/kernel/linux/linux-5.10/sound/soc/intel/boards/ |
D | cht_bsw_max98090_ti.c | 189 int jack_type; in cht_codec_init() local 202 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE; in cht_codec_init() 205 jack_type, jack, in cht_codec_init() 295 int jack_type; in cht_max98090_headset_init() local 305 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | in cht_max98090_headset_init() 309 ret = snd_soc_card_jack_new(card, "Headset Jack", jack_type, in cht_max98090_headset_init()
|
D | cht_bsw_nau8824.c | 101 int ret, jack_type; in cht_codec_init() local 116 jack_type = SND_JACK_HEADSET | SND_JACK_BTN_0 | SND_JACK_BTN_1 | in cht_codec_init() 118 ret = snd_soc_card_jack_new(runtime->card, "Headset", jack_type, jack, in cht_codec_init()
|
D | cht_bsw_rt5645.c | 256 int jack_type; in cht_codec_init() local 299 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | in cht_codec_init() 303 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE; in cht_codec_init() 306 jack_type, &ctx->jack, in cht_codec_init()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | rt700.c | 136 rt700->jack_type = SND_JACK_HEADPHONE; in rt700_headset_detect() 139 rt700->jack_type = SND_JACK_HEADSET; in rt700_headset_detect() 176 if (rt700->jack_type == 0) { in rt700_jack_detect_handler() 180 if (rt700->jack_type == SND_JACK_HEADSET) in rt700_jack_detect_handler() 182 } else if (rt700->jack_type == SND_JACK_HEADSET) { in rt700_jack_detect_handler() 188 rt700->jack_type = 0; in rt700_jack_detect_handler() 192 "in %s, jack_type=0x%x\n", __func__, rt700->jack_type); in rt700_jack_detect_handler() 196 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type, in rt700_jack_detect_handler() 203 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type, in rt700_jack_detect_handler() 232 if (rt700->jack_type == SND_JACK_HEADSET) { in rt700_btn_check_handler() [all …]
|
D | rt711.c | 216 rt711->jack_type = SND_JACK_HEADPHONE; in rt711_headset_detect() 219 rt711->jack_type = SND_JACK_HEADSET; in rt711_headset_detect() 256 if (rt711->jack_type == 0) { in rt711_jack_detect_handler() 260 if (rt711->jack_type == SND_JACK_HEADSET) in rt711_jack_detect_handler() 262 } else if (rt711->jack_type == SND_JACK_HEADSET) { in rt711_jack_detect_handler() 268 rt711->jack_type = 0; in rt711_jack_detect_handler() 272 "in %s, jack_type=0x%x\n", __func__, rt711->jack_type); in rt711_jack_detect_handler() 276 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, in rt711_jack_detect_handler() 283 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, in rt711_jack_detect_handler() 312 if (rt711->jack_type == SND_JACK_HEADSET) { in rt711_btn_check_handler() [all …]
|
D | rt5668.c | 63 int jack_type; member 922 rt5668->jack_type = SND_JACK_HEADSET; in rt5668_headset_detect() 926 rt5668->jack_type = SND_JACK_HEADPHONE; in rt5668_headset_detect() 936 rt5668->jack_type = 0; in rt5668_headset_detect() 939 dev_dbg(component->dev, "jack_type = %d\n", rt5668->jack_type); in rt5668_headset_detect() 940 return rt5668->jack_type; in rt5668_headset_detect() 961 rt5668->jack_type = rt5668_headset_detect(rt5668->component, 0); in rt5668_jd_check_handler() 963 snd_soc_jack_report(rt5668->hs_jack, rt5668->jack_type, in rt5668_jd_check_handler() 1039 if (rt5668->jack_type == 0) { in rt5668_jack_detect_handler() 1041 rt5668->jack_type = in rt5668_jack_detect_handler() [all …]
|
D | rt5682.c | 958 rt5682->jack_type = SND_JACK_HEADSET; in rt5682_headset_detect() 962 rt5682->jack_type = SND_JACK_HEADPHONE; in rt5682_headset_detect() 995 rt5682->jack_type = 0; in rt5682_headset_detect() 998 dev_dbg(component->dev, "jack_type = %d\n", rt5682->jack_type); in rt5682_headset_detect() 999 return rt5682->jack_type; in rt5682_headset_detect() 1098 if (rt5682->jack_type == 0) { in rt5682_jack_detect_handler() 1100 rt5682->jack_type = in rt5682_jack_detect_handler() 1102 } else if ((rt5682->jack_type & SND_JACK_HEADSET) == in rt5682_jack_detect_handler() 1105 rt5682->jack_type = SND_JACK_HEADSET; in rt5682_jack_detect_handler() 1118 rt5682->jack_type |= SND_JACK_BTN_0; in rt5682_jack_detect_handler() [all …]
|
D | rt5663.c | 76 int jack_type; member 1496 rt5663->jack_type = SND_JACK_HEADSET; in rt5663_v2_jack_detect() 1505 rt5663->jack_type = SND_JACK_HEADPHONE; in rt5663_v2_jack_detect() 1511 if (rt5663->jack_type == SND_JACK_HEADSET) { in rt5663_v2_jack_detect() 1519 rt5663->jack_type = 0; in rt5663_v2_jack_detect() 1522 dev_dbg(component->dev, "jack_type = %d\n", rt5663->jack_type); in rt5663_v2_jack_detect() 1523 return rt5663->jack_type; in rt5663_v2_jack_detect() 1608 rt5663->jack_type = SND_JACK_HEADSET; in rt5663_jack_detect() 1633 rt5663->jack_type = SND_JACK_HEADPHONE; in rt5663_jack_detect() 1659 if (rt5663->jack_type == SND_JACK_HEADSET) in rt5663_jack_detect() [all …]
|
D | rt5665.c | 67 int jack_type; member 1208 rt5665->jack_type = SND_JACK_HEADSET; in rt5665_headset_detect() 1211 rt5665->jack_type = SND_JACK_HEADPHONE; in rt5665_headset_detect() 1224 if (rt5665->jack_type == SND_JACK_HEADSET) in rt5665_headset_detect() 1226 rt5665->jack_type = 0; in rt5665_headset_detect() 1229 dev_dbg(component->dev, "jack_type = %d\n", rt5665->jack_type); in rt5665_headset_detect() 1230 return rt5665->jack_type; in rt5665_headset_detect() 1250 rt5665->jack_type = rt5665_headset_detect(rt5665->component, 0); in rt5665_jd_check_handler() 1252 snd_soc_jack_report(rt5665->hs_jack, rt5665->jack_type, in rt5665_jd_check_handler() 1316 if (rt5665->jack_type == 0) { in rt5665_jack_detect_handler() [all …]
|
D | rt5659.c | 1297 rt5659->jack_type = SND_JACK_HEADSET; in rt5659_headset_detect() 1302 rt5659->jack_type = SND_JACK_HEADPHONE; in rt5659_headset_detect() 1310 if (rt5659->jack_type == SND_JACK_HEADSET) in rt5659_headset_detect() 1312 rt5659->jack_type = 0; in rt5659_headset_detect() 1315 dev_dbg(component->dev, "jack_type = %d\n", rt5659->jack_type); in rt5659_headset_detect() 1316 return rt5659->jack_type; in rt5659_headset_detect() 1365 if (rt5659->jack_type == 0) { in rt5659_jack_detect_work() 1412 report = rt5659->jack_type; in rt5659_jack_detect_work() 1444 rt5659->jack_type |= SND_JACK_HEADPHONE; in rt5659_jack_detect_intel_hd_header() 1448 rt5659->jack_type = rt5659->jack_type & in rt5659_jack_detect_intel_hd_header() [all …]
|
D | rt5682-i2c.c | 65 rt5682->jack_type = rt5682_headset_detect(rt5682->component, 0); in rt5682_jd_check_handler() 67 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jd_check_handler()
|
D | rt700.h | 25 int jack_type; member
|
D | rt711.h | 27 int jack_type, jd_src; member
|
D | rt5670.c | 457 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect() 464 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect() 471 rt5670->jack_type = 0; in rt5670_headset_detect() 476 return rt5670->jack_type; in rt5670_headset_detect() 483 rt5670->jack_type_saved = rt5670->jack_type; in rt5670_jack_suspend() 529 if (rt5670->jack_type == 0) { in rt5670_irq_detection() 558 report = rt5670->jack_type; in rt5670_irq_detection()
|
D | rt5645.c | 436 int jack_type; member 3177 rt5645->jack_type = SND_JACK_HEADSET; in rt5645_jack_detect() 3184 rt5645->jack_type = SND_JACK_HEADPHONE; in rt5645_jack_detect() 3190 rt5645->jack_type = 0; in rt5645_jack_detect() 3212 return rt5645->jack_type; in rt5645_jack_detect() 3282 if (!val && (rt5645->jack_type == 0)) { /* jack in */ in rt5645_jack_detect_work() 3284 } else if (!val && rt5645->jack_type != 0) { in rt5645_jack_detect_work() 3327 report = rt5645->jack_type; in rt5645_jack_detect_work()
|
D | rt5682.h | 1427 int jack_type; member
|
D | rt5659.h | 1813 int jack_type; member
|
D | rt5670.h | 2018 int jack_type; member
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | audio_module.c | 39 module->jack_type = 0; in gbaudio_request_jack() 58 if (module->jack_type) in gbaudio_request_jack() 61 module->jack_type, report); in gbaudio_request_jack() 63 module->jack_type = report; in gbaudio_request_jack() 87 if (!module->jack_type) { in gbaudio_request_button()
|
D | audio_topology.c | 1365 unsigned int jack_type; in gbaudio_tplg_parse_data() local 1408 jack_type = le32_to_cpu(tplg_data->jack_type); in gbaudio_tplg_parse_data() 1409 if (jack_type) { in gbaudio_tplg_parse_data() 1410 module->jack_mask = jack_type & GBCODEC_JACK_MASK; in gbaudio_tplg_parse_data() 1411 module->button_mask = jack_type & GBCODEC_JACK_BUTTON_MASK; in gbaudio_tplg_parse_data()
|
D | audio_codec.h | 134 int jack_type; member
|
/kernel/linux/linux-5.10/sound/soc/samsung/ |
D | aries_wm8994.c | 80 .jack_type = SND_JACK_HEADPHONE, 84 .jack_type = SND_JACK_HEADSET, 88 .jack_type = SND_JACK_HEADPHONE,
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-jack.c | 127 return zone->jack_type; in snd_soc_jack_get_type()
|
/kernel/linux/linux-5.10/include/linux/greybus/ |
D | greybus_protocols.h | 2055 __le32 jack_type; member
|
/kernel/linux/linux-5.10/include/sound/ |
D | soc.h | 647 unsigned int jack_type; member
|