Searched refs:mic_present (Results 1 – 2 of 2) sorted by relevance
27 bool mic_present; member164 if (ts3a227e->mic_present) in ts3a227e_jack_report()175 bool plugged, mic_present; in ts3a227e_new_jack_state() local178 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()
169 unsigned int mic_present; in cx_fixup_headset_recog() local179 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() local254 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()