Lines Matching refs:kcontrol
40 static int snd_gf1_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_gf1_get_single() argument
42 struct snd_gus_card *gus = snd_kcontrol_chip(kcontrol); in snd_gf1_get_single()
43 int shift = kcontrol->private_value & 0xff; in snd_gf1_get_single()
44 int invert = (kcontrol->private_value >> 8) & 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
54 struct snd_gus_card *gus = snd_kcontrol_chip(kcontrol); in snd_gf1_put_single()
56 int shift = kcontrol->private_value & 0xff; in snd_gf1_put_single()
57 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_put_single()
81 static int snd_ics_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ics_info_double() argument
90 static int snd_ics_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ics_get_double() argument
92 struct snd_gus_card *gus = snd_kcontrol_chip(kcontrol); in snd_ics_get_double()
94 int addr = kcontrol->private_value & 0xff; 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
108 struct snd_gus_card *gus = snd_kcontrol_chip(kcontrol); in snd_ics_put_double()
110 int addr = kcontrol->private_value & 0xff; in snd_ics_put_double()