Lines Matching full:hint
23 /* hint string pair */
268 const struct hda_hint *hint; in hints_show() local
271 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
273 hint->key, hint->val); in hints_show()
281 struct hda_hint *hint; in get_hint() local
284 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
285 if (!strcmp(hint->key, key)) in get_hint()
286 return hint; in get_hint()
309 struct hda_hint *hint; in parse_hints() local
331 hint = get_hint(codec, key); in parse_hints()
332 if (hint) { in parse_hints()
334 kfree(hint->key); in parse_hints()
335 hint->key = key; in parse_hints()
336 hint->val = val; in parse_hints()
339 /* allocate a new hint entry */ in parse_hints()
341 hint = NULL; in parse_hints()
343 hint = snd_array_new(&codec->hints); in parse_hints()
344 if (hint) { in parse_hints()
345 hint->key = key; in parse_hints()
346 hint->val = val; in parse_hints()
409 * snd_hda_get_hint - Look for hint string
411 * @key: the hint key string
413 * Look for a hint key/value pair matching with the given key string
418 struct hda_hint *hint = get_hint(codec, key); in snd_hda_get_hint() local
419 return hint ? hint->val : NULL; in snd_hda_get_hint()
424 * snd_hda_get_bool_hint - Get a boolean hint value
426 * @key: the hint key string
428 * Look for a hint key/value pair matching with the given key string
459 * snd_hda_get_int_hint - Get an integer hint value
461 * @key: the hint key string
464 * Look for a hint key/value pair matching with the given key string
555 * [vendor_id], [subsystem_id], [revision_id], [chip_name], [hint] and [model]
629 .tag = "[hint]",
780 struct hda_hint *hint; in snd_hda_sysfs_clear() local
786 snd_array_for_each(&codec->hints, i, hint) { in snd_hda_sysfs_clear()
787 kfree(hint->key); /* we don't need to free hint->val */ in snd_hda_sysfs_clear()