Lines Matching defs:template
201 snd_config_t **template,
207 ret = snd_config_make(&top, "template", SND_CONFIG_TYPE_COMPOUND);
245 *template = top;
797 /* search for all template configs in the source config and copy them to the destination */
798 static int tplg_object_add_attributes(snd_config_t *dst, snd_config_t *template,
805 snd_config_for_each(i, next, template) {
897 * Function to create a new "section" config based on the template. The new config will be
904 snd_config_t *top, *template, *obj;
950 goto template;
960 template:
961 /* create template config */
965 ret = tplg_create_config_template(tplg_pp, &template, map->template_items);
967 SNDERR("Error creating template config for %s\n", object_name);
971 /* update section config based on template and the attribute values in the object */
972 ret = tplg_object_add_attributes(*wtop, template, obj);
973 snd_config_delete(template);