Home
last modified time | relevance | path

Searched refs:widget_ops (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/sof/
H A Dsof-audio.c414 const struct sof_ipc_tplg_widget_ops *widget_ops; in sof_unprepare_widgets_in_path() local
424 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_unprepare_widgets_in_path()
425 if (widget_ops && widget_ops[widget->id].ipc_unprepare) in sof_unprepare_widgets_in_path()
427 widget_ops[widget->id].ipc_unprepare(swidget); in sof_unprepare_widgets_in_path()
453 const struct sof_ipc_tplg_widget_ops *widget_ops; in sof_prepare_widgets_in_path() local
460 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_prepare_widgets_in_path()
461 if (!widget_ops) in sof_prepare_widgets_in_path()
464 if (!swidget || !widget_ops[widget->id].ipc_prepare || swidget->prepared) in sof_prepare_widgets_in_path()
468 ret = widget_ops[widget->id].ipc_prepare(swidget, fe_params, platform_params, in sof_prepare_widgets_in_path()
490 if (widget_ops[widget->id].ipc_unprepare && in sof_prepare_widgets_in_path()
[all …]
H A Dtopology.c1391 const struct sof_ipc_tplg_widget_ops *widget_ops; in sof_widget_ready() local
1465 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_widget_ready()
1466 if (widget_ops) { in sof_widget_ready()
1467 token_list = widget_ops[w->id].token_list; in sof_widget_ready()
1468 token_list_size = widget_ops[w->id].token_list_size; in sof_widget_ready()
1551 if (widget_ops && widget_ops[w->id].bind_event) { in sof_widget_ready()
1552 ret = widget_ops[w->id].bind_event(scomp, swidget, in sof_widget_ready()
1610 const struct sof_ipc_tplg_widget_ops *widget_ops; in sof_widget_unload() local
1679 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_widget_unload()
1680 if (widget_ops && widget_ops[swidget->id].ipc_free) in sof_widget_unload()
[all …]