Lines Matching refs:key
24 const char *key; member
275 "%s = %s\n", hint->key, hint->val); in hints_show()
281 static struct hda_hint *get_hint(struct hda_codec *codec, const char *key) in get_hint() argument
287 if (!strcmp(hint->key, key)) in get_hint()
310 char *key, *val; in parse_hints() local
319 key = kstrndup_noeol(buf, 1024); in parse_hints()
320 if (!key) in parse_hints()
323 val = strchr(key, '='); in parse_hints()
325 kfree(key); in parse_hints()
330 remove_trail_spaces(key); in parse_hints()
333 hint = get_hint(codec, key); in parse_hints()
336 kfree(hint->key); in parse_hints()
337 hint->key = key; in parse_hints()
347 hint->key = key; in parse_hints()
355 kfree(key); in parse_hints()
420 const char *snd_hda_get_hint(struct hda_codec *codec, const char *key) in snd_hda_get_hint() argument
422 struct hda_hint *hint = get_hint(codec, key); in snd_hda_get_hint()
436 int snd_hda_get_bool_hint(struct hda_codec *codec, const char *key) in snd_hda_get_bool_hint() argument
442 p = snd_hda_get_hint(codec, key); in snd_hda_get_bool_hint()
472 int snd_hda_get_int_hint(struct hda_codec *codec, const char *key, int *valp) in snd_hda_get_int_hint() argument
479 p = snd_hda_get_hint(codec, key); in snd_hda_get_int_hint()
794 kfree(hint->key); /* we don't need to free hint->val */ in snd_hda_sysfs_clear()