• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/pci/ac97/

Lines Matching defs:kcontrol

65 static int snd_ak4531_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
67 int mask = (kcontrol->private_value >> 24) & 0xff;
76 static int snd_ak4531_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
78 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol);
79 int reg = kcontrol->private_value & 0xff;
80 int shift = (kcontrol->private_value >> 16) & 0x07;
81 int mask = (kcontrol->private_value >> 24) & 0xff;
82 int invert = (kcontrol->private_value >> 22) & 1;
95 static int snd_ak4531_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
97 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol);
98 int reg = kcontrol->private_value & 0xff;
99 int shift = (kcontrol->private_value >> 16) & 0x07;
100 int mask = (kcontrol->private_value >> 24) & 0xff;
101 int invert = (kcontrol->private_value >> 22) & 1;
132 static int snd_ak4531_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
134 int mask = (kcontrol->private_value >> 24) & 0xff;
143 static int snd_ak4531_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
145 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol);
146 int left_reg = kcontrol->private_value & 0xff;
147 int right_reg = (kcontrol->private_value >> 8) & 0xff;
148 int left_shift = (kcontrol->private_value >> 16) & 0x07;
149 int right_shift = (kcontrol->private_value >> 19) & 0x07;
150 int mask = (kcontrol->private_value >> 24) & 0xff;
151 int invert = (kcontrol->private_value >> 22) & 1;
167 static int snd_ak4531_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
169 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol);
170 int left_reg = kcontrol->private_value & 0xff;
171 int right_reg = (kcontrol->private_value >> 8) & 0xff;
172 int left_shift = (kcontrol->private_value >> 16) & 0x07;
173 int right_shift = (kcontrol->private_value >> 19) & 0x07;
174 int mask = (kcontrol->private_value >> 24) & 0xff;
175 int invert = (kcontrol->private_value >> 22) & 1;
209 static int snd_ak4531_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
218 static int snd_ak4531_get_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
220 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol);
221 int reg1 = kcontrol->private_value & 0xff;
222 int reg2 = (kcontrol->private_value >> 8) & 0xff;
223 int left_shift = (kcontrol->private_value >> 16) & 0x0f;
224 int right_shift = (kcontrol->private_value >> 24) & 0x0f;
235 static int snd_ak4531_put_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
237 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol);
238 int reg1 = kcontrol->private_value & 0xff;
239 int reg2 = (kcontrol->private_value >> 8) & 0xff;
240 int left_shift = (kcontrol->private_value >> 16) & 0x0f;
241 int right_shift = (kcontrol->private_value >> 24) & 0x0f;