/linux-master/include/sound/ |
H A D | soc-jack.h | 31 * @jack_type: type of jack that is expected for this voltage 39 unsigned int jack_type; member in struct:snd_soc_jack_zone
|
/linux-master/sound/soc/codecs/ |
H A D | mt6359-accdet.h | 114 unsigned int jack_type; member in struct:mt6359_accdet
|
H A D | wcd-mbhc-v2.c | 293 enum snd_jack_types jack_type) 295 mbhc->hph_status &= ~jack_type; 332 enum snd_jack_types jack_type) 341 jack_type == SND_JACK_HEADPHONE) 345 switch (jack_type) { 367 (jack_type == SND_JACK_HEADPHONE)) { 368 jack_type = SND_JACK_LINEOUT; 386 jack_type = SND_JACK_LINEOUT; 396 mbhc->hph_status |= jack_type; 398 if (jack_type 292 wcd_mbhc_report_plug_removal(struct wcd_mbhc *mbhc, enum snd_jack_types jack_type) argument 331 wcd_mbhc_report_plug_insertion(struct wcd_mbhc *mbhc, enum snd_jack_types jack_type) argument 405 wcd_mbhc_report_plug(struct wcd_mbhc *mbhc, int insertion, enum snd_jack_types jack_type) argument 517 enum snd_jack_types jack_type; local [all...] |
H A D | rt700.c | 137 rt700->jack_type = SND_JACK_HEADPHONE; 140 rt700->jack_type = SND_JACK_HEADSET; 177 if (rt700->jack_type == 0) { 181 if (rt700->jack_type == SND_JACK_HEADSET) 183 } else if (rt700->jack_type == SND_JACK_HEADSET) { 189 rt700->jack_type = 0; 193 "in %s, jack_type=0x%x\n", __func__, rt700->jack_type); 197 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type, 204 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type, [all...] |
H A D | rt5668.c | 63 int jack_type; member in struct:rt5668_priv 922 rt5668->jack_type = SND_JACK_HEADSET; 926 rt5668->jack_type = SND_JACK_HEADPHONE; 936 rt5668->jack_type = 0; 939 dev_dbg(component->dev, "jack_type = %d\n", rt5668->jack_type); 940 return rt5668->jack_type; 961 rt5668->jack_type = rt5668_headset_detect(rt5668->component, 0); 963 snd_soc_jack_report(rt5668->hs_jack, rt5668->jack_type, 1039 if (rt5668->jack_type [all...] |
H A D | rt711.c | 217 rt711->jack_type = SND_JACK_HEADPHONE; 220 rt711->jack_type = SND_JACK_HEADSET; 264 if (rt711->jack_type == 0) { 268 if (rt711->jack_type == SND_JACK_HEADSET) 270 } else if (rt711->jack_type == SND_JACK_HEADSET) { 276 rt711->jack_type = 0; 280 "in %s, jack_type=0x%x\n", __func__, rt711->jack_type); 284 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, 291 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, [all...] |
H A D | mt6359-accdet.c | 262 priv->jack_type = 0; 326 report = priv->jack_type | priv->btn_type; 359 priv->btn_type = priv->jack_type & ~MT6359_ACCDET_BTN_MASK; 376 if (priv->jack_type == SND_JACK_HEADSET) 379 priv->jack_type = SND_JACK_HEADPHONE; 382 if (priv->jack_type == SND_JACK_HEADSET) { 385 priv->jack_type = SND_JACK_HEADSET; 391 priv->jack_type = 0; 1034 priv->jack_type = 0;
|
H A D | rt5682.c | 966 rt5682->jack_type = SND_JACK_HEADSET; 972 rt5682->jack_type = SND_JACK_HEADPHONE; 1005 rt5682->jack_type = 0; 1008 dev_dbg(component->dev, "jack_type = %d\n", rt5682->jack_type); 1009 return rt5682->jack_type; 1125 if (rt5682->jack_type == 0) { 1127 rt5682->jack_type = 1130 } else if ((rt5682->jack_type & SND_JACK_HEADSET) == 1133 rt5682->jack_type [all...] |
H A D | rt5682s.c | 744 int jack_type = 0; local 786 jack_type = SND_JACK_HEADSET; 796 jack_type = SND_JACK_HEADPHONE; 820 jack_type = 0; 823 dev_dbg(component->dev, "jack_type = %d\n", jack_type); 825 return jack_type; 853 if (rt5682s->jack_type == 0) { 855 rt5682s->jack_type = rt5682s_headset_detect(rt5682s->component, 1); 857 } else if ((rt5682s->jack_type [all...] |
H A D | rt712-sdca.c | 224 rt712->jack_type = 0; 227 rt712->jack_type = SND_JACK_HEADPHONE; 230 rt712->jack_type = SND_JACK_HEADSET; 276 if (rt712->jack_type == 0) 280 "in %s, jack_type=0x%x\n", __func__, rt712->jack_type); 287 snd_soc_jack_report(rt712->hs_jack, rt712->jack_type | btn_type, 294 snd_soc_jack_report(rt712->hs_jack, rt712->jack_type, 370 rt712->jack_type = 0; 374 snd_soc_jack_report(rt712->hs_jack, rt712->jack_type | btn_typ [all...] |
H A D | rt711-sdca.c | 260 rt711->jack_type = 0; 263 rt711->jack_type = SND_JACK_HEADPHONE; 266 rt711->jack_type = SND_JACK_HEADSET; 312 if (rt711->jack_type == 0) 316 "in %s, jack_type=0x%x\n", __func__, rt711->jack_type); 323 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, 330 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, 406 rt711->jack_type = 0; 409 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_typ [all...] |
H A D | rt712-sdca.h | 32 int jack_type; member in struct:rt712_sdca_priv
|
H A D | rt700.h | 24 int jack_type; member in struct:rt700_priv
|
H A D | rt722-sdca.c | 152 rt722->jack_type = 0; 155 rt722->jack_type = SND_JACK_HEADPHONE; 158 rt722->jack_type = SND_JACK_HEADSET; 204 if (rt722->jack_type == 0) 208 "in %s, jack_type=%d\n", __func__, rt722->jack_type); 215 snd_soc_jack_report(rt722->hs_jack, rt722->jack_type | btn_type, 222 snd_soc_jack_report(rt722->hs_jack, rt722->jack_type, 266 rt722->jack_type = 0; 269 snd_soc_jack_report(rt722->hs_jack, rt722->jack_type | btn_typ [all...] |
H A D | rt5665.c | 66 int jack_type; member in struct:rt5665_priv 1207 rt5665->jack_type = SND_JACK_HEADSET; 1210 rt5665->jack_type = SND_JACK_HEADPHONE; 1223 if (rt5665->jack_type == SND_JACK_HEADSET) 1225 rt5665->jack_type = 0; 1228 dev_dbg(component->dev, "jack_type = %d\n", rt5665->jack_type); 1229 return rt5665->jack_type; 1249 rt5665->jack_type = rt5665_headset_detect(rt5665->component, 0); 1251 snd_soc_jack_report(rt5665->hs_jack, rt5665->jack_type, [all...] |
H A D | rt5663.c | 76 int jack_type; member in struct:rt5663_priv 1497 rt5663->jack_type = SND_JACK_HEADSET; 1506 rt5663->jack_type = SND_JACK_HEADPHONE; 1512 if (rt5663->jack_type == SND_JACK_HEADSET) { 1520 rt5663->jack_type = 0; 1523 dev_dbg(component->dev, "jack_type = %d\n", rt5663->jack_type); 1524 return rt5663->jack_type; 1609 rt5663->jack_type = SND_JACK_HEADSET; 1634 rt5663->jack_type [all...] |
H A D | rt722-sdca.h | 35 int jack_type; member in struct:rt722_sdca_priv
|
H A D | rt711-sdca.h | 31 int jack_type, jd_src; member in struct:rt711_sdca_priv
|
H A D | rt711.h | 26 int jack_type, jd_src; member in struct:rt711_priv
|
/linux-master/sound/soc/intel/boards/ |
H A D | cht_bsw_max98090_ti.c | 189 int jack_type; local 202 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE; 205 jack_type, jack, 295 int jack_type; local 305 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | 309 ret = snd_soc_card_jack_new(card, "Headset Jack", jack_type, jack);
|
H A D | cht_bsw_nau8824.c | 101 int ret, jack_type; local 109 jack_type = SND_JACK_HEADSET | SND_JACK_BTN_0 | SND_JACK_BTN_1 | 111 ret = snd_soc_card_jack_new_pins(runtime->card, "Headset", jack_type,
|
H A D | bytcr_wm5102.c | 289 int ret, jack_type, num_routes = 0; local 362 jack_type = ARIZONA_JACK_MASK | SND_JACK_BTN_0 | SND_JACK_BTN_1 | 364 ret = snd_soc_card_jack_new_pins(card, "Headset", jack_type,
|
H A D | cht_bsw_rt5645.c | 255 int jack_type; local 298 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE | 302 jack_type = SND_JACK_HEADPHONE | SND_JACK_MICROPHONE; 304 ret = snd_soc_card_jack_new_pins(runtime->card, "Headset", jack_type,
|
/linux-master/drivers/staging/greybus/ |
H A D | audio_module.c | 39 module->jack_type = 0; 58 if (module->jack_type) 61 module->jack_type, report); 63 module->jack_type = report; 87 if (!module->jack_type) {
|
/linux-master/sound/soc/samsung/ |
H A D | aries_wm8994.c | 78 .jack_type = SND_JACK_HEADPHONE, 82 .jack_type = SND_JACK_HEADSET, 86 .jack_type = SND_JACK_HEADPHONE,
|