Lines Matching defs:template

36 		if (mod->template->id == template_id)
47 if (ppl->template->id == template_id)
55 struct avs_tplg_path_template *pos, *template = NULL;
65 template = pos;
69 if (!template)
73 /* Only one variant of given path template may be instantiated at a time. */
75 if (path->template->owner == template) {
96 struct avs_tplg_path_template *template,
102 list_for_each_entry(variant, &template->path_list, node) {
119 struct avs_tplg_path_template *template,
125 list_for_each_entry(variant, &template->path_list, node) {
126 if (variant->source_path_id == source->template->id &&
127 variant->sink_path_id == sink->template->id)
141 struct avs_tplg_path_template *template,
147 id = &template->source;
148 id2 = &template->sink;
150 id = &template->sink;
151 id2 = &template->source;
154 /* Check whether this path is either source or sink of condpath template. */
155 if (id->id != path->template->owner->id ||
156 strcmp(id->tplg_name, path->template->owner->owner->name))
170 int avs_path_set_constraint(struct avs_dev *adev, struct avs_tplg_path_template *template,
180 list_for_each_entry(path_template, &template->path_list, node)
190 list_for_each_entry(path_template, &template->path_list, node) {
402 struct avs_tplg_module *t = mod->template;
436 struct avs_tplg_module *t = mod->template;
472 struct avs_tplg_module *t = mod->template;
502 t = mod->template;
538 t = mod->template;
567 struct avs_tplg_module *t = mod->template;
610 struct avs_tplg_module *t = mod->template;
632 struct avs_tplg_module *t = mod->template;
649 struct avs_tplg_module *t = mod->template;
669 struct avs_tplg_module *t = mod->template;
688 struct avs_tplg_module *t = mod->template;
706 struct avs_tplg_module *t = mod->template;
723 struct avs_tplg_module *t = mod->template;
740 struct avs_tplg_module *t = mod->template;
756 struct avs_tplg_module *t = mod->template;
825 const guid_t *type = &mod->template->cfg_ext->type;
838 acomp = to_avs_soc_component(mod->template->owner->owner->owner->owner->comp);
840 u32 num_ids = mod->template->num_config_ids;
841 u32 *ids = mod->template->config_ids;
869 struct avs_tplg_module *template)
874 module_id = avs_get_module_id(adev, &template->cfg_ext->type);
882 mod->template = template;
910 t = binding->template;
970 binding->template = t;
1024 mod->template->core_id);
1034 struct avs_tplg_pipeline *template)
1037 struct avs_tplg_pplcfg *cfg = template->cfg;
1045 ppl->template = template;
1060 list_for_each_entry(tmod, &template->mod_list, node) {
1073 for (i = 0; i < template->num_bindings; i++) {
1076 binding = avs_path_binding_create(adev, ppl, template->bindings[i]);
1094 struct avs_tplg_path *template, u32 dma_id)
1099 path->template = template;
1109 list_for_each_entry(tppl, &template->ppl_list, node) {
1166 struct avs_tplg_path *template)
1175 ret = avs_path_init(adev, path, template, dma_id);
1209 struct avs_tplg_path *template,
1216 path = avs_path_create_unlocked(adev, 0, template);
1258 struct avs_tplg_path_template *template;
1262 template = &acomp->tplg->condpath_tmpls[i];
1265 if (avs_tplg_path_template_id_equal(&template->source,
1266 &template->sink) && dir)
1269 *other = avs_condpath_find_match(adev, template, path, dir);
1273 variant = avs_condpath_find_variant(adev, template, source, sink);
1317 struct avs_tplg_path_template *template,
1325 variant = avs_path_find_variant(adev, template, fe_params, be_params);
1357 struct avs_tplg_module *tsource = binding->source->template;
1371 sink_fmt = binding->sink->template->in_fmt;
1539 if (ppl->template->cfg->trigger != trigger)
1584 if (ppl->template->cfg->trigger != trigger)