Lines Matching defs:object

32 /* Parse VendorToken object, create the "SectionVendorToken" and save it */
181 /* Parse data object, create the "SectionData" and save it. Only "bytes" data supported for now */
502 /* get object's name attribute value */
504 snd_config_t *object)
510 ret = snd_config_search(object, "name", &cfg);
521 /* look up the instance of object in a config */
715 /* add data item to object */
760 /* add data items to object's data section */
842 /* Add object attributes to the private data of the parent object config */
858 /* get object ID */
860 SNDERR("Invalid ID for object\n");
864 /* get parent object name or ID */
869 SNDERR("Invalid ID for parent of object %s\n", id);
876 SNDERR("Parent object %s not supported\n", parent_id);
909 /* look up object map */
912 SNDERR("unknown object type or class name\n");
918 /* look up or create the corresponding section config for object */
932 /* get object name */
942 tplg_pp_debug("Building object: '%s' ...", object_name);
944 /* create and add new object config with name, if needed */
971 /* update section config based on template and the attribute values in the object */
975 SNDERR("Error adding attributes for object '%s'\n", object_name);
1133 /* for other type objects, also match the object class_name */
1179 /* copy object value */
1209 * Attribute values for an object can be set in one of the following in order of
1211 * 1. Value set in object instance
1212 * 2. Default value set in the object's class definition
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
1261 /* check if attribute value is set in the object */
1381 /* set class name as the name prefix for the object */
1390 /* iterate through all class arguments and set object name */
1409 /* find and replace with value set in object */
1412 SNDERR("Argument %s not set for object '%s.%s'\n", s, class_id, obj_id);
1417 /* concat arg value to object name. arg types must be either integer or string */
1447 SNDERR("Argument '%s' in object '%s.%s' is not an integer or a string\n",
1534 /* override value if unique attribute is set in the object instance */
1540 SNDERR("error creating new attribute cfg for object %s\n", id);
1545 SNDERR("error adding new attribute cfg for object %s\n", id);
1552 SNDERR("error setting unique attribute cfg for object %s\n", id);
1560 * Helper function to get object instance config which is 2 nodes down from class_type config.
1618 /* No global define found, proceeed to object attribute search */
1622 /* find variable from object attribute values if not found in global definitions */
1625 SNDERR("Failed to find definition for attribute %s in '%s' object\n",
1734 /* split the string and expand global definitions or object attribute values */
1815 /* build object config and its child objects recursively */
1848 /* update object attributes and validate them */
1851 SNDERR("Failed to update attributes for object '%s.%s'\n", class_id, id);
1858 /* expand all non-compound type child configs in object */
1880 /* Expand definitions and object attribute references. */
1910 /* construct object name using class constructor */
1913 SNDERR("Failed to construct object name for %s\n", id);
1918 * Build objects if object type is supported.
1919 * If not, process object attributes and add to parent's data section
1925 /* update automatic attribute for current object */
1942 /* create child objects in the object instance */
1945 SNDERR("error processing child objects in object %s\n", id);
1949 /* create child objects in the object's class definition */
1979 SNDERR("Invalid id for object\n");
1988 * An object declared within a class definition as follows:
1995 * While instantiating the volume-pipeline class, the pga object
2002 * When building the pga.0 object in the class definition, merge
2003 * the attributes declared in the volume-playback.0 object to create
2005 * set for the pga object.
2019 /* search for object instance in the parent */
2029 /* don't merge if the object configs are the same */
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",
2053 /* create a temp config for object with class type as the root node */
2080 /* Build the object now */
2083 SNDERR("Error building object %s.%s.%s\n",