Lines Matching refs:key2

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