Lines Matching refs:hint
271 const struct hda_hint *hint; in hints_show() local
274 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
276 "%s = %s\n", hint->key, hint->val); in hints_show()
284 struct hda_hint *hint; in get_hint() local
287 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
288 if (!strcmp(hint->key, key)) in get_hint()
289 return hint; in get_hint()
312 struct hda_hint *hint; in parse_hints() local
334 hint = get_hint(codec, key); in parse_hints()
335 if (hint) { in parse_hints()
337 kfree(hint->key); in parse_hints()
338 hint->key = key; in parse_hints()
339 hint->val = val; in parse_hints()
344 hint = NULL; in parse_hints()
346 hint = snd_array_new(&codec->hints); in parse_hints()
347 if (hint) { in parse_hints()
348 hint->key = key; in parse_hints()
349 hint->val = val; in parse_hints()
423 struct hda_hint *hint = get_hint(codec, key); in snd_hda_get_hint() local
424 return hint ? hint->val : NULL; in snd_hda_get_hint()
787 struct hda_hint *hint; in snd_hda_sysfs_clear() local
793 snd_array_for_each(&codec->hints, i, hint) { in snd_hda_sysfs_clear()
794 kfree(hint->key); /* we don't need to free hint->val */ in snd_hda_sysfs_clear()