Home
last modified time | relevance | path

Searched refs:kcontrols (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/Documentation/sound/alsa/
DJack-Controls.txt1 Why we need Jack kcontrols
4 ALSA uses kcontrols to export audio controls(switch, volume, Mux, ...)
13 The new jack code creates embedded jack kcontrols for each jack that
26 Those kcontrols will be freed automatically when the Jack is freed.
28 How to use jack kcontrols
Dcompress_offload.txt207 ALSA kcontrols.
217 would be enabled with ALSA kcontrols.
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c667 struct v4l2_ext_control __user *kcontrols; in get_v4l2_ext_controls32() local
689 kcontrols = compat_alloc_user_space(n * sizeof(struct v4l2_ext_control)); in get_v4l2_ext_controls32()
690 kp->controls = (__force struct v4l2_ext_control *)kcontrols; in get_v4l2_ext_controls32()
694 if (copy_in_user(kcontrols, ucontrols, sizeof(*ucontrols))) in get_v4l2_ext_controls32()
696 if (get_user(id, &kcontrols->id)) in get_v4l2_ext_controls32()
704 if (put_user(s, &kcontrols->string)) in get_v4l2_ext_controls32()
708 kcontrols++; in get_v4l2_ext_controls32()
716 struct v4l2_ext_control __user *kcontrols = in put_v4l2_ext_controls32() local
741 if (get_user(id, &kcontrols->id)) in put_v4l2_ext_controls32()
748 if (copy_in_user(ucontrols, kcontrols, size)) in put_v4l2_ext_controls32()
[all …]
/linux-4.4.14/sound/soc/
Dsoc-dapm.c780 if (w->kcontrols) in dapm_is_shared_kcontrol()
781 *kcontrol = w->kcontrols[i]; in dapm_is_shared_kcontrol()
891 w->kcontrols[kci] = kcontrol; in dapm_create_or_share_kcontrol()
914 if (!w->kcontrols[i]) { in dapm_new_mixer()
920 dapm_kcontrol_add_path(w->kcontrols[i], path); in dapm_new_mixer()
922 data = snd_kcontrol_chip(w->kcontrols[i]); in dapm_new_mixer()
974 dapm_kcontrol_add_path(w->kcontrols[0], path); in dapm_new_mux()
1018 w->kcontrols[i] = kcontrol; in dapm_new_dai_link()
2298 kfree(w->kcontrols); in snd_soc_dapm_free_widget()
2929 w->kcontrols = kzalloc(w->num_kcontrols * in snd_soc_dapm_new_widgets()
[all …]
Dsoc-topology.c471 (struct soc_enum *)w->kcontrols[0]->private_value; in remove_widget()
473 snd_ctl_remove(card, w->kcontrols[0]); in remove_widget()
484 struct snd_kcontrol *kcontrol = w->kcontrols[i]; in remove_widget()
488 kfree(w->kcontrols[i]->tlv.p); in remove_widget()
490 snd_ctl_remove(card, w->kcontrols[i]); in remove_widget()
/linux-4.4.14/Documentation/sound/alsa/soc/
Ddapm.txt84 parameters for stream name and kcontrols.
121 Any widget kcontrols can be set using the controls and num_controls members.
123 e.g. Mixer widget (the kcontrols are declared first)
/linux-4.4.14/sound/soc/intel/atom/
Dsst-atom-controls.c629 if (dapm_kcontrol_get_value(w->kcontrols[i])) { in sst_swm_mixer_event()
630 mc = (struct soc_mixer_control *)(w->kcontrols[i])->private_value; in sst_swm_mixer_event()
/linux-4.4.14/include/sound/
Dsoc-dapm.h587 struct snd_kcontrol **kcontrols; member