Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Dts3a227e.c27 bool mic_present; member
164 if (ts3a227e->mic_present) in ts3a227e_jack_report()
175 bool plugged, mic_present; in ts3a227e_new_jack_state() local
178 mic_present = plugged && !!(acc_reg & EITHER_MIC_MASK); in ts3a227e_new_jack_state()
182 if (mic_present != ts3a227e->mic_present) { in ts3a227e_new_jack_state()
183 ts3a227e->mic_present = mic_present; in ts3a227e_new_jack_state()
185 if (mic_present) { in ts3a227e_new_jack_state()
/linux-6.12.1/sound/pci/hda/
Dpatch_conexant.c169 unsigned int mic_present; in cx_fixup_headset_recog() local
179 mic_present = snd_hda_codec_read(codec, 0x19, 0, AC_VERB_GET_PIN_SENSE, 0x0); in cx_fixup_headset_recog()
180 if (mic_present & AC_PINSENSE_PRESENCE) in cx_fixup_headset_recog()
248 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()