Lines Matching refs:kctl
488 struct snd_kcontrol *kctl;
494 if ((kctl = snd_ctl_find_numid(card, numid)) == NULL) {
502 if (kctl->info(kctl, uinfo))
504 if (kctl->get(kctl, uctl))
526 struct snd_kcontrol *kctl;
532 if ((kctl = snd_ctl_find_numid(card, numid)) == NULL) {
540 if (kctl->info(kctl, uinfo))
542 if (kctl->get(kctl, uctl))
590 struct snd_kcontrol *kctl;
597 if ((kctl = snd_ctl_find_numid(card, numid)) == NULL)
603 if (kctl->info(kctl, uinfo))
611 if ((res = kctl->put(kctl, uctl)) < 0)
614 snd_ctl_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, &kctl->id);
629 struct snd_kcontrol *kctl;
636 if ((kctl = snd_ctl_find_numid(card, numid)) == NULL) {
644 if (kctl->info(kctl, uinfo))
656 if ((res = kctl->put(kctl, uctl)) < 0)
659 snd_ctl_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, &kctl->id);
754 struct snd_kcontrol *kctl;
768 kctl = snd_mixer_oss_test_id(mixer, "Capture Source", 0);
769 if (! kctl) {
773 if ((err = kctl->info(kctl, uinfo)) < 0)
775 if ((err = kctl->get(kctl, uctl)) < 0)
803 struct snd_kcontrol *kctl;
818 kctl = snd_mixer_oss_test_id(mixer, "Capture Source", 0);
819 if (! kctl) {
823 if ((err = kctl->info(kctl, uinfo)) < 0)
842 err = kctl->put(kctl, uctl);
844 snd_ctl_notify(fmixer->card, SNDRV_CTL_EVENT_MASK_VALUE, &kctl->id);
921 struct snd_kcontrol *kctl;
971 if (ptr->index == 0 && (kctl = snd_mixer_oss_test_id(mixer, "Capture Source", 0)) != NULL) {
980 if (kctl->info(kctl, uinfo)) {
995 if (kctl->info(kctl, uinfo)) {