Lines Matching defs:hint
23 /* hint string pair */
262 const struct hda_hint *hint;
266 snd_array_for_each(&codec->hints, i, hint) {
268 hint->key, hint->val);
275 struct hda_hint *hint;
278 snd_array_for_each(&codec->hints, i, hint) {
279 if (!strcmp(hint->key, key))
280 return hint;
304 struct hda_hint *hint;
323 hint = get_hint(codec, key);
324 if (hint) {
326 kfree(hint->key);
329 /* allocate a new hint entry */
332 hint = snd_array_new(&codec->hints);
333 if (!hint)
336 hint->key = no_free_ptr(key);
337 hint->val = val;
391 * snd_hda_get_hint - Look for hint string
393 * @key: the hint key string
395 * Look for a hint key/value pair matching with the given key string
400 struct hda_hint *hint = get_hint(codec, key);
401 return hint ? hint->val : NULL;
406 * snd_hda_get_bool_hint - Get a boolean hint value
408 * @key: the hint key string
410 * Look for a hint key/value pair matching with the given key string
434 * snd_hda_get_int_hint - Get an integer hint value
436 * @key: the hint key string
439 * Look for a hint key/value pair matching with the given key string
527 * [vendor_id], [subsystem_id], [revision_id], [chip_name], [hint] and [model]
601 .tag = "[hint]",
752 struct hda_hint *hint;
758 snd_array_for_each(&codec->hints, i, hint) {
759 kfree(hint->key); /* we don't need to free hint->val */