Lines Matching refs:parent

35 				   snd_config_t *parent ATTRIBUTE_UNUSED)
81 int tplg_parent_update(struct tplg_pre_processor *tplg_pp, snd_config_t *parent,
90 /* Nothing to do if parent is NULL */
91 if (!parent)
94 child = tplg_object_get_instance_config(tplg_pp, parent);
99 SNDERR("No name config for parent\n");
105 SNDERR("Invalid name for parent\n");
110 top = tplg_object_get_section(tplg_pp, parent);
183 snd_config_t *parent)
197 return tplg_parent_update(tplg_pp, parent, "data", name);
842 /* Add object attributes to the private data of the parent object config */
844 snd_config_t *parent)
851 /* nothing to do if parent is NULL */
852 if (!parent)
856 parent_obj = tplg_object_get_instance_config(tplg_pp, parent);
864 /* get parent object name or ID */
869 SNDERR("Invalid ID for parent of object %s\n", id);
874 map = tplg_object_get_map(tplg_pp, parent);
880 /* find parent config with ID */
981 snd_config_t *parent ATTRIBUTE_UNUSED)
1213 * 3. Inherited value from the parent object
1214 * 4. Value set in the object instance embedded in the parent object
1215 * 5. Value set in the object instance embedded in the parent class definition
1218 snd_config_t *parent)
1275 goto parent;
1280 parent:
1281 /* search for attribute value in parent */
1282 if (!parent)
1285 /* get parent obj cfg */
1286 parent_obj = tplg_object_get_instance_config(tplg_pp, parent);
1297 if (!parent)
1312 if (!parent)
1315 cfg = tplg_class_lookup(tplg_pp, parent);
1341 snd_config_t *parent, snd_config_t *cfg)
1359 ret = tplg_pre_process_objects(tplg_pp, n, parent);
1817 snd_config_t *parent)
1849 ret = tplg_object_update(tplg_pp, new_obj, parent);
1919 * If not, process object attributes and add to parent's data section
1928 ret = auto_attr_updater(tplg_pp, obj_local, parent);
1938 ret = builder(tplg_pp, new_obj, parent);
1959 snd_config_t *parent)
2012 if (parent) {
2019 /* search for object instance in the parent */
2020 parent_instance = tplg_object_get_instance_config(tplg_pp, parent);
2033 /* create a temp config copying the parent object config */
2041 * Merge parent object with the current object instance.
2046 SNDERR("error merging parent object config for %s.%s.%s\n",
2081 ret = tplg_build_object(tplg_pp, _obj_type, parent);