Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/sound/designs/
Djack-controls.rst5 Why we need Jack kcontrols
8 ALSA uses kcontrols to export audio controls(switch, volume, Mux, ...)
17 The new jack code creates embedded jack kcontrols for each jack that
30 Those kcontrols will be freed automatically when the Jack is freed.
32 How to use jack kcontrols
Dcompress-offload.rst216 ALSA kcontrols.
226 would be enabled with ALSA kcontrols.
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c912 struct v4l2_ext_control __user *kcontrols; in get_v4l2_ext_controls32() local
935 if (aux_space < count * sizeof(*kcontrols)) in get_v4l2_ext_controls32()
937 kcontrols = aux_buf; in get_v4l2_ext_controls32()
938 if (put_user_force(kcontrols, &p64->controls)) in get_v4l2_ext_controls32()
944 if (copy_in_user(kcontrols, ucontrols, sizeof(*ucontrols))) in get_v4l2_ext_controls32()
947 if (get_user(id, &kcontrols->id)) in get_v4l2_ext_controls32()
956 if (put_user(s, &kcontrols->string)) in get_v4l2_ext_controls32()
960 kcontrols++; in get_v4l2_ext_controls32()
970 struct v4l2_ext_control *kcontrols; in put_v4l2_ext_controls32() local
990 get_user(kcontrols, &p64->controls)) in put_v4l2_ext_controls32()
[all …]
/Linux-v5.4/sound/soc/codecs/
Dmt6358.c1249 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_hp_event()
1311 dapm_kcontrol_get_value(w->kcontrols[0])); in mt_rcv_event()
1787 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_mic_type_event()
1833 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_adc_l_event()
1849 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_adc_r_event()
1865 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_pga_left_event()
1881 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_pga_right_event()
Dhdac_hdmi.c879 kc = w->kcontrols[0]; in hdac_hdmi_pin_mux_widget_event()
/Linux-v5.4/Documentation/sound/soc/
Ddapm.rst134 parameters for stream name and kcontrols.
175 Any widget kcontrols can be set using the controls and num_controls members.
177 e.g. Mixer widget (the kcontrols are declared first)
/Linux-v5.4/sound/soc/
Dsoc-dapm.c841 if (w->kcontrols) in dapm_is_shared_kcontrol()
842 *kcontrol = w->kcontrols[i]; in dapm_is_shared_kcontrol()
954 w->kcontrols[kci] = kcontrol; in dapm_create_or_share_kcontrol()
977 if (!w->kcontrols[i]) { in dapm_new_mixer()
983 dapm_kcontrol_add_path(w->kcontrols[i], path); in dapm_new_mixer()
985 data = snd_kcontrol_chip(w->kcontrols[i]); in dapm_new_mixer()
1037 dapm_kcontrol_add_path(w->kcontrols[0], path); in dapm_new_mux()
1082 w->kcontrols[i] = kcontrol; in dapm_new_dai_link()
2477 kfree(w->kcontrols); in snd_soc_dapm_free_widget()
3196 w->kcontrols = kcalloc(w->num_kcontrols, in snd_soc_dapm_new_widgets()
[all …]
Dsoc-topology.c463 if (!w->kcontrols) in remove_widget()
472 for (i = 0; w->kcontrols != NULL && i < w->num_kcontrols; i++) { in remove_widget()
473 struct snd_kcontrol *kcontrol = w->kcontrols[i]; in remove_widget()
488 for (i = 0; w->kcontrols != NULL && i < w->num_kcontrols; i++) { in remove_widget()
489 struct snd_kcontrol *kcontrol = w->kcontrols[i]; in remove_widget()
/Linux-v5.4/sound/soc/intel/atom/
Dsst-atom-controls.c622 if (dapm_kcontrol_get_value(w->kcontrols[i])) { in sst_swm_mixer_event()
623 mc = (struct soc_mixer_control *)(w->kcontrols[i])->private_value; in sst_swm_mixer_event()
/Linux-v5.4/include/sound/
Dsoc-dapm.h632 struct snd_kcontrol **kcontrols; member