Home
last modified time | relevance | path

Searched refs:kcontrol_type (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/include/sound/
H A Dsoc-topology.h57 unsigned int *kcontrol_type; /* kcontrol type: mixer, enum, bytes */ member
/linux-6.15/sound/soc/
H A Dsoc-topology.c1101 unsigned int *kcontrol_type = NULL; in soc_tplg_dapm_widget_create() local
1161 kcontrol_type = devm_kcalloc(tplg->dev, le32_to_cpu(w->num_kcontrols), sizeof(unsigned int), in soc_tplg_dapm_widget_create()
1163 if (!kcontrol_type) { in soc_tplg_dapm_widget_create()
1175 kcontrol_type[i] = SND_SOC_TPLG_TYPE_MIXER; in soc_tplg_dapm_widget_create()
1184 kcontrol_type[i] = SND_SOC_TPLG_TYPE_ENUM; in soc_tplg_dapm_widget_create()
1193 kcontrol_type[i] = SND_SOC_TPLG_TYPE_BYTES; in soc_tplg_dapm_widget_create()
1229 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create()
/linux-6.15/sound/soc/sof/
H A Dipc3-control.c601 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc3_control_update()
H A Dipc3-topology.c816 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data()
831 widget->dobj.widget.kcontrol_type[i], widget->name); in sof_get_control_data()
842 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES) { in sof_get_control_data()
H A Dipc4-control.c777 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc4_control_update()
H A Dtopology.c1667 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_widget_unload()