Home
last modified time | relevance | path

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

/Linux-v5.10/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.rst299 ALSA kcontrols.
309 would be enabled with ALSA kcontrols.
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c1147 struct v4l2_ext_control __user *kcontrols; in get_v4l2_ext_controls32() local
1170 if (aux_space < count * sizeof(*kcontrols)) in get_v4l2_ext_controls32()
1172 kcontrols = aux_buf; in get_v4l2_ext_controls32()
1173 if (put_user_force(kcontrols, &p64->controls)) in get_v4l2_ext_controls32()
1179 if (copy_in_user(kcontrols, ucontrols, sizeof(*ucontrols))) in get_v4l2_ext_controls32()
1182 if (get_user(id, &kcontrols->id)) in get_v4l2_ext_controls32()
1191 if (put_user(s, &kcontrols->string)) in get_v4l2_ext_controls32()
1195 kcontrols++; in get_v4l2_ext_controls32()
1205 struct v4l2_ext_control *kcontrols; in put_v4l2_ext_controls32() local
1225 get_user(kcontrols, &p64->controls)) in put_v4l2_ext_controls32()
[all …]
/Linux-v5.10/sound/soc/codecs/
Dmt6358.c1356 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_hp_event()
1418 dapm_kcontrol_get_value(w->kcontrols[0])); in mt_rcv_event()
1897 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_mic_type_event()
1943 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_adc_l_event()
1959 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_adc_r_event()
1975 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_pga_left_event()
1991 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_pga_right_event()
Dmt6359.c849 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_hp_event()
881 __func__, event, dapm_kcontrol_get_value(w->kcontrols[0])); in mt_rcv_event()
965 __func__, event, dapm_kcontrol_get_value(w->kcontrols[0])); in mt_lo_event()
1418 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_pga_l_mux_event()
1431 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_pga_r_mux_event()
1444 unsigned int mux = dapm_kcontrol_get_value(w->kcontrols[0]); in mt_pga_3_mux_event()
Dhdac_hdmi.c873 kc = w->kcontrols[0]; in hdac_hdmi_pin_mux_widget_event()
/Linux-v5.10/drivers/staging/greybus/
Daudio_helper.c107 kfree(w->kcontrols); in gbaudio_dapm_free_widget()
/Linux-v5.10/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.10/sound/soc/
Dsoc-dapm.c858 if (w->kcontrols) in dapm_is_shared_kcontrol()
859 *kcontrol = w->kcontrols[i]; in dapm_is_shared_kcontrol()
971 w->kcontrols[kci] = kcontrol; in dapm_create_or_share_kcontrol()
994 if (!w->kcontrols[i]) { in dapm_new_mixer()
1000 dapm_kcontrol_add_path(w->kcontrols[i], path); in dapm_new_mixer()
1002 data = snd_kcontrol_chip(w->kcontrols[i]); in dapm_new_mixer()
1054 dapm_kcontrol_add_path(w->kcontrols[0], path); in dapm_new_mux()
1099 w->kcontrols[i] = kcontrol; in dapm_new_dai_link()
2499 kfree(w->kcontrols); in snd_soc_dapm_free_widget()
3215 w->kcontrols = kcalloc(w->num_kcontrols, in snd_soc_dapm_new_widgets()
[all …]
Dsoc-topology.c453 if (!w->kcontrols) in remove_widget()
462 for (i = 0; w->kcontrols != NULL && i < w->num_kcontrols; i++) { in remove_widget()
463 struct snd_kcontrol *kcontrol = w->kcontrols[i]; in remove_widget()
478 for (i = 0; w->kcontrols != NULL && i < w->num_kcontrols; i++) { in remove_widget()
479 struct snd_kcontrol *kcontrol = w->kcontrols[i]; in remove_widget()
/Linux-v5.10/sound/soc/intel/atom/
Dsst-atom-controls.c640 if (dapm_kcontrol_get_value(w->kcontrols[i])) { in sst_swm_mixer_event()
641 mc = (struct soc_mixer_control *)(w->kcontrols[i])->private_value; in sst_swm_mixer_event()
/Linux-v5.10/include/sound/
Dsoc-dapm.h654 struct snd_kcontrol **kcontrols; member