Lines Matching refs:tplg_ops
32 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_reset_route_setup_status() local
37 if (sroute->setup && tplg_ops && tplg_ops->route_free) in sof_reset_route_setup_status()
38 tplg_ops->route_free(sdev, sroute); in sof_reset_route_setup_status()
47 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_free_unlocked() local
71 if (tplg_ops && tplg_ops->dai_config) { in sof_widget_free_unlocked()
72 err = tplg_ops->dai_config(sdev, swidget, flags, &data); in sof_widget_free_unlocked()
80 if (tplg_ops && tplg_ops->widget_free) { in sof_widget_free_unlocked()
81 ret = tplg_ops->widget_free(sdev, swidget); in sof_widget_free_unlocked()
137 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_setup_unlocked() local
185 if (tplg_ops && tplg_ops->widget_setup) { in sof_widget_setup_unlocked()
186 ret = tplg_ops->widget_setup(sdev, swidget); in sof_widget_setup_unlocked()
199 if (tplg_ops && tplg_ops->dai_config) { in sof_widget_setup_unlocked()
200 ret = tplg_ops->dai_config(sdev, swidget, flags, NULL); in sof_widget_setup_unlocked()
207 if (tplg_ops && tplg_ops->control && tplg_ops->control->widget_kcontrol_setup) { in sof_widget_setup_unlocked()
208 ret = tplg_ops->control->widget_kcontrol_setup(sdev, swidget); in sof_widget_setup_unlocked()
256 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_route_setup() local
284 if (tplg_ops && tplg_ops->route_setup) { in sof_route_setup()
285 int ret = tplg_ops->route_setup(sdev, sroute); in sof_route_setup()
298 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_setup_pipeline_connections() local
386 if (tplg_ops && tplg_ops->route_setup) { in sof_setup_pipeline_connections()
391 ret = tplg_ops->route_setup(sdev, sroute); in sof_setup_pipeline_connections()
409 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_unprepare_widgets_in_path() local
421 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_unprepare_widgets_in_path()
448 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_prepare_widgets_in_path() local
457 widget_ops = tplg_ops ? tplg_ops->widget : NULL; in sof_prepare_widgets_in_path()
680 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_widget_list_setup() local
743 if (tplg_ops && tplg_ops->pipeline_complete) { in sof_widget_list_setup()
744 spipe->complete = tplg_ops->pipeline_complete(sdev, pipe_widget); in sof_widget_list_setup()
988 const struct sof_ipc_tplg_ops *tplg_ops = sof_ipc_get_ops(sdev, tplg); in sof_dai_get_param() local
994 if (tplg_ops && tplg_ops->dai_get_param) in sof_dai_get_param()
995 return tplg_ops->dai_get_param(sdev, dai, param_type); in sof_dai_get_param()