Home
last modified time | relevance | path

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

/sound/mips/
A 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/
A Dawacs.c163 int val, oldval; in snd_pmac_awacs_put_volume() local
178 oldval = chip->awacs_reg[reg]; in snd_pmac_awacs_put_volume()
179 val = oldval & ~(0xf | (0xf << lshift)); in snd_pmac_awacs_put_volume()
182 if (oldval != val) in snd_pmac_awacs_put_volume()
185 return oldval != reg; in snd_pmac_awacs_put_volume()
/sound/pci/lola/
A Dlola_mixer.c213 unsigned int oldval, val; in lola_mixer_set_src_gain() local
217 oldval = val = readl(&chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
223 if ((val == oldval) && in lola_mixer_set_src_gain()
/sound/hda/common/
A Dcodec.c1071 unsigned int oldval, newval; in update_pcm_stream_id() local
1074 oldval = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONV, 0); in update_pcm_stream_id()
1076 if (oldval != newval) in update_pcm_stream_id()
1089 unsigned int oldval; in update_pcm_format() local
1092 oldval = snd_hda_codec_read(codec, nid, 0, in update_pcm_format()
1094 if (oldval != format) { in update_pcm_format()
3878 unsigned int oldval; in snd_hda_get_default_vref() local
3879 oldval = snd_hda_codec_read(codec, pin, 0, in snd_hda_get_default_vref()
3884 if ((pincap & AC_PINCAP_VREF_80) && oldval != PIN_VREF50) in snd_hda_get_default_vref()
/sound/isa/opti9xx/
A Dopti92x-ad1848.c318 unsigned char oldval = snd_opti9xx_read(chip, reg); in snd_opti9xx_write_mask() local
320 snd_opti9xx_write(chip, reg, (oldval & ~mask) | (value & mask)); in snd_opti9xx_write_mask()
A Dmiro.c885 unsigned char oldval = snd_miro_read(chip, reg); in snd_miro_write_mask() local
887 snd_miro_write(chip, reg, (oldval & ~mask) | (value & mask)); in snd_miro_write_mask()
/sound/hda/codecs/
A Dca0132.c5449 unsigned int oldval = snd_hda_codec_read(codec, spec->adcs[0], 0, in stop_mic1() local
5451 if (oldval != 0) in stop_mic1()
5455 return oldval; in stop_mic1()
5463 if (oldval != 0) in resume_mic1()
5466 oldval); in resume_mic1()
5477 unsigned int oldval; in ca0132_cvoice_switch_set() local
5492 oldval = stop_mic1(codec); in ca0132_cvoice_switch_set()
5497 resume_mic1(codec, oldval); in ca0132_cvoice_switch_set()
7438 unsigned int oldval; in ca0132_set_dmic() local
7442 oldval = stop_mic1(codec); in ca0132_set_dmic()
[all …]
A Dconexant.c717 unsigned int oldval = spec->gpio_led; in cxt_update_gpio_led() local
728 if (spec->gpio_led != oldval) in cxt_update_gpio_led()
A Dgeneric.c2986 unsigned int val, oldval, idx; in hp_mic_jack_mode_put() local
2988 oldval = get_cur_hp_mic_jack_mode(codec, nid); in hp_mic_jack_mode_put()
2990 if (oldval == idx) in hp_mic_jack_mode_put()
4396 unsigned int val, oldval; in do_automute() local
4400 oldval = snd_hda_codec_get_pin_target(codec, nid); in do_automute()
4401 if (oldval & PIN_IN) in do_automute()
4424 val = oldval & ~PIN_HP; in do_automute()
4428 val |= oldval; in do_automute()
/sound/hda/codecs/realtek/
A Drealtek.c142 unsigned int oldval = spec->gpio_data; in alc_update_gpio_data() local
148 if (oldval != spec->gpio_data) in alc_update_gpio_data()
/sound/usb/
A Dmixer_quirks.c1187 u8 oldval = (kcontrol->private_value >> 24) & 0xff; in snd_nativeinstruments_control_put() local
1191 if (oldval == newval) in snd_nativeinstruments_control_put()

Completed in 85 milliseconds