Lines Matching refs:widget_ops
414 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()
492 widget_ops[widget->id].ipc_unprepare(swidget); in sof_prepare_widgets_in_path()