Home
last modified time | relevance | path

Searched refs:jack_type (Results 1 – 11 of 11) sorted by relevance

/sound/soc/intel/boards/
Dcht_bsw_max98090_ti.c115 int jack_type; in cht_codec_init() local
128 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE; in cht_codec_init()
131 jack_type, jack, NULL, 0); in cht_codec_init()
188 int jack_type; in cht_max98090_headset_init() local
198 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | in cht_max98090_headset_init()
202 ret = snd_soc_card_jack_new(card, "Headset Jack", jack_type, in cht_max98090_headset_init()
Dcht_bsw_rt5645.c269 int jack_type; in cht_codec_init() local
314 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | in cht_codec_init()
318 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE; in cht_codec_init()
321 jack_type, &ctx->jack, in cht_codec_init()
/sound/soc/codecs/
Drt5663.c58 int jack_type; member
1475 rt5663->jack_type = SND_JACK_HEADSET; in rt5663_v2_jack_detect()
1484 rt5663->jack_type = SND_JACK_HEADPHONE; in rt5663_v2_jack_detect()
1490 if (rt5663->jack_type == SND_JACK_HEADSET) { in rt5663_v2_jack_detect()
1498 rt5663->jack_type = 0; in rt5663_v2_jack_detect()
1501 dev_dbg(codec->dev, "jack_type = %d\n", rt5663->jack_type); in rt5663_v2_jack_detect()
1502 return rt5663->jack_type; in rt5663_v2_jack_detect()
1575 rt5663->jack_type = SND_JACK_HEADSET; in rt5663_jack_detect()
1597 rt5663->jack_type = SND_JACK_HEADPHONE; in rt5663_jack_detect()
1617 if (rt5663->jack_type == SND_JACK_HEADSET) in rt5663_jack_detect()
[all …]
Drt5665.c70 int jack_type; member
1211 rt5665->jack_type = SND_JACK_HEADSET; in rt5665_headset_detect()
1214 rt5665->jack_type = SND_JACK_HEADPHONE; in rt5665_headset_detect()
1227 if (rt5665->jack_type == SND_JACK_HEADSET) in rt5665_headset_detect()
1229 rt5665->jack_type = 0; in rt5665_headset_detect()
1232 dev_dbg(codec->dev, "jack_type = %d\n", rt5665->jack_type); in rt5665_headset_detect()
1233 return rt5665->jack_type; in rt5665_headset_detect()
1253 rt5665->jack_type = rt5665_headset_detect(rt5665->codec, 0); in rt5665_jd_check_handler()
1255 snd_soc_jack_report(rt5665->hs_jack, rt5665->jack_type, in rt5665_jd_check_handler()
1319 if (rt5665->jack_type == 0) { in rt5665_jack_detect_handler()
[all …]
Dsn95031.c795 int jack_type = snd_soc_jack_get_type(mfld_jack, micbias); in sn95031_get_headset_state() local
797 pr_debug("jack type detected = %d\n", jack_type); in sn95031_get_headset_state()
798 if (jack_type == SND_JACK_HEADSET) in sn95031_get_headset_state()
800 return jack_type; in sn95031_get_headset_state()
Drt5670.c442 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect()
449 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect()
456 rt5670->jack_type = 0; in rt5670_headset_detect()
461 return rt5670->jack_type; in rt5670_headset_detect()
468 rt5670->jack_type_saved = rt5670->jack_type; in rt5670_jack_suspend()
514 if (rt5670->jack_type == 0) { in rt5670_irq_detection()
543 report = rt5670->jack_type; in rt5670_irq_detection()
Drt5645.c432 int jack_type; member
3156 rt5645->jack_type = SND_JACK_HEADSET; in rt5645_jack_detect()
3163 rt5645->jack_type = SND_JACK_HEADPHONE; in rt5645_jack_detect()
3169 rt5645->jack_type = 0; in rt5645_jack_detect()
3191 return rt5645->jack_type; in rt5645_jack_detect()
3258 if (!val && (rt5645->jack_type == 0)) { /* jack in */ in rt5645_jack_detect_work()
3260 } else if (!val && rt5645->jack_type != 0) { in rt5645_jack_detect_work()
3303 report = rt5645->jack_type; in rt5645_jack_detect_work()
Drt5659.c1337 rt5659->jack_type = SND_JACK_HEADSET; in rt5659_headset_detect()
1342 rt5659->jack_type = SND_JACK_HEADPHONE; in rt5659_headset_detect()
1350 if (rt5659->jack_type == SND_JACK_HEADSET) in rt5659_headset_detect()
1352 rt5659->jack_type = 0; in rt5659_headset_detect()
1355 dev_dbg(codec->dev, "jack_type = %d\n", rt5659->jack_type); in rt5659_headset_detect()
1356 return rt5659->jack_type; in rt5659_headset_detect()
1405 if (rt5659->jack_type == 0) { in rt5659_jack_detect_work()
1452 report = rt5659->jack_type; in rt5659_jack_detect_work()
Drt5659.h1812 int jack_type; member
Drt5670.h2007 int jack_type; member
/sound/soc/
Dsoc-jack.c210 return zone->jack_type; in snd_soc_jack_get_type()