Lines Matching defs:template
1513 struct avs_tplg_path_template *template,
1521 /* Path template header MUST be followed by at least one path variant. */
1528 ret = avs_parse_tokens(comp, template, tmpl_tokens, num_tmpl_tokens, tuples, offset);
1542 path = avs_tplg_path_create(comp, template, tuples, esize, path_tokens,
1549 list_add_tail(&path->node, &template->path_list);
1561 struct avs_tplg_path_template *template;
1564 template = devm_kzalloc(comp->card->dev, sizeof(*template), GFP_KERNEL);
1565 if (!template)
1568 template->owner = owner; /* Used to access component tplg is assigned to. */
1569 INIT_LIST_HEAD(&template->path_list);
1570 INIT_LIST_HEAD(&template->node);
1572 ret = parse_path_template(comp, tuples, block_size, template, path_tmpl_parsers,
1578 return template;
1601 struct avs_tplg_path_template *template;
1604 template = &tplg->condpath_tmpls[i];
1605 template->owner = tplg; /* Used when building sysfs hierarchy. */
1606 INIT_LIST_HEAD(&template->path_list);
1607 INIT_LIST_HEAD(&template->node);
1614 ret = parse_path_template(comp, tuples, esize, template,
1752 struct avs_tplg_path_template *template;
1791 template = avs_tplg_path_template_create(comp, tplg, dw->priv.array,
1793 if (IS_ERR(template)) {
1795 PTR_ERR(template));
1796 return PTR_ERR(template);
1799 w->priv = template; /* link path information to widget */
1800 list_add_tail(&template->node, &tplg->path_tmpl_list);
1808 struct avs_tplg_path_template *template = w->priv;
1810 template->w = w;