Lines Matching refs:root

349 static int conf_get_by_keys(snd_config_t *root, const char *key1,  in conf_get_by_keys()  argument
355 ret = snd_config_search(root, key1, &root); in conf_get_by_keys()
360 ret = snd_config_search(root, key2, &root); in conf_get_by_keys()
362 *result = root; in conf_get_by_keys()
366 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2) in conf_get_subtree() argument
370 if (!root) in conf_get_subtree()
372 ret = conf_get_by_keys(root, key1, key2, &root); in conf_get_subtree()
377 return root; in conf_get_subtree()
380 int conf_get_count(snd_config_t *root, const char *key1, const char *key2) in conf_get_count() argument
386 if (!root) in conf_get_count()
388 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_count()
401 const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def) in conf_get_string() argument
407 if (!root) in conf_get_string()
409 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_string()
419 long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def) in conf_get_long() argument
425 if (!root) in conf_get_long()
427 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_long()
437 int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def) in conf_get_bool() argument
442 if (!root) in conf_get_bool()
444 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_bool()
455 void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2, in conf_get_string_array() argument
462 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_string_array()