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