Home
last modified time | relevance | path

Searched refs:class_cfg (Results 1 – 4 of 4) sorted by relevance

/third_party/alsa-utils/topology/
Dpre-process-class.c28 bool tplg_class_is_attribute_check(const char *attr, snd_config_t *class_cfg, char *category) in tplg_class_is_attribute_check() argument
34 ret = snd_config_search(class_cfg, category, &cfg); in tplg_class_is_attribute_check()
56 bool tplg_class_is_attribute_mandatory(const char *attr, snd_config_t *class_cfg) in tplg_class_is_attribute_mandatory() argument
58 return tplg_class_is_attribute_check(attr, class_cfg, "attributes.mandatory"); in tplg_class_is_attribute_mandatory()
62 bool tplg_class_is_attribute_immutable(const char *attr, snd_config_t *class_cfg) in tplg_class_is_attribute_immutable() argument
64 return tplg_class_is_attribute_check(attr, class_cfg, "attributes.immutable"); in tplg_class_is_attribute_immutable()
68 bool tplg_class_is_attribute_unique(const char *attr, snd_config_t *class_cfg) in tplg_class_is_attribute_unique() argument
74 ret = snd_config_search(class_cfg, "attributes.unique", &unique); in tplg_class_is_attribute_unique()
95 snd_config_t *class, *class_cfg = NULL; in tplg_class_lookup() local
120 ret = snd_config_search(tplg_pp->input_cfg, class_config_id, &class_cfg); in tplg_class_lookup()
[all …]
Dpre-process-object.c475 snd_config_t *class_cfg, in tplg_pp_add_object_tuple_section() argument
582 tuple_value = tplg_class_attribute_valid_tuple_value(tplg_pp, class_cfg, attr); in tplg_pp_add_object_tuple_section()
672 snd_config_t *data_cfg, *class_cfg, *n, *obj; in tplg_add_object_data() local
681 class_cfg = tplg_class_lookup(tplg_pp, obj_cfg); in tplg_add_object_data()
682 if (!class_cfg) in tplg_add_object_data()
704 token = tplg_class_get_attribute_token_ref(tplg_pp, class_cfg, id); in tplg_add_object_data()
719 ret = tplg_pp_add_object_tuple_section(tplg_pp, class_cfg, n, data_cfg_name, in tplg_add_object_data()
1134 snd_config_t *obj_cfg, *class_cfg, *parent_obj; in tplg_object_update() local
1138 class_cfg = tplg_class_lookup(tplg_pp, obj); in tplg_object_update()
1139 if (!class_cfg) in tplg_object_update()
[all …]
Dpre-processor.h102 bool tplg_class_is_attribute_mandatory(const char *attr, snd_config_t *class_cfg);
103 bool tplg_class_is_attribute_immutable(const char *attr, snd_config_t *class_cfg);
104 bool tplg_class_is_attribute_unique(const char *attr, snd_config_t *class_cfg);
Dpre-process-dapm.c144 snd_config_t *temp_cfg, *child, *class_cfg, *n; in tplg_pp_get_widget_name() local
176 class_cfg = tplg_class_lookup(tplg_pp, temp_cfg); in tplg_pp_get_widget_name()
178 if (!class_cfg) { in tplg_pp_get_widget_name()
184 ret = snd_config_search(class_cfg, "attributes.constructor", &temp_cfg); in tplg_pp_get_widget_name()