Lines Matching defs:hint
23 /* hint string pair */
271 const struct hda_hint *hint;
274 snd_array_for_each(&codec->hints, i, hint) {
276 "%s = %s\n", hint->key, hint->val);
284 struct hda_hint *hint;
287 snd_array_for_each(&codec->hints, i, hint) {
288 if (!strcmp(hint->key, key))
289 return hint;
312 struct hda_hint *hint;
334 hint = get_hint(codec, key);
335 if (hint) {
337 kfree(hint->key);
338 hint->key = key;
339 hint->val = val;
342 /* allocate a new hint entry */
344 hint = NULL;
346 hint = snd_array_new(&codec->hints);
347 if (hint) {
348 hint->key = key;
349 hint->val = val;
414 * snd_hda_get_hint - Look for hint string
416 * @key: the hint key string
418 * Look for a hint key/value pair matching with the given key string
423 struct hda_hint *hint = get_hint(codec, key);
424 return hint ? hint->val : NULL;
429 * snd_hda_get_bool_hint - Get a boolean hint value
431 * @key: the hint key string
433 * Look for a hint key/value pair matching with the given key string
464 * snd_hda_get_int_hint - Get an integer hint value
466 * @key: the hint key string
469 * Look for a hint key/value pair matching with the given key string
560 * [vendor_id], [subsystem_id], [revision_id], [chip_name], [hint] and [model]
634 .tag = "[hint]",
787 struct hda_hint *hint;
793 snd_array_for_each(&codec->hints, i, hint) {
794 kfree(hint->key); /* we don't need to free hint->val */