Lines Matching defs:route
200 struct snd_soc_tplg_dapm_graph_elem *route;
207 if (!elem->route || elem->type != SND_TPLG_TYPE_DAPM_GRAPH) {
208 SNDERR("invalid route '%s'", elem->id);
212 route = elem->route;
213 tplg_dbg("Check route: sink '%s', control '%s', source '%s'",
214 route->sink, route->control, route->source);
217 if (strlen(route->sink) <= 0) {
222 if (!tplg_elem_lookup(&tplg->widget_list, route->sink,
224 SNDERR("undefined sink widget/stream '%s'", route->sink);
228 if (strlen(route->control)) {
229 if (!tplg_elem_lookup(&tplg->mixer_list, route->control,
231 !tplg_elem_lookup(&tplg->enum_list, route->control,
234 route->control);
239 if (strlen(route->source) <= 0) {
244 if (!tplg_elem_lookup(&tplg->widget_list, route->source,
247 route->source);
280 elem->route = line;
299 SNDERR("invalid route \"%s\"", buf);
308 SNDERR("invalid route \"%s\"", buf);
322 SNDERR("invalid route \"%s\"", buf);
354 line = elem->route;
360 tplg_dbg("route: sink '%s', control '%s', source '%s'",
421 struct snd_soc_tplg_dapm_graph_elem *route;
433 if (!elem->route || elem->type != SND_TPLG_TYPE_DAPM_GRAPH)
460 if (!elem->route || elem->type != SND_TPLG_TYPE_DAPM_GRAPH)
489 route = elem->route;
491 route->sink, route->control,
492 route->source);
755 line = elem->route;