Lines Matching refs:key2

344 			    const char *key2, snd_config_t **result)  in conf_get_by_keys()  argument
353 if (key2) in conf_get_by_keys()
354 ret = snd_config_search(root, key2, &root); in conf_get_by_keys()
360 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2) in conf_get_subtree() argument
366 ret = conf_get_by_keys(root, key1, key2, &root); in conf_get_subtree()
370 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_subtree()
374 int conf_get_count(snd_config_t *root, const char *key1, const char *key2) in conf_get_count() argument
382 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_count()
386 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_count()
388 ksft_exit_fail_msg("key '%s'.'%s' is not a compound\n", key1, key2); in conf_get_count()
395 const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def) in conf_get_string() argument
403 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_string()
407 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_string()
409 ksft_exit_fail_msg("key '%s'.'%s' is not a string\n", key1, key2); in conf_get_string()
413 long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def) in conf_get_long() argument
421 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_long()
425 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_long()
427 ksft_exit_fail_msg("key '%s'.'%s' is not an integer\n", key1, key2); in conf_get_long()
431 int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def) in conf_get_bool() argument
439 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_bool()
443 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_bool()
446 ksft_exit_fail_msg("key '%s'.'%s' is not an bool\n", key1, key2); in conf_get_bool()
450 void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2, in conf_get_string_array() argument
457 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_string_array()
461 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_string_array()