Home
last modified time | relevance | path

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

/sound/mips/
Dad1843.c189 int w, mask, oldval, newbits; in ad1843_write_bits() local
193 oldval = (w & mask) >> field->lo_bit; in ad1843_write_bits()
198 return oldval; in ad1843_write_bits()
/sound/ppc/
Dawacs.c162 int val, oldval; in snd_pmac_awacs_put_volume() local
177 oldval = chip->awacs_reg[reg]; in snd_pmac_awacs_put_volume()
178 val = oldval & ~(0xf | (0xf << lshift)); in snd_pmac_awacs_put_volume()
181 if (oldval != val) in snd_pmac_awacs_put_volume()
184 return oldval != reg; in snd_pmac_awacs_put_volume()
/sound/pci/lola/
Dlola_mixer.c211 unsigned int oldval, val; in lola_mixer_set_src_gain() local
215 oldval = val = readl(&chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
221 if ((val == oldval) && in lola_mixer_set_src_gain()
/sound/pci/hda/
Dhda_codec.c1051 unsigned int oldval, newval; in update_pcm_stream_id() local
1054 oldval = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONV, 0); in update_pcm_stream_id()
1056 if (oldval != newval) in update_pcm_stream_id()
1069 unsigned int oldval; in update_pcm_format() local
1072 oldval = snd_hda_codec_read(codec, nid, 0, in update_pcm_format()
1074 if (oldval != format) { in update_pcm_format()
3877 unsigned int oldval; in snd_hda_get_default_vref() local
3878 oldval = snd_hda_codec_read(codec, pin, 0, in snd_hda_get_default_vref()
3883 if ((pincap & AC_PINCAP_VREF_80) && oldval != PIN_VREF50) in snd_hda_get_default_vref()
Dpatch_conexant.c638 unsigned int oldval = spec->gpio_led; in cxt_update_gpio_led() local
649 if (spec->gpio_led != oldval) in cxt_update_gpio_led()
Dpatch_ca0132.c4803 static void resume_mic1(struct hda_codec *codec, unsigned int oldval);
5315 unsigned int oldval = snd_hda_codec_read(codec, spec->adcs[0], 0, in stop_mic1() local
5317 if (oldval != 0) in stop_mic1()
5321 return oldval; in stop_mic1()
5325 static void resume_mic1(struct hda_codec *codec, unsigned int oldval) in resume_mic1() argument
5329 if (oldval != 0) in resume_mic1()
5332 oldval); in resume_mic1()
5343 unsigned int oldval; in ca0132_cvoice_switch_set() local
5358 oldval = stop_mic1(codec); in ca0132_cvoice_switch_set()
5363 resume_mic1(codec, oldval); in ca0132_cvoice_switch_set()
[all …]
Dhda_generic.c2980 unsigned int val, oldval, idx; in hp_mic_jack_mode_put() local
2982 oldval = get_cur_hp_mic_jack_mode(codec, nid); in hp_mic_jack_mode_put()
2984 if (oldval == idx) in hp_mic_jack_mode_put()
4508 unsigned int val, oldval; in do_automute() local
4512 oldval = snd_hda_codec_get_pin_target(codec, nid); in do_automute()
4513 if (oldval & PIN_IN) in do_automute()
4536 val = oldval & ~PIN_HP; in do_automute()
4540 val |= oldval; in do_automute()
Dpatch_realtek.c283 unsigned int oldval = spec->gpio_data; in alc_update_gpio_data() local
289 if (oldval != spec->gpio_data) in alc_update_gpio_data()
/sound/isa/opti9xx/
Dopti92x-ad1848.c323 unsigned char oldval = snd_opti9xx_read(chip, reg); in snd_opti9xx_write_mask() local
325 snd_opti9xx_write(chip, reg, (oldval & ~mask) | (value & mask)); in snd_opti9xx_write_mask()
Dmiro.c873 unsigned char oldval = snd_miro_read(chip, reg); in snd_miro_write_mask() local
875 snd_miro_write(chip, reg, (oldval & ~mask) | (value & mask)); in snd_miro_write_mask()
/sound/usb/
Dmixer_quirks.c780 u8 oldval = (kcontrol->private_value >> 24) & 0xff; in snd_nativeinstruments_control_put() local
784 if (oldval == newval) in snd_nativeinstruments_control_put()