Lines Matching refs:tplg_ops
19 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_reset_route_setup_status() local
24 if (sroute->setup && tplg_ops && tplg_ops->route_free) in sof_reset_route_setup_status()
25 tplg_ops->route_free(sdev, sroute); in sof_reset_route_setup_status()
34 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_free_unlocked() local
54 if (tplg_ops && tplg_ops->widget_free) in sof_widget_free_unlocked()
55 err = tplg_ops->widget_free(sdev, swidget); in sof_widget_free_unlocked()
104 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_setup_unlocked() local
146 if (tplg_ops && tplg_ops->widget_setup) { in sof_widget_setup_unlocked()
147 ret = tplg_ops->widget_setup(sdev, swidget); in sof_widget_setup_unlocked()
156 if (tplg_ops && tplg_ops->dai_config) { in sof_widget_setup_unlocked()
157 ret = tplg_ops->dai_config(sdev, swidget, flags, NULL); in sof_widget_setup_unlocked()
164 if (tplg_ops && tplg_ops->control && tplg_ops->control->widget_kcontrol_setup) { in sof_widget_setup_unlocked()
165 ret = tplg_ops->control->widget_kcontrol_setup(sdev, swidget); in sof_widget_setup_unlocked()
205 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_route_setup() local
247 if (tplg_ops && tplg_ops->route_setup) { in sof_route_setup()
248 int ret = tplg_ops->route_setup(sdev, sroute); in sof_route_setup()
313 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_unprepare_widgets_in_path() local
322 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_unprepare_widgets_in_path()
349 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_prepare_widgets_in_path() local
355 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_prepare_widgets_in_path()
569 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_list_setup() local
632 if (tplg_ops && tplg_ops->pipeline_complete) { in sof_widget_list_setup()
633 spipe->complete = tplg_ops->pipeline_complete(sdev, pipe_widget); in sof_widget_list_setup()
858 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_dai_get_clk() local
864 if (tplg_ops && tplg_ops->dai_get_clk) in sof_dai_get_clk()
865 return tplg_ops->dai_get_clk(sdev, dai, clk_type); in sof_dai_get_clk()