Home
last modified time | relevance | path

Searched refs:sroute (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/sound/soc/sof/
Dsof-audio.c18 struct snd_sof_route *sroute; in sof_reset_route_setup_status() local
20 list_for_each_entry(sroute, &sdev->route_list, list) in sof_reset_route_setup_status()
21 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status()
22 if (sroute->setup && tplg_ops->route_free) in sof_reset_route_setup_status()
23 tplg_ops->route_free(sdev, sroute); in sof_reset_route_setup_status()
25 sroute->setup = false; in sof_reset_route_setup_status()
169 struct snd_sof_route *sroute; in sof_route_setup() local
193 list_for_each_entry(sroute, &sdev->route_list, list) in sof_route_setup()
194 if (sroute->src_widget == src_widget && sroute->sink_widget == sink_widget) { in sof_route_setup()
206 if (sroute->setup) in sof_route_setup()
[all …]
Dtopology.c1364 struct snd_sof_route *sroute; in sof_route_unload() local
1366 sroute = dobj->private; in sof_route_unload()
1367 if (!sroute) in sof_route_unload()
1371 kfree(sroute->private); in sof_route_unload()
1372 list_del(&sroute->list); in sof_route_unload()
1373 kfree(sroute); in sof_route_unload()
1806 struct snd_sof_route *sroute; in sof_route_load() local
1810 sroute = kzalloc(sizeof(*sroute), GFP_KERNEL); in sof_route_load()
1811 if (!sroute) in sof_route_load()
1814 sroute->scomp = scomp; in sof_route_load()
[all …]
Dipc3-topology.c1551 static int sof_ipc3_route_setup(struct snd_sof_dev *sdev, struct snd_sof_route *sroute) in sof_ipc3_route_setup() argument
1559 connect.source_id = sroute->src_widget->comp_id; in sof_ipc3_route_setup()
1560 connect.sink_id = sroute->sink_widget->comp_id; in sof_ipc3_route_setup()
1563 sroute->src_widget->widget->name, in sof_ipc3_route_setup()
1564 sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1570 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
2075 struct snd_sof_route *sroute; in sof_ipc3_set_up_all_pipelines() local
2121 list_for_each_entry(sroute, &sdev->route_list, list) { in sof_ipc3_set_up_all_pipelines()
2123 if (!verify && (sroute->src_widget->dynamic_pipeline_widget || in sof_ipc3_set_up_all_pipelines()
2124 sroute->sink_widget->dynamic_pipeline_widget)) in sof_ipc3_set_up_all_pipelines()
[all …]
Dsof-audio.h175 int (*route_setup)(struct snd_sof_dev *sdev, struct snd_sof_route *sroute);
176 int (*route_free)(struct snd_sof_dev *sdev, struct snd_sof_route *sroute);