Lines Matching refs:kctl
537 struct snd_kcontrol *kctl; in snd_mixer_oss_get_volume1_vol() local
543 kctl = snd_ctl_find_numid(card, numid); in snd_mixer_oss_get_volume1_vol()
544 if (!kctl) { in snd_mixer_oss_get_volume1_vol()
552 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_get_volume1_vol()
554 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol()
576 struct snd_kcontrol *kctl; in snd_mixer_oss_get_volume1_sw() local
582 kctl = snd_ctl_find_numid(card, numid); in snd_mixer_oss_get_volume1_sw()
583 if (!kctl) { in snd_mixer_oss_get_volume1_sw()
591 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_get_volume1_sw()
593 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_sw()
641 struct snd_kcontrol *kctl; in snd_mixer_oss_put_volume1_vol() local
648 kctl = snd_ctl_find_numid(card, numid); in snd_mixer_oss_put_volume1_vol()
649 if (!kctl) { in snd_mixer_oss_put_volume1_vol()
657 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_put_volume1_vol()
665 res = kctl->put(kctl, uctl); in snd_mixer_oss_put_volume1_vol()
669 snd_ctl_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, &kctl->id); in snd_mixer_oss_put_volume1_vol()
684 struct snd_kcontrol *kctl; in snd_mixer_oss_put_volume1_sw() local
691 kctl = snd_ctl_find_numid(card, numid); in snd_mixer_oss_put_volume1_sw()
692 if (!kctl) { in snd_mixer_oss_put_volume1_sw()
700 if (kctl->info(kctl, uinfo)) in snd_mixer_oss_put_volume1_sw()
712 res = kctl->put(kctl, uctl); in snd_mixer_oss_put_volume1_sw()
716 snd_ctl_notify(card, SNDRV_CTL_EVENT_MASK_VALUE, &kctl->id); in snd_mixer_oss_put_volume1_sw()
822 struct snd_kcontrol *kctl; in snd_mixer_oss_get_recsrc2() local
836 kctl = snd_mixer_oss_test_id(mixer, "Capture Source", 0); in snd_mixer_oss_get_recsrc2()
837 if (! kctl) { in snd_mixer_oss_get_recsrc2()
841 err = kctl->info(kctl, uinfo); in snd_mixer_oss_get_recsrc2()
844 err = kctl->get(kctl, uctl); in snd_mixer_oss_get_recsrc2()
874 struct snd_kcontrol *kctl; in snd_mixer_oss_put_recsrc2() local
889 kctl = snd_mixer_oss_test_id(mixer, "Capture Source", 0); in snd_mixer_oss_put_recsrc2()
890 if (! kctl) { in snd_mixer_oss_put_recsrc2()
894 err = kctl->info(kctl, uinfo); in snd_mixer_oss_put_recsrc2()
914 err = kctl->put(kctl, uctl); in snd_mixer_oss_put_recsrc2()
916 snd_ctl_notify(fmixer->card, SNDRV_CTL_EVENT_MASK_VALUE, &kctl->id); in snd_mixer_oss_put_recsrc2()
1059 struct snd_kcontrol *kctl; in snd_mixer_oss_build_input() local
1072 kctl = NULL; in snd_mixer_oss_build_input()
1074 kctl = snd_mixer_oss_test_id(mixer, "Capture Source", 0); in snd_mixer_oss_build_input()
1075 if (kctl) { in snd_mixer_oss_build_input()
1084 if (kctl->info(kctl, uinfo)) { in snd_mixer_oss_build_input()
1100 if (kctl->info(kctl, uinfo)) { in snd_mixer_oss_build_input()