Lines Matching refs:hint
273 struct hda_hint *hint = snd_array_elem(&codec->hints, i); in hints_show() local
275 "%s = %s\n", hint->key, hint->val); in hints_show()
286 struct hda_hint *hint = snd_array_elem(&codec->hints, i); in get_hint() local
287 if (!strcmp(hint->key, key)) in get_hint()
288 return hint; in get_hint()
311 struct hda_hint *hint; in parse_hints() local
333 hint = get_hint(codec, key); in parse_hints()
334 if (hint) { in parse_hints()
336 kfree(hint->key); in parse_hints()
337 hint->key = key; in parse_hints()
338 hint->val = val; in parse_hints()
343 hint = NULL; in parse_hints()
345 hint = snd_array_new(&codec->hints); in parse_hints()
346 if (hint) { in parse_hints()
347 hint->key = key; in parse_hints()
348 hint->val = val; in parse_hints()
422 struct hda_hint *hint = get_hint(codec, key); in snd_hda_get_hint() local
423 return hint ? hint->val : NULL; in snd_hda_get_hint()
792 struct hda_hint *hint = snd_array_elem(&codec->hints, i); in snd_hda_sysfs_clear() local
793 kfree(hint->key); /* we don't need to free hint->val */ in snd_hda_sysfs_clear()