• Home
  • Raw
  • Download

Lines Matching refs:kcontrol

174 static int snd_pmac_burgundy_info_volume(struct snd_kcontrol *kcontrol,  in snd_pmac_burgundy_info_volume()  argument
184 static int snd_pmac_burgundy_get_volume(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_get_volume() argument
187 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_get_volume()
188 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_volume()
189 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_volume()
195 static int snd_pmac_burgundy_put_volume(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_put_volume() argument
198 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_put_volume()
199 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_volume()
200 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_volume()
250 static int snd_pmac_burgundy_info_volume_2b(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_info_volume_2b() argument
260 static int snd_pmac_burgundy_get_volume_2b(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_get_volume_2b() argument
263 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_get_volume_2b()
264 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_volume_2b()
265 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_get_volume_2b()
271 static int snd_pmac_burgundy_put_volume_2b(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_put_volume_2b() argument
274 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_put_volume_2b()
275 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_volume_2b()
276 int off = kcontrol->private_value & 0x300; in snd_pmac_burgundy_put_volume_2b()
296 static int snd_pmac_burgundy_info_gain(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_info_gain() argument
299 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain()
307 static int snd_pmac_burgundy_get_gain(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_get_gain() argument
310 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_get_gain()
311 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_gain()
312 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_gain()
313 int atten = (kcontrol->private_value >> 25) & 1; in snd_pmac_burgundy_get_gain()
325 static int snd_pmac_burgundy_put_gain(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_put_gain() argument
328 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_put_gain()
329 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_gain()
330 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_gain()
331 int atten = (kcontrol->private_value >> 25) & 1; in snd_pmac_burgundy_put_gain()
358 static int snd_pmac_burgundy_info_switch_w(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_info_switch_w() argument
361 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_switch_w()
369 static int snd_pmac_burgundy_get_switch_w(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_get_switch_w() argument
372 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_get_switch_w()
373 unsigned int addr = BASE2ADDR((kcontrol->private_value >> 16) & 0xff); in snd_pmac_burgundy_get_switch_w()
374 int lmask = 1 << (kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_switch_w()
375 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_get_switch_w()
376 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_switch_w()
384 static int snd_pmac_burgundy_put_switch_w(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_put_switch_w() argument
387 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_put_switch_w()
388 unsigned int addr = BASE2ADDR((kcontrol->private_value >> 16) & 0xff); in snd_pmac_burgundy_put_switch_w()
389 int lmask = 1 << (kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_switch_w()
390 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_put_switch_w()
391 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_switch_w()
414 static int snd_pmac_burgundy_info_switch_b(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_info_switch_b() argument
417 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_switch_b()
425 static int snd_pmac_burgundy_get_switch_b(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_get_switch_b() argument
428 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_get_switch_b()
429 unsigned int addr = BASE2ADDR((kcontrol->private_value >> 16) & 0xff); in snd_pmac_burgundy_get_switch_b()
430 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_get_switch_b()
431 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_switch_b()
432 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_switch_b()
440 static int snd_pmac_burgundy_put_switch_b(struct snd_kcontrol *kcontrol, in snd_pmac_burgundy_put_switch_b() argument
443 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snd_pmac_burgundy_put_switch_b()
444 unsigned int addr = BASE2ADDR((kcontrol->private_value >> 16) & 0xff); in snd_pmac_burgundy_put_switch_b()
445 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_put_switch_b()
446 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_switch_b()
447 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_switch_b()