Lines Matching refs:kcontrol
256 static int tumbler_info_master_volume(struct snd_kcontrol *kcontrol, in tumbler_info_master_volume() argument
266 static int tumbler_get_master_volume(struct snd_kcontrol *kcontrol, in tumbler_get_master_volume() argument
269 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_master_volume()
277 static int tumbler_put_master_volume(struct snd_kcontrol *kcontrol, in tumbler_put_master_volume() argument
280 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_master_volume()
301 static int tumbler_get_master_switch(struct snd_kcontrol *kcontrol, in tumbler_get_master_switch() argument
304 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_master_switch()
312 static int tumbler_put_master_switch(struct snd_kcontrol *kcontrol, in tumbler_put_master_switch() argument
315 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_master_switch()
402 static int tumbler_info_drc_value(struct snd_kcontrol *kcontrol, in tumbler_info_drc_value() argument
405 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_info_drc_value()
414 static int tumbler_get_drc_value(struct snd_kcontrol *kcontrol, in tumbler_get_drc_value() argument
417 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_drc_value()
425 static int tumbler_put_drc_value(struct snd_kcontrol *kcontrol, in tumbler_put_drc_value() argument
428 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_drc_value()
454 static int tumbler_get_drc_switch(struct snd_kcontrol *kcontrol, in tumbler_get_drc_switch() argument
457 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_drc_switch()
465 static int tumbler_put_drc_switch(struct snd_kcontrol *kcontrol, in tumbler_put_drc_switch() argument
468 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_drc_switch()
523 static int tumbler_info_mono(struct snd_kcontrol *kcontrol, in tumbler_info_mono() argument
526 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value; in tumbler_info_mono()
535 static int tumbler_get_mono(struct snd_kcontrol *kcontrol, in tumbler_get_mono() argument
538 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value; in tumbler_get_mono()
539 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_mono()
547 static int tumbler_put_mono(struct snd_kcontrol *kcontrol, in tumbler_put_mono() argument
550 struct tumbler_mono_vol *info = (struct tumbler_mono_vol *)kcontrol->private_value; in tumbler_put_mono()
551 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_mono()
670 static int snapper_info_mix(struct snd_kcontrol *kcontrol, in snapper_info_mix() argument
680 static int snapper_get_mix(struct snd_kcontrol *kcontrol, in snapper_get_mix() argument
683 int idx = (int)kcontrol->private_value; in snapper_get_mix()
684 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snapper_get_mix()
693 static int snapper_put_mix(struct snd_kcontrol *kcontrol, in snapper_put_mix() argument
696 int idx = (int)kcontrol->private_value; in snapper_put_mix()
697 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snapper_put_mix()
727 static int tumbler_get_mute_switch(struct snd_kcontrol *kcontrol, in tumbler_get_mute_switch() argument
730 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_get_mute_switch()
735 switch(kcontrol->private_value) { in tumbler_get_mute_switch()
751 static int tumbler_put_mute_switch(struct snd_kcontrol *kcontrol, in tumbler_put_mute_switch() argument
754 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in tumbler_put_mute_switch()
764 switch(kcontrol->private_value) { in tumbler_put_mute_switch()
795 static int snapper_info_capture_source(struct snd_kcontrol *kcontrol, in snapper_info_capture_source() argument
805 static int snapper_get_capture_source(struct snd_kcontrol *kcontrol, in snapper_get_capture_source() argument
808 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snapper_get_capture_source()
815 static int snapper_put_capture_source(struct snd_kcontrol *kcontrol, in snapper_put_capture_source() argument
818 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in snapper_put_capture_source()