Lines Matching defs:kcontrol
25 static int snd_gf1_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
27 struct snd_gus_card *gus = snd_kcontrol_chip(kcontrol);
28 int shift = kcontrol->private_value & 0xff;
29 int invert = (kcontrol->private_value >> 8) & 1;
37 static int snd_gf1_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
39 struct snd_gus_card *gus = snd_kcontrol_chip(kcontrol);
41 int shift = kcontrol->private_value & 0xff;
42 int invert = (kcontrol->private_value >> 8) & 1;
66 static int snd_ics_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
75 static int snd_ics_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
77 struct snd_gus_card *gus = snd_kcontrol_chip(kcontrol);
79 int addr = kcontrol->private_value & 0xff;
91 static int snd_ics_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
93 struct snd_gus_card *gus = snd_kcontrol_chip(kcontrol);
95 int addr = kcontrol->private_value & 0xff;