Lines Matching defs:template
1310 struct avs_tplg_path_template *template,
1318 /* Path template header MUST be followed by at least one path variant. */
1325 ret = avs_parse_tokens(comp, template, tmpl_tokens, num_tmpl_tokens, tuples, offset);
1339 path = avs_tplg_path_create(comp, template, tuples, esize, path_tokens,
1346 list_add_tail(&path->node, &template->path_list);
1358 struct avs_tplg_path_template *template;
1361 template = devm_kzalloc(comp->card->dev, sizeof(*template), GFP_KERNEL);
1362 if (!template)
1365 template->owner = owner; /* Used to access component tplg is assigned to. */
1366 INIT_LIST_HEAD(&template->path_list);
1367 INIT_LIST_HEAD(&template->node);
1369 ret = parse_path_template(comp, tuples, block_size, template, path_tmpl_parsers,
1375 return template;
1408 struct avs_tplg_path_template *template;
1432 template = avs_tplg_path_template_create(comp, tplg, dw->priv.array,
1434 if (IS_ERR(template)) {
1436 PTR_ERR(template));
1437 return PTR_ERR(template);
1440 w->priv = template; /* link path information to widget */
1441 list_add_tail(&template->node, &tplg->path_tmpl_list);
1449 struct avs_tplg_path_template *template = w->priv;
1451 template->w = w;