Lines Matching refs:kcontrol

733 static int snd_dummy_volume_info(struct snd_kcontrol *kcontrol,  in snd_dummy_volume_info()  argument
743 static int snd_dummy_volume_get(struct snd_kcontrol *kcontrol, in snd_dummy_volume_get() argument
746 struct snd_dummy *dummy = snd_kcontrol_chip(kcontrol); in snd_dummy_volume_get()
747 int addr = kcontrol->private_value; in snd_dummy_volume_get()
756 static int snd_dummy_volume_put(struct snd_kcontrol *kcontrol, in snd_dummy_volume_put() argument
759 struct snd_dummy *dummy = snd_kcontrol_chip(kcontrol); in snd_dummy_volume_put()
760 int change, addr = kcontrol->private_value; in snd_dummy_volume_put()
792 static int snd_dummy_capsrc_get(struct snd_kcontrol *kcontrol, in snd_dummy_capsrc_get() argument
795 struct snd_dummy *dummy = snd_kcontrol_chip(kcontrol); in snd_dummy_capsrc_get()
796 int addr = kcontrol->private_value; in snd_dummy_capsrc_get()
805 static int snd_dummy_capsrc_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_dummy_capsrc_put() argument
807 struct snd_dummy *dummy = snd_kcontrol_chip(kcontrol); in snd_dummy_capsrc_put()
808 int change, addr = kcontrol->private_value; in snd_dummy_capsrc_put()
822 static int snd_dummy_iobox_info(struct snd_kcontrol *kcontrol, in snd_dummy_iobox_info() argument
830 static int snd_dummy_iobox_get(struct snd_kcontrol *kcontrol, in snd_dummy_iobox_get() argument
833 struct snd_dummy *dummy = snd_kcontrol_chip(kcontrol); in snd_dummy_iobox_get()
839 static int snd_dummy_iobox_put(struct snd_kcontrol *kcontrol, in snd_dummy_iobox_put() argument
842 struct snd_dummy *dummy = snd_kcontrol_chip(kcontrol); in snd_dummy_iobox_put()
896 struct snd_kcontrol *kcontrol; in snd_card_dummy_new_mixer() local
905 kcontrol = snd_ctl_new1(&snd_dummy_controls[idx], dummy); in snd_card_dummy_new_mixer()
906 err = snd_ctl_add(card, kcontrol); in snd_card_dummy_new_mixer()
909 if (!strcmp(kcontrol->id.name, "CD Volume")) in snd_card_dummy_new_mixer()
910 dummy->cd_volume_ctl = kcontrol; in snd_card_dummy_new_mixer()
911 else if (!strcmp(kcontrol->id.name, "CD Capture Switch")) in snd_card_dummy_new_mixer()
912 dummy->cd_switch_ctl = kcontrol; in snd_card_dummy_new_mixer()