Lines Matching defs:route
164 * the index from the route: ex: pga..0, host..playback etc
255 /* if no index provided, substitue with route index */
293 snd_config_t *top, *obj, *cfg, *route, *child, *parent_obj;
316 tplg_pp_debug("Building DAPM route object: '%s' ...", name);
328 /* get route index */
333 SNDERR("Invalid index route %s\n", name);
341 SNDERR("No source for route %s\n", name);
347 SNDERR("Invalid name for source in route %s\n", name);
360 SNDERR("No sink for route %s\n", name);
367 SNDERR("Invalid name for sink in route %s\n", name);
384 SNDERR("Invalid control name for route %s\n", name);
389 /* add route */
396 ret = snd_config_make(&route, route_name, SND_CONFIG_TYPE_COMPOUND);
399 SNDERR("Error creating route config for %s %d\n", name, ret);
403 ret = snd_config_add(top, route);
405 SNDERR("Error adding route config for %s %d\n", name, ret);
410 ret = tplg_config_make_add(&child, "index", SND_CONFIG_TYPE_INTEGER, route);
423 ret = tplg_config_make_add(&cfg, "lines", SND_CONFIG_TYPE_COMPOUND, route);
429 /* add route string */