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()
1551 if (widget_ops && widget_ops[w->id].bind_event) { in sof_widget_ready()
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()
1681 widget_ops[swidget->id].ipc_free(swidget); in sof_widget_unload()
2169 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_complete()
2190 if (widget_ops && widget_ops[pipe_widget->id].ipc_setup) { in sof_complete()
[all …]