Lines Matching refs:tplg_ops
33 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_reset_route_setup_status() local
38 if (sroute->setup && tplg_ops && tplg_ops->route_free) in sof_reset_route_setup_status()
39 tplg_ops->route_free(sdev, sroute); in sof_reset_route_setup_status()
48 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_free_unlocked() local
75 if (tplg_ops && tplg_ops->dai_config) { in sof_widget_free_unlocked()
76 err = tplg_ops->dai_config(sdev, swidget, flags, &data); in sof_widget_free_unlocked()
84 if (tplg_ops && tplg_ops->widget_free) { in sof_widget_free_unlocked()
85 ret = tplg_ops->widget_free(sdev, swidget); in sof_widget_free_unlocked()
140 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_setup_unlocked() local
188 if (tplg_ops && tplg_ops->widget_setup) { in sof_widget_setup_unlocked()
189 ret = tplg_ops->widget_setup(sdev, swidget); in sof_widget_setup_unlocked()
202 if (tplg_ops && tplg_ops->dai_config) { in sof_widget_setup_unlocked()
203 ret = tplg_ops->dai_config(sdev, swidget, flags, NULL); in sof_widget_setup_unlocked()
210 if (tplg_ops && tplg_ops->control && tplg_ops->control->widget_kcontrol_setup) { in sof_widget_setup_unlocked()
211 ret = tplg_ops->control->widget_kcontrol_setup(sdev, swidget); in sof_widget_setup_unlocked()
259 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_route_setup() local
287 if (tplg_ops && tplg_ops->route_setup) { in sof_route_setup()
288 int ret = tplg_ops->route_setup(sdev, sroute); in sof_route_setup()
301 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_setup_pipeline_connections() local
389 if (tplg_ops && tplg_ops->route_setup) { in sof_setup_pipeline_connections()
394 ret = tplg_ops->route_setup(sdev, sroute); in sof_setup_pipeline_connections()
412 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_unprepare_widgets_in_path() local
424 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_unprepare_widgets_in_path()
451 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_prepare_widgets_in_path() local
460 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_prepare_widgets_in_path()
683 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_list_setup() local
746 if (tplg_ops && tplg_ops->pipeline_complete) { in sof_widget_list_setup()
747 spipe->complete = tplg_ops->pipeline_complete(sdev, pipe_widget); in sof_widget_list_setup()
978 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_dai_get_clk() local
984 if (tplg_ops && tplg_ops->dai_get_clk) in sof_dai_get_clk()
985 return tplg_ops->dai_get_clk(sdev, dai, clk_type); in sof_dai_get_clk()