Lines Matching refs:kctl
127 struct snd_kcontrol *kctl, int activate) in vortex_notify_pcm_vol_change() argument
130 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
132 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
134 SNDRV_CTL_EVENT_MASK_INFO, &(kctl->id)); in vortex_notify_pcm_vol_change()
266 chip->pcm_vol[substream->number].kctl, 1); in snd_vortex_pcm_hw_params()
301 chip->pcm_vol[substream->number].kctl, in snd_vortex_pcm_hw_free()
617 struct snd_kcontrol *kctl; in snd_vortex_new_pcm() local
678 kctl = snd_ctl_new1(&snd_vortex_mixer_spdif[i], chip); in snd_vortex_new_pcm()
679 if (!kctl) in snd_vortex_new_pcm()
681 if ((err = snd_ctl_add(chip->card, kctl)) < 0) in snd_vortex_new_pcm()
689 kctl = snd_ctl_new1(&snd_vortex_pcm_vol, chip); in snd_vortex_new_pcm()
690 if (!kctl) in snd_vortex_new_pcm()
692 chip->pcm_vol[i].kctl = kctl; in snd_vortex_new_pcm()
693 kctl->id.device = 0; in snd_vortex_new_pcm()
694 kctl->id.subdevice = i; in snd_vortex_new_pcm()
695 err = snd_ctl_add(chip->card, kctl); in snd_vortex_new_pcm()