Searched refs:sroute (Results 1 – 5 of 5) sorted by relevance
| /linux/sound/soc/sof/ |
| H A D | sof-audio.c | 48 struct snd_sof_route *sroute; in sof_reset_route_setup_status() local 50 list_for_each_entry(sroute, &sdev->route_list, list) in sof_reset_route_setup_status() 51 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status() 52 if (sroute->setup && tplg_ops && tplg_ops->route_free) in sof_reset_route_setup_status() 53 tplg_ops->route_free(sdev, sroute); in sof_reset_route_setup_status() 55 sroute->setup = false; in sof_reset_route_setup_status() 263 struct snd_sof_route *sroute; in sof_route_setup() local 276 list_for_each_entry(sroute, &sdev->route_list, list) in sof_route_setup() 277 if (sroute->src_widget == src_widget && sroute->sink_widget == sink_widget) { in sof_route_setup() 289 if (sroute->setup) in sof_route_setup() [all …]
|
| H A D | ipc4-topology.c | 3782 struct snd_sof_route *sroute) in sof_ipc4_set_copier_sink_format() argument 3801 format.sink_id = sroute->src_queue_id; in sof_ipc4_set_copier_sink_format() 3804 pin_fmt = sof_ipc4_get_input_pin_audio_fmt(sink_widget, sroute->dst_queue_id); in sof_ipc4_set_copier_sink_format() 3808 sink_widget->widget->name, sroute->dst_queue_id, in sof_ipc4_set_copier_sink_format() 3809 src_widget->widget->name, sroute->src_queue_id); in sof_ipc4_set_copier_sink_format() 3829 static int sof_ipc4_route_setup(struct snd_sof_dev *sdev, struct snd_sof_route *sroute) in sof_ipc4_route_setup() argument 3831 struct snd_sof_widget *src_widget = sroute->src_widget; in sof_ipc4_route_setup() 3832 struct snd_sof_widget *sink_widget = sroute->sink_widget; in sof_ipc4_route_setup() 3864 sroute->src_queue_id = sof_ipc4_get_queue_id(src_widget, sink_widget, in sof_ipc4_route_setup() 3866 if (sroute->src_queue_id < 0) { in sof_ipc4_route_setup() [all …]
|
| H A D | topology.c | 1639 struct snd_sof_route *sroute; in sof_widget_unload() 1641 sroute = dobj->private; in sof_widget_unload() 1642 if (!sroute) in sof_widget_unload() 1645 /* free sroute and its private data */ in sof_widget_unload() 1646 kfree(sroute->private); in sof_widget_unload() 1647 list_del(&sroute->list); in sof_widget_unload() 1648 kfree(sroute); in sof_widget_unload() 2109 struct snd_sof_route *sroute; in sof_route_load() 2112 /* allocate memory for sroute and connect */ in sof_route_load() 2113 sroute in sof_route_load() 1616 struct snd_sof_route *sroute; sof_route_unload() local 2085 struct snd_sof_route *sroute; sof_route_load() local [all...] |
| H A D | ipc3-topology.c | 1780 static int sof_ipc3_route_setup(struct snd_sof_dev *sdev, struct snd_sof_route *sroute) in sof_ipc3_control_load_bytes() 1787 connect.source_id = sroute->src_widget->comp_id; in sof_ipc3_control_load_bytes() 1788 connect.sink_id = sroute->sink_widget->comp_id; in sof_ipc3_control_load_bytes() 1791 sroute->src_widget->widget->name, in sof_ipc3_control_load_bytes() 1792 sroute->sink_widget->widget->name); in sof_ipc3_control_load_bytes() 1798 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_control_load_bytes() 2333 struct snd_sof_route *sroute; in sof_ipc3_set_up_all_pipelines() 2379 list_for_each_entry(sroute, &sdev->route_list, list) { in sof_ipc3_set_up_all_pipelines() 2381 if (!verify && (sroute in sof_ipc3_set_up_all_pipelines() 1735 sof_ipc3_route_setup(struct snd_sof_dev * sdev,struct snd_sof_route * sroute) sof_ipc3_route_setup() argument 2288 struct snd_sof_route *sroute; sof_ipc3_set_up_all_pipelines() local 2460 struct snd_sof_route *sroute; sof_ipc3_tear_down_all_pipelines() local [all...] |
| H A D | sof-audio.h | 224 int (*route_setup)(struct snd_sof_dev *sdev, struct snd_sof_route *sroute); 225 int (*route_free)(struct snd_sof_dev *sdev, struct snd_sof_route *sroute);
|