Lines Matching refs:kctl
978 static void snd_emu10k1_pcm_mixer_notify1(struct snd_emu10k1 *emu, struct snd_kcontrol *kctl, int idx, int activate)
982 if (! kctl)
985 kctl->vd[idx].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
987 kctl->vd[idx].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE;
990 snd_ctl_build_ioff(&id, kctl, idx));
1719 struct snd_kcontrol *kctl;
1751 kctl = snd_ctl_new1(&snd_emu10k1_pcm_efx_voices_mask, emu);
1752 if (!kctl)
1754 kctl->id.device = device;
1755 snd_ctl_add(emu->card, kctl);