Lines Matching refs:ucontrol
40 static int snd_gf1_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_gf1_get_single() argument
46 ucontrol->value.integer.value[0] = (gus->mix_cntrl_reg >> shift) & 1; in snd_gf1_get_single()
48 ucontrol->value.integer.value[0] ^= 1; in snd_gf1_get_single()
52 static int snd_gf1_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_gf1_put_single() argument
61 nval = ucontrol->value.integer.value[0] & 1; in snd_gf1_put_single()
90 static int snd_ics_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ics_get_double() argument
101 ucontrol->value.integer.value[0] = left & 127; in snd_ics_get_double()
102 ucontrol->value.integer.value[1] = right & 127; in snd_ics_get_double()
106 static int snd_ics_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ics_put_double() argument
114 val1 = ucontrol->value.integer.value[0] & 127; in snd_ics_put_double()
115 val2 = ucontrol->value.integer.value[1] & 127; in snd_ics_put_double()