Lines Matching refs:widget
85 const struct snd_soc_dapm_widget *widget);
88 const struct snd_soc_dapm_widget *widget);
468 if (dobj->widget.kcontrol_enum) { in remove_widget()
1374 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1418 goto widget; in soc_tplg_dapm_widget_create()
1446 template.dobj.widget.kcontrol_enum = 1; in soc_tplg_dapm_widget_create()
1473 widget: in soc_tplg_dapm_widget_create()
1481 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create()
1483 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create()
1484 if (widget == NULL) { in soc_tplg_dapm_widget_create()
1490 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
1491 widget->dobj.ops = tplg->ops; in soc_tplg_dapm_widget_create()
1492 widget->dobj.index = tplg->index; in soc_tplg_dapm_widget_create()
1493 list_add(&widget->dobj.list, &tplg->comp->dobj_list); in soc_tplg_dapm_widget_create()
1506 struct snd_soc_tplg_dapm_widget *widget; in soc_tplg_dapm_widget_elems_load() local
1515 widget = (struct snd_soc_tplg_dapm_widget *) tplg->pos; in soc_tplg_dapm_widget_elems_load()
1516 ret = soc_tplg_dapm_widget_create(tplg, widget); in soc_tplg_dapm_widget_elems_load()
1519 widget->name); in soc_tplg_dapm_widget_elems_load()