Lines Matching defs:kctl
1029 static void snd_emu10k1_pcm_mixer_notify1(struct snd_emu10k1 *emu, struct snd_kcontrol *kctl, int idx, int activate)
1033 if (! kctl)
1036 kctl->vd[idx].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
1038 kctl->vd[idx].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE;
1041 snd_ctl_build_ioff(&id, kctl, idx));
1774 struct snd_kcontrol *kctl;
1814 kctl = snd_ctl_new1(&snd_emu10k1_pcm_efx_voices_mask, emu);
1815 if (!kctl)
1817 kctl->id.device = device;
1818 err = snd_ctl_add(emu->card, kctl);