Lines Matching refs:widget_ops
411 const struct sof_ipc_tplg_widget_ops *widget_ops; in sof_unprepare_widgets_in_path() local
421 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_unprepare_widgets_in_path()
422 if (widget_ops && widget_ops[widget->id].ipc_unprepare) in sof_unprepare_widgets_in_path()
424 widget_ops[widget->id].ipc_unprepare(swidget); in sof_unprepare_widgets_in_path()
450 const struct sof_ipc_tplg_widget_ops *widget_ops; in sof_prepare_widgets_in_path() local
457 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_prepare_widgets_in_path()
458 if (!widget_ops) in sof_prepare_widgets_in_path()
461 if (!swidget || !widget_ops[widget->id].ipc_prepare || swidget->prepared) in sof_prepare_widgets_in_path()
465 ret = widget_ops[widget->id].ipc_prepare(swidget, fe_params, platform_params, in sof_prepare_widgets_in_path()
487 if (widget_ops[widget->id].ipc_unprepare && in sof_prepare_widgets_in_path()
489 widget_ops[widget->id].ipc_unprepare(swidget); in sof_prepare_widgets_in_path()