Searched refs:jack_type (Results 1 – 13 of 13) sorted by relevance
/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()
|
/sound/soc/codecs/ |
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() 1037 if (rt5668->jack_type == 0) { in rt5668_jack_detect_handler() 1039 rt5668->jack_type = in rt5668_jack_detect_handler() [all …]
|
D | rt5682.c | 69 int jack_type; member 942 rt5682->jack_type = SND_JACK_HEADSET; in rt5682_headset_detect() 946 rt5682->jack_type = SND_JACK_HEADPHONE; in rt5682_headset_detect() 958 rt5682->jack_type = 0; in rt5682_headset_detect() 961 dev_dbg(component->dev, "jack_type = %d\n", rt5682->jack_type); in rt5682_headset_detect() 962 return rt5682->jack_type; in rt5682_headset_detect() 983 rt5682->jack_type = rt5682_headset_detect(rt5682->component, 0); in rt5682_jd_check_handler() 985 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jd_check_handler() 1067 if (rt5682->jack_type == 0) { in rt5682_jack_detect_handler() 1069 rt5682->jack_type = 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 | 1334 rt5659->jack_type = SND_JACK_HEADSET; in rt5659_headset_detect() 1339 rt5659->jack_type = SND_JACK_HEADPHONE; in rt5659_headset_detect() 1347 if (rt5659->jack_type == SND_JACK_HEADSET) in rt5659_headset_detect() 1349 rt5659->jack_type = 0; in rt5659_headset_detect() 1352 dev_dbg(component->dev, "jack_type = %d\n", rt5659->jack_type); in rt5659_headset_detect() 1353 return rt5659->jack_type; in rt5659_headset_detect() 1402 if (rt5659->jack_type == 0) { in rt5659_jack_detect_work() 1449 report = rt5659->jack_type; in rt5659_jack_detect_work() 1481 rt5659->jack_type |= SND_JACK_HEADPHONE; in rt5659_jack_detect_intel_hd_header() 1485 rt5659->jack_type = rt5659->jack_type & in rt5659_jack_detect_intel_hd_header() [all …]
|
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 | rt5659.h | 1813 int jack_type; member
|
D | rt5670.h | 2008 int jack_type; member
|
/sound/soc/ |
D | soc-jack.c | 165 return zone->jack_type; in snd_soc_jack_get_type()
|