Searched refs:sroute (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/sound/soc/sof/ |
D | sof-audio.c | 20 struct snd_sof_route *sroute; in sof_reset_route_setup_status() local 22 list_for_each_entry(sroute, &sdev->route_list, list) in sof_reset_route_setup_status() 23 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status() 24 if (sroute->setup && tplg_ops->route_free) in sof_reset_route_setup_status() 25 tplg_ops->route_free(sdev, sroute); in sof_reset_route_setup_status() 27 sroute->setup = false; in sof_reset_route_setup_status() 175 struct snd_sof_route *sroute; in sof_route_setup() local 199 list_for_each_entry(sroute, &sdev->route_list, list) in sof_route_setup() 200 if (sroute->src_widget == src_widget && sroute->sink_widget == sink_widget) { in sof_route_setup() 212 if (sroute->setup) in sof_route_setup() [all …]
|
D | topology.c | 1392 struct snd_sof_route *sroute; in sof_route_unload() local 1394 sroute = dobj->private; in sof_route_unload() 1395 if (!sroute) in sof_route_unload() 1399 kfree(sroute->private); in sof_route_unload() 1400 list_del(&sroute->list); in sof_route_unload() 1401 kfree(sroute); in sof_route_unload() 1831 struct snd_sof_route *sroute; in sof_route_load() local 1835 sroute = kzalloc(sizeof(*sroute), GFP_KERNEL); in sof_route_load() 1836 if (!sroute) in sof_route_load() 1839 sroute->scomp = scomp; in sof_route_load() [all …]
|
D | ipc3-topology.c | 1607 static int sof_ipc3_route_setup(struct snd_sof_dev *sdev, struct snd_sof_route *sroute) in sof_ipc3_route_setup() argument 1615 connect.source_id = sroute->src_widget->comp_id; in sof_ipc3_route_setup() 1616 connect.sink_id = sroute->sink_widget->comp_id; in sof_ipc3_route_setup() 1619 sroute->src_widget->widget->name, in sof_ipc3_route_setup() 1620 sroute->sink_widget->widget->name); in sof_ipc3_route_setup() 1626 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_route_setup() 2131 struct snd_sof_route *sroute; in sof_ipc3_set_up_all_pipelines() local 2177 list_for_each_entry(sroute, &sdev->route_list, list) { in sof_ipc3_set_up_all_pipelines() 2179 if (!verify && (sroute->src_widget->dynamic_pipeline_widget || in sof_ipc3_set_up_all_pipelines() 2180 sroute->sink_widget->dynamic_pipeline_widget)) in sof_ipc3_set_up_all_pipelines() [all …]
|
D | sof-audio.h | 176 int (*route_setup)(struct snd_sof_dev *sdev, struct snd_sof_route *sroute); 177 int (*route_free)(struct snd_sof_dev *sdev, struct snd_sof_route *sroute);
|
D | ipc4-topology.c | 1591 static int sof_ipc4_route_setup(struct snd_sof_dev *sdev, struct snd_sof_route *sroute) in sof_ipc4_route_setup() argument 1593 struct snd_sof_widget *src_widget = sroute->src_widget; in sof_ipc4_route_setup() 1594 struct snd_sof_widget *sink_widget = sroute->sink_widget; in sof_ipc4_route_setup() 1628 static int sof_ipc4_route_free(struct snd_sof_dev *sdev, struct snd_sof_route *sroute) in sof_ipc4_route_free() argument 1630 struct snd_sof_widget *src_widget = sroute->src_widget; in sof_ipc4_route_free() 1631 struct snd_sof_widget *sink_widget = sroute->sink_widget; in sof_ipc4_route_free()
|