Lines Matching refs:obj_cfg
32 snd_config_t *obj_cfg, snd_config_t *parent) in tplg_build_vendor_token_object() argument
39 ret = tplg_build_object_from_template(tplg_pp, obj_cfg, &vtop, NULL, false); in tplg_build_vendor_token_object()
48 obj = tplg_object_get_instance_config(tplg_pp, obj_cfg); in tplg_build_vendor_token_object()
179 int tplg_build_data_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_data_object() argument
186 ret = tplg_build_object_from_template(tplg_pp, obj_cfg, &dtop, NULL, false); in tplg_build_data_object()
461 snd_config_t *obj_cfg = NULL; in tplg_object_lookup_in_config() local
468 if (snd_config_search(class, config_id, &obj_cfg) < 0) in tplg_object_lookup_in_config()
471 return obj_cfg; in tplg_object_lookup_in_config()
668 int tplg_add_object_data(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_add_object_data() argument
679 obj = tplg_object_get_instance_config(tplg_pp, obj_cfg); in tplg_add_object_data()
681 class_cfg = tplg_class_lookup(tplg_pp, obj_cfg); in tplg_add_object_data()
778 static int tplg_build_parent_data(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_parent_data() argument
790 obj = tplg_object_get_instance_config(tplg_pp, obj_cfg); in tplg_build_parent_data()
828 return tplg_add_object_data(tplg_pp, obj_cfg, top, id); in tplg_build_parent_data()
835 int tplg_build_object_from_template(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_object_from_template() argument
845 map = tplg_object_get_map(tplg_pp, obj_cfg); in tplg_build_object_from_template()
851 obj = tplg_object_get_instance_config(tplg_pp, obj_cfg); in tplg_build_object_from_template()
915 static int tplg_build_generic_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_generic_object() argument
922 ret = tplg_build_object_from_template(tplg_pp, obj_cfg, &wtop, NULL, false); in tplg_build_generic_object()
930 ret = tplg_add_object_data(tplg_pp, obj_cfg, wtop, NULL); in tplg_build_generic_object()
1134 snd_config_t *obj_cfg, *class_cfg, *parent_obj; in tplg_object_update() local
1154 obj_cfg = tplg_object_get_instance_config(tplg_pp, obj); in tplg_object_update()
1155 if (snd_config_get_id(obj_cfg, &obj_id) < 0) in tplg_object_update()
1174 ret = snd_config_search(obj_cfg, id, &attr); in tplg_object_update()
1180 ret = tplg_object_copy_and_add_param(tplg_pp, obj_cfg, n, class_cfg); in tplg_object_update()
1202 ret = tplg_object_copy_and_add_param(tplg_pp, obj_cfg, n, parent_obj); in tplg_object_update()
1217 ret = tplg_object_copy_and_add_param(tplg_pp, obj_cfg, n, cfg); in tplg_object_update()
1236 ret = tplg_object_copy_and_add_param(tplg_pp, obj_cfg, n, cfg); in tplg_object_update()
1249 if (!tplg_object_is_attribute_valid(tplg_pp, n, obj_cfg)) in tplg_object_update()