Home
last modified time | relevance | path

Searched refs:kctl (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/gadget/function/
Du_audio.c497 struct snd_kcontrol *kctl = prm->snd_kctl_rate; in set_active() local
504 &kctl->id); in set_active()
1161 struct snd_kcontrol *kctl; in g_audio_setup() local
1263 kctl = snd_ctl_new1(&u_audio_controls[UAC_FBACK_CTRL], in g_audio_setup()
1265 if (!kctl) { in g_audio_setup()
1270 kctl->id.device = pcm->device; in g_audio_setup()
1271 kctl->id.subdevice = 0; in g_audio_setup()
1273 err = snd_ctl_add(card, kctl); in g_audio_setup()
1279 kctl = snd_ctl_new1(&u_audio_controls[UAC_P_PITCH_CTRL], in g_audio_setup()
1281 if (!kctl) { in g_audio_setup()
[all …]
/drivers/staging/greybus/
Daudio_helper.c152 struct snd_kcontrol *kctl; in gbaudio_remove_controls() local
164 kctl = snd_ctl_find_id(card, &id); in gbaudio_remove_controls()
165 if (!kctl) { in gbaudio_remove_controls()
169 err = snd_ctl_remove(card, kctl); in gbaudio_remove_controls()
Daudio_topology.c645 struct snd_kcontrol_new *kctl, in gbaudio_tplg_create_enum_kctl() argument
670 *kctl = (struct snd_kcontrol_new) in gbaudio_tplg_create_enum_kctl()
677 struct snd_kcontrol_new *kctl, in gbaudio_tplg_create_kcontrol() argument
687 ret = gbaudio_tplg_create_enum_kctl(gb, kctl, ctl); in gbaudio_tplg_create_kcontrol()
700 *kctl = (struct snd_kcontrol_new) in gbaudio_tplg_create_kcontrol()
854 struct snd_kcontrol_new *kctl, in gbaudio_tplg_create_enum_ctl() argument
879 *kctl = (struct snd_kcontrol_new) in gbaudio_tplg_create_enum_ctl()
886 struct snd_kcontrol_new *kctl, in gbaudio_tplg_create_mixer_ctl() argument
900 *kctl = (struct snd_kcontrol_new) in gbaudio_tplg_create_mixer_ctl()
907 struct snd_kcontrol_new *kctl, in gbaudio_tplg_create_wcontrol() argument
[all …]
/drivers/media/pci/solo6x10/
Dsolo6x10-g723.c356 struct snd_kcontrol_new kctl; in solo_g723_init() local
384 kctl = snd_solo_capture_volume; in solo_g723_init()
385 kctl.count = solo_dev->nr_chans; in solo_g723_init()
387 ret = snd_ctl_add(card, snd_ctl_new1(&kctl, solo_dev)); in solo_g723_init()
/drivers/media/usb/em28xx/
Dem28xx-audio.c572 struct snd_kcontrol *kctl; in em28xx_cvol_new() local
585 kctl = snd_ctl_new1(&tmp, dev); in em28xx_cvol_new()
586 err = snd_ctl_add(card, kctl); in em28xx_cvol_new()
603 kctl = snd_ctl_new1(&tmp, dev); in em28xx_cvol_new()
604 err = snd_ctl_add(card, kctl); in em28xx_cvol_new()