Searched refs:oldval (Results 1 – 10 of 10) sorted by relevance
/sound/mips/ |
D | ad1843.c | 203 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/ppc/ |
D | awacs.c | 175 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/hda/ |
D | patch_ca0132.c | 3489 unsigned int oldval = snd_hda_codec_read(codec, spec->adcs[0], 0, in stop_mic1() local 3491 if (oldval != 0) in stop_mic1() 3495 return oldval; in stop_mic1() 3499 static void resume_mic1(struct hda_codec *codec, unsigned int oldval) in resume_mic1() argument 3503 if (oldval != 0) in resume_mic1() 3506 oldval); in resume_mic1() 3517 unsigned int oldval; in ca0132_cvoice_switch_set() local 3532 oldval = stop_mic1(codec); in ca0132_cvoice_switch_set() 3534 resume_mic1(codec, oldval); in ca0132_cvoice_switch_set() 4173 unsigned int oldval; in ca0132_set_dmic() local [all …]
|
D | hda_codec.c | 940 unsigned int oldval, newval; in update_pcm_stream_id() local 943 oldval = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONV, 0); in update_pcm_stream_id() 945 if (oldval != newval) in update_pcm_stream_id() 958 unsigned int oldval; in update_pcm_format() local 961 oldval = snd_hda_codec_read(codec, nid, 0, in update_pcm_format() 963 if (oldval != format) { in update_pcm_format() 3928 unsigned int oldval; in snd_hda_get_default_vref() local 3929 oldval = snd_hda_codec_read(codec, pin, 0, in snd_hda_get_default_vref() 3934 if ((pincap & AC_PINCAP_VREF_80) && oldval != PIN_VREF50) in snd_hda_get_default_vref()
|
D | hda_generic.c | 2957 unsigned int val, oldval, idx; in hp_mic_jack_mode_put() local 2959 oldval = get_cur_hp_mic_jack_mode(codec, nid); in hp_mic_jack_mode_put() 2961 if (oldval == idx) in hp_mic_jack_mode_put() 4264 unsigned int val, oldval; in do_automute() local 4268 oldval = snd_hda_codec_get_pin_target(codec, nid); in do_automute() 4269 if (oldval & PIN_IN) in do_automute() 4292 val = oldval & ~PIN_HP; in do_automute() 4296 val |= oldval; in do_automute()
|
D | patch_realtek.c | 3358 unsigned int oldval = spec->gpio_led; in alc_update_gpio_led() local 3367 if (spec->gpio_led != oldval) in alc_update_gpio_led()
|
/sound/pci/lola/ |
D | lola_mixer.c | 224 unsigned int oldval, val; in lola_mixer_set_src_gain() local 228 oldval = val = readl(&chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain() 234 if ((val == oldval) && in lola_mixer_set_src_gain()
|
/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 333 unsigned char oldval = snd_opti9xx_read(chip, reg); in snd_opti9xx_write_mask() local 335 snd_opti9xx_write(chip, reg, (oldval & ~mask) | (value & mask)); in snd_opti9xx_write_mask()
|
D | miro.c | 881 unsigned char oldval = snd_miro_read(chip, reg); in snd_miro_write_mask() local 883 snd_miro_write(chip, reg, (oldval & ~mask) | (value & mask)); in snd_miro_write_mask()
|
/sound/usb/ |
D | mixer_quirks.c | 790 u8 oldval = (kcontrol->private_value >> 24) & 0xff; in snd_nativeinstruments_control_put() local 794 if (oldval == newval) in snd_nativeinstruments_control_put()
|