Home
last modified time | relevance | path

Searched refs:oldval (Results 1 – 8 of 8) sorted by relevance

/sound/mips/
Dad1843.c203 int w, mask, oldval, newbits; in ad1843_write_bits() local
207 oldval = (w & mask) >> field->lo_bit; in ad1843_write_bits()
212 return oldval; in ad1843_write_bits()
/sound/pci/hda/
Dpatch_ca0132.c2671 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()
[all …]
Dhda_codec.c1529 unsigned int oldval, newval; in update_pcm_stream_id() local
1532 oldval = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONV, 0); in update_pcm_stream_id()
1534 if (oldval != newval) in update_pcm_stream_id()
1547 unsigned int oldval; in update_pcm_format() local
1550 oldval = snd_hda_codec_read(codec, nid, 0, in update_pcm_format()
1552 if (oldval != format) { in update_pcm_format()
5382 unsigned int oldval; in snd_hda_get_default_vref() local
5383 oldval = snd_hda_codec_read(codec, pin, 0, in snd_hda_get_default_vref()
5388 if ((pincap & AC_PINCAP_VREF_80) && oldval != PIN_VREF50) in snd_hda_get_default_vref()
Dhda_generic.c2686 unsigned int val, oldval, idx; in hp_mic_jack_mode_put() local
2688 oldval = get_cur_hp_mic_jack_mode(codec, nid); in hp_mic_jack_mode_put()
2690 if (oldval == idx) in hp_mic_jack_mode_put()
3719 unsigned int val, oldval; in do_automute() local
3722 oldval = snd_hda_codec_get_pin_target(codec, nid); in do_automute()
3723 if (oldval & PIN_IN) in do_automute()
3729 val = oldval & ~PIN_HP; in do_automute()
3733 val |= oldval; in do_automute()
Dpatch_realtek.c2801 unsigned int oldval = spec->gpio_led; in alc269_fixup_hp_gpio_mute_hook() local
2807 if (spec->gpio_led != oldval) in alc269_fixup_hp_gpio_mute_hook()
2817 unsigned int oldval = spec->gpio_led; in alc269_fixup_hp_gpio_mic_mute_hook() local
2827 if (spec->gpio_led != oldval) in alc269_fixup_hp_gpio_mic_mute_hook()
/sound/ppc/
Dawacs.c175 int val, oldval; in snd_pmac_awacs_put_volume() local
190 oldval = chip->awacs_reg[reg]; in snd_pmac_awacs_put_volume()
191 val = oldval & ~(0xf | (0xf << lshift)); in snd_pmac_awacs_put_volume()
194 if (oldval != val) in snd_pmac_awacs_put_volume()
197 return oldval != reg; in snd_pmac_awacs_put_volume()
/sound/pci/lola/
Dlola_mixer.c225 unsigned int oldval, val; in lola_mixer_set_src_gain() local
229 oldval = val = readl(&chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
235 if ((val == oldval) && in lola_mixer_set_src_gain()
/sound/oss/
Dvwsnd.c965 int oldval = (w & mask) >> field->lo_bit; in ad1843_write_bits() local
973 oldval); in ad1843_write_bits()
975 return oldval; in ad1843_write_bits()