/third_party/alsa-utils/topology/ |
D | pre-process-class.c | 34 ret = snd_config_search(class_cfg, category, &cfg); in tplg_class_is_attribute_check() 74 ret = snd_config_search(class_cfg, "attributes.unique", &unique); in tplg_class_is_attribute_unique() 120 ret = snd_config_search(tplg_pp->input_cfg, class_config_id, &class_cfg); in tplg_class_lookup() 144 ret = snd_config_search(class, attr_str, &attr); in tplg_class_find_attribute_by_name() 164 ret = snd_config_search(class, "attributes.unique", &unique); in tplg_class_get_unique_attribute_name() 187 ret = snd_config_search(attr, "type", &type); in tplg_class_get_attribute_type() 217 ret = snd_config_search(class, "DefineAttribute", &attributes); in tplg_class_get_attribute_token_ref() 221 ret = snd_config_search(attributes, attr_name, &attr); in tplg_class_get_attribute_token_ref() 225 ret = snd_config_search(attr, "token_ref", &token_ref); in tplg_class_get_attribute_token_ref() 255 ret = snd_config_search(class, "DefineAttribute", &attributes); in tplg_class_attribute_valid_tuple_value() [all …]
|
D | pre-process-object.c | 92 ret = snd_config_search(child, "name", &cfg); in tplg_parent_update() 119 ret = snd_config_search(cfg, section_name, &item_config); in tplg_parent_update() 133 ret = snd_config_search(cfg, section_name, &item_config); in tplg_parent_update() 303 ret = snd_config_search(attr, "constraints.min", &valid); in tplg_object_is_attribute_min_max_valid() 307 ret = snd_config_search(attr, "constraints.max", &valid); in tplg_object_is_attribute_min_max_valid() 386 ret = snd_config_search(object, attr_name, &obj_attr); in tplg_object_is_attribute_valid() 394 ret = snd_config_search(attr, "constraints.valid_values", &valid); in tplg_object_is_attribute_valid() 445 ret = snd_config_search(object, "name", &cfg); in tplg_object_get_name() 468 if (snd_config_search(class, config_id, &obj_cfg) < 0) in tplg_object_lookup_in_config() 487 ret = snd_config_search(tplg_pp->output_cfg, "SectionVendorTuples", &top); in tplg_pp_add_object_tuple_section() [all …]
|
D | pre-process-dapm.c | 103 ret = snd_config_search(obj, "name", &cfg); in tplg_build_control() 184 ret = snd_config_search(class_cfg, "attributes.constructor", &temp_cfg); in tplg_pp_get_widget_name() 292 ret = snd_config_search(tplg_pp->output_cfg, "SectionGraph", &top); in tplg_build_dapm_route_object() 303 ret = snd_config_search(obj, "index", &cfg); in tplg_build_dapm_route_object() 313 ret = snd_config_search(obj, "source", &cfg); in tplg_build_dapm_route_object() 332 ret = snd_config_search(obj, "sink", &cfg); in tplg_build_dapm_route_object() 354 ret = snd_config_search(obj, "control", &cfg); in tplg_build_dapm_route_object()
|
D | pre-process-dai.c | 66 ret = snd_config_search(obj, "direction", &cfg); in tplg_update_pcm_object() 99 ret = snd_config_search(dest, "pcm", &pcm); in tplg_update_pcm_object() 108 ret = snd_config_search(pcm, direction, &cfg); in tplg_update_pcm_object()
|
D | pre-processor.c | 234 ret = snd_config_search(tplg_pp->input_cfg, "Define", &conf_defines); in pre_process_defines() 270 ret = snd_config_search(tplg_pp->input_cfg, "Define", &conf_defines); in pre_process_variables_expand_fcn() 442 ret = snd_config_search(top, "IncludeByKey", &includes); in pre_process_includes() 448 ret = snd_config_search(tplg_pp->input_cfg, "Define", &conf_defines); in pre_process_includes() 461 ret = snd_config_search(conf_defines, id, &define); in pre_process_includes()
|
/third_party/alsa-lib/src/control/ |
D | namehint.c | 257 if (snd_config_search(config, buf, &cfg) >= 0 && in try_config() 277 if (snd_config_search(res, "type", NULL) < 0) in try_config() 295 if (snd_config_search(cfg1, "type", &cfg) >= 0 && in try_config() 298 if (snd_config_search(cfg1, "device", &cfg) >= 0) { in try_config() 307 if (snd_config_search(cfg1, "hint", &cfg) >= 0) { in try_config() 314 snd_config_search(cfg, "omit_noargs", &n) >= 0 && in try_config() 318 snd_config_search(cfg, "show", &n) >= 0 && in try_config() 322 snd_config_search(cfg, "description", &n) >= 0 && in try_config() 330 if (snd_config_search(cfg, "device", &n) >= 0) { in try_config() 339 if (snd_config_search(cfg, "device_input", &n) >= 0) { in try_config() [all …]
|
/third_party/alsa-lib/src/ucm/ |
D | ucm_include.c | 34 err = snd_config_search(compound, key, &node); in get_string() 63 err = snd_config_search(inc, "Before", before); in include_eval_one() 69 err = snd_config_search(inc, "After", after); in include_eval_one() 109 err = snd_config_search(dst, s1, res); in find_position_node() 126 err = snd_config_search(dst, id, &dn); in merge_it() 265 err = snd_config_search(parent, id, &parent2); in uc_mgr_config_tree_merge()
|
D | ucm_cond.c | 35 err = snd_config_search(compound, key, &node); in get_string() 369 if (snd_config_search(cond, "Condition", &expr) < 0) { in if_eval_one() 374 err = snd_config_search(cond, "True", &_true); in if_eval_one() 380 err = snd_config_search(cond, "False", &_false); in if_eval_one() 386 err = snd_config_search(cond, "Before", before); in if_eval_one() 392 err = snd_config_search(cond, "After", after); in if_eval_one()
|
D | ucm_subs.c | 241 if (snd_config_search(config, "field", &d)) { in rval_lookup_main() 257 if (snd_config_search(config, "regex", &d)) { in rval_lookup_main() 320 if (snd_config_search(config, "return", &d)) in rval_card_lookup_return() 412 if (snd_config_search(config, "stream", &d) == 0 && in rval_pcm_lookup_init() 451 if (snd_config_search(config, "ctl", &d) || snd_config_get_string(d, &s)) { in rval_device_lookup_init() 464 if (snd_config_search(config, "type", &d) || snd_config_get_string(d, &s)) { in rval_device_lookup_init()
|
D | parser.c | 259 err = snd_config_search(cfg, "DefineRegex", &d); in evaluate_regex() 301 err = snd_config_search(cfg, "Define", &d); in evaluate_define() 347 err = snd_config_search(cfg, "Include", &n); in evaluate_include() 367 err = snd_config_search(cfg, "If", &n); in evaluate_condition() 2010 err = snd_config_search(cfg, "Syntax", &n); in parse_master_file() 2310 err = snd_config_search(cfg, "Syntax", &n); in parse_toplevel_config() 2532 err = snd_config_search(cfg, "Syntax", &c); in uc_mgr_scan_master_configs() 2549 err = snd_config_search(cfg, "Comment", &c); in uc_mgr_scan_master_configs()
|
D | ucm_regex.c | 36 err = snd_config_search(compound, key, &node); in get_string()
|
/third_party/alsa-lib/src/ |
D | confmisc.c | 264 err = snd_config_search(src, "vars", &n); in snd_func_getenv() 274 err = snd_config_search(src, "default", &d); in snd_func_getenv() 415 err = snd_config_search(src, "strings", &n); in snd_func_concat() 494 err = snd_config_search(src, "integers", &n); in snd_func_iops() 656 err = snd_config_search(*private_data, id, private_data); in _snd_func_private_data() 838 err = snd_config_search(src, "card", &n); in parse_card() 1068 err = snd_config_search(src, "device", &n); in snd_func_pcm_id() 1083 if (snd_config_search(src, "subdevice", &n) >= 0) { in snd_func_pcm_id() 1151 err = snd_config_search(src, "class", &n); in snd_func_pcm_args_by_class() 1166 err = snd_config_search(src, "index", &n); in snd_func_pcm_args_by_class() [all …]
|
D | conf.c | 3600 int snd_config_search(snd_config_t *config, const char *key, snd_config_t **result) in snd_config_search() function 3693 SND_CONFIG_SEARCHV(config, result, snd_config_search); in snd_config_searchv() 3944 err = snd_config_search(config, "func", &c); in snd_config_hooks_call() 4033 if ((err = snd_config_search(config, "@hooks", &n)) < 0) in snd_config_hooks() 4165 if ((err = snd_config_search(_file, "file", &file)) < 0) { in config_file_load_user_all() 4169 if ((err = snd_config_search(_file, "root", &root)) >= 0) { in config_file_load_user_all() 4241 if ((err = snd_config_search(config, "errors", &n)) >= 0) { in snd_config_hook_load() 4248 if ((err = snd_config_search(config, "files", &n)) < 0) { in snd_config_hook_load() 4332 if (snd_config_search(config, "table", &n) < 0) in _snd_config_hook_table() 4338 if (snd_config_search(n, "id", &tn) < 0 || in _snd_config_hook_table() [all …]
|
/third_party/alsa-lib/test/lsb/ |
D | config.c | 19 if (snd_config_search(c2, id, &e2) < 0) in subset_of() 173 ALSA_CHECK(snd_config_search(top, "a", &c)); in test_search() 176 ALSA_CHECK(snd_config_search(top, "b.d.e", &c)); in test_search() 179 ALSA_CHECK(snd_config_search(top, "b.c", NULL)); in test_search() 180 TEST_CHECK(snd_config_search(top, "x", NULL) == -ENOENT); in test_search() 181 TEST_CHECK(snd_config_search(top, "b.y", &c) == -ENOENT); in test_search() 182 TEST_CHECK(snd_config_search(top, "a.z", &c) == -ENOENT); in test_search() 236 ALSA_CHECK(snd_config_search(c1, "c2", &c2)); in test_add() 237 ALSA_CHECK(snd_config_search(c1, "c3", &c3)); in test_add() 279 ALSA_CHECK(snd_config_search(c3, "a", &c2)); in test_copy()
|
/third_party/alsa-utils/alsactl/ |
D | state.c | 463 err = snd_config_search(item, num_str(v), &c); in get_control() 519 err = snd_config_search(item, num_str(v), &c); in get_control() 575 err = snd_config_search(top, "state", &state); in get_controls() 589 err = snd_config_search(state, id, &card); in get_controls() 603 err = snd_config_search(card, "control", &control); in get_controls() 1007 if (snd_config_search(conf, "type", &n) < 0) in check_comment_type() 1074 if (snd_config_search(conf, "range", &n) < 0) in check_comment_range() 1089 if (snd_config_search(conf, "dbmin", &n) < 0) in check_comment_range() 1093 if (snd_config_search(conf, "dbmax", &n) < 0) in check_comment_range()
|
/third_party/alsa-lib/include/ |
D | conf.h | 104 int snd_config_search(snd_config_t *config, const char *key,
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_direct.c | 1790 if (snd_config_search(sconf, "slave", &pcm_conf) >= 0) { 1791 if (snd_config_search(pcm_conf, "pcm", &pcm_conf) >= 0) { 1800 if (snd_config_search(pcm_conf, "pcm", 1893 if (snd_config_search(root, "defaults.pcm.dmix_max_periods", &n) >= 0) {
|
D | pcm_file.c | 1112 if (snd_config_search(root, "defaults.pcm.file_format", &n) >= 0) { in _snd_pcm_file_open()
|
D | pcm_meter.c | 626 err = snd_config_search(conf, "type", &c); in snd_pcm_meter_add_scope_conf()
|
D | pcm.c | 2531 err = snd_config_search(pcm_conf, "type", &conf); in snd_pcm_open_conf() 2629 err = snd_config_search(pcm_root, "defaults.pcm.compat", &tmp); in snd_pcm_open_conf() 2641 err = snd_config_search(pcm_root, "defaults.pcm.minperiodtime", &tmp); in snd_pcm_open_conf()
|
/third_party/alsa-lib/src/timer/ |
D | timer_query.c | 54 err = snd_config_search(timer_conf, "type", &conf); in snd_timer_query_open_conf()
|
D | timer.c | 97 err = snd_config_search(timer_conf, "type", &conf); in snd_timer_open_conf()
|
/third_party/alsa-lib/src/hwdep/ |
D | hwdep.c | 62 err = snd_config_search(hwdep_conf, "type", &conf); in snd_hwdep_open_conf()
|
/third_party/alsa-utils/amidi/ |
D | amidi.c | 234 if (snd_config_search(snd_config, "rawmidi", &config) >= 0) { in rawmidi_list()
|
/third_party/alsa-lib/src/rawmidi/ |
D | rawmidi.c | 195 err = snd_config_search(rawmidi_conf, "type", &conf); in snd_rawmidi_open_conf()
|