Home
last modified time | relevance | path

Searched refs:mic_present (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dts3a227e.c28 bool mic_present; member
165 if (ts3a227e->mic_present) in ts3a227e_jack_report()
176 bool plugged, mic_present; in ts3a227e_new_jack_state() local
179 mic_present = plugged && !!(acc_reg & EITHER_MIC_MASK); in ts3a227e_new_jack_state()
183 if (mic_present != ts3a227e->mic_present) { in ts3a227e_new_jack_state()
184 ts3a227e->mic_present = mic_present; in ts3a227e_new_jack_state()
186 if (mic_present) { in ts3a227e_new_jack_state()
/openbmc/linux/sound/pci/hda/
H A Dpatch_conexant.c248 unsigned int mic_present; in cx_update_headset_mic_vref() local
254 mic_present = snd_hda_codec_read(codec, 0x19, 0, AC_VERB_GET_PIN_SENSE, 0x0); in cx_update_headset_mic_vref()
255 if (!(mic_present & AC_PINSENSE_PRESENCE)) /* mic plugout */ in cx_update_headset_mic_vref()