Home
last modified time | relevance | path

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

/Linux-v5.15/include/sound/
Dsoc-topology.h57 unsigned int *kcontrol_type; /* kcontrol type: mixer, enum, bytes */ member
/Linux-v5.15/sound/soc/
Dsoc-topology.c1423 unsigned int *kcontrol_type = NULL; in soc_tplg_dapm_widget_create() local
1485 kcontrol_type = devm_kcalloc(tplg->dev, le32_to_cpu(w->num_kcontrols), sizeof(unsigned int), in soc_tplg_dapm_widget_create()
1487 if (!kcontrol_type) in soc_tplg_dapm_widget_create()
1501 kcontrol_type[i] = SND_SOC_TPLG_TYPE_MIXER; in soc_tplg_dapm_widget_create()
1514 kcontrol_type[i] = SND_SOC_TPLG_TYPE_ENUM; in soc_tplg_dapm_widget_create()
1523 kcontrol_type[i] = SND_SOC_TPLG_TYPE_BYTES; in soc_tplg_dapm_widget_create()
1557 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create()
/Linux-v5.15/sound/soc/sof/
Dtopology.c2138 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data()
2153 widget->dobj.widget.kcontrol_type[i], in sof_get_control_data()
2169 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES && in sof_get_control_data()
2611 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_widget_unload()