Searched refs:new_val (Results 1 – 3 of 3) sorted by relevance
/sound/core/ |
D | vmaster.c | 312 static int sync_slaves(struct link_master *master, int old_val, int new_val) in sync_slaves() argument 324 master->val = new_val; in sync_slaves() 335 int err, new_val, old_val; in master_put() local 343 new_val = ucontrol->value.integer.value[0]; in master_put() 344 if (new_val == old_val) in master_put() 347 err = sync_slaves(master, old_val, new_val); in master_put()
|
/sound/isa/ |
D | sscape.c | 624 unsigned char new_val; in sscape_midi_put() local 628 new_val = uctl->value.integer.value[0] & 127; in sscape_midi_put() 641 if (s->midi_vol == new_val) { in sscape_midi_put() 646 && host_write_ctrl_unsafe(s->io_base, new_val, 100) in sscape_midi_put() 648 && host_write_ctrl_unsafe(s->io_base, new_val, 100); in sscape_midi_put() 649 s->midi_vol = new_val; in sscape_midi_put()
|
/sound/usb/ |
D | mixer_quirks.c | 677 bool cur_val, new_val; in snd_mbox1_switch_put() local 680 new_val = ucontrol->value.enumerated.item[0]; in snd_mbox1_switch_put() 681 if (cur_val == new_val) in snd_mbox1_switch_put() 684 kctl->private_value = new_val; in snd_mbox1_switch_put() 685 err = snd_mbox1_switch_update(mixer, new_val); in snd_mbox1_switch_put() 946 int cur_val, err, new_val; in snd_ftu_eff_switch_put() local 949 new_val = ucontrol->value.enumerated.item[0]; in snd_ftu_eff_switch_put() 950 if (cur_val == new_val) in snd_ftu_eff_switch_put() 954 kctl->private_value |= new_val << 24; in snd_ftu_eff_switch_put()
|