Lines Matching refs:oldval
2671 unsigned int oldval, newval; in ca0132_setup_stream() local
2682 oldval = snd_hda_codec_read(codec, nid, 0, in ca0132_setup_stream()
2685 if (oldval != format) { in ca0132_setup_stream()
2692 oldval = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONV, 0); in ca0132_setup_stream()
2694 if (oldval != newval) { in ca0132_setup_stream()
3507 unsigned int oldval = snd_hda_codec_read(codec, spec->adcs[0], 0, in stop_mic1() local
3509 if (oldval != 0) in stop_mic1()
3513 return oldval; in stop_mic1()
3517 static void resume_mic1(struct hda_codec *codec, unsigned int oldval) in resume_mic1() argument
3521 if (oldval != 0) in resume_mic1()
3524 oldval); in resume_mic1()
3535 unsigned int oldval; in ca0132_cvoice_switch_set() local
3550 oldval = stop_mic1(codec); in ca0132_cvoice_switch_set()
3552 resume_mic1(codec, oldval); in ca0132_cvoice_switch_set()
4199 unsigned int oldval; in ca0132_set_dmic() local
4203 oldval = stop_mic1(codec); in ca0132_set_dmic()
4232 resume_mic1(codec, oldval); in ca0132_set_dmic()