Lines Matching refs:kctl
115 struct snd_kcontrol *kctl, int activate) in vortex_notify_pcm_vol_change() argument
118 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
120 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
122 SNDRV_CTL_EVENT_MASK_INFO, &(kctl->id)); in vortex_notify_pcm_vol_change()
246 chip->pcm_vol[substream->number].kctl, 1); in snd_vortex_pcm_hw_params()
281 chip->pcm_vol[substream->number].kctl, in snd_vortex_pcm_hw_free()
598 struct snd_kcontrol *kctl; in snd_vortex_new_pcm() local
658 kctl = snd_ctl_new1(&snd_vortex_mixer_spdif[i], chip); in snd_vortex_new_pcm()
659 if (!kctl) in snd_vortex_new_pcm()
661 err = snd_ctl_add(chip->card, kctl); in snd_vortex_new_pcm()
670 kctl = snd_ctl_new1(&snd_vortex_pcm_vol, chip); in snd_vortex_new_pcm()
671 if (!kctl) in snd_vortex_new_pcm()
673 chip->pcm_vol[i].kctl = kctl; in snd_vortex_new_pcm()
674 kctl->id.device = 0; in snd_vortex_new_pcm()
675 kctl->id.subdevice = i; in snd_vortex_new_pcm()
676 err = snd_ctl_add(chip->card, kctl); in snd_vortex_new_pcm()