Lines Matching defs:kctl
1093 static void snd_emu10k1_pcm_mixer_notify1(struct snd_emu10k1 *emu, struct snd_kcontrol *kctl, int idx, int activate)
1097 if (! kctl)
1100 kctl->vd[idx].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
1102 kctl->vd[idx].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE;
1105 snd_ctl_build_ioff(&id, kctl, idx));
1827 struct snd_kcontrol *kctl;
1858 kctl = snd_ctl_new1(&snd_emu10k1_pcm_efx_voices_mask, emu);
1859 if (!kctl)
1861 kctl->id.device = device;
1862 err = snd_ctl_add(emu->card, kctl);