Lines Matching refs:hint
23 /* hint string pair */
270 const struct hda_hint *hint;
273 snd_array_for_each(&codec->hints, i, hint) {
275 hint->key, hint->val);
283 struct hda_hint *hint;
286 snd_array_for_each(&codec->hints, i, hint) {
287 if (!strcmp(hint->key, key))
288 return hint;
311 struct hda_hint *hint;
333 hint = get_hint(codec, key);
334 if (hint) {
336 kfree(hint->key);
337 hint->key = key;
338 hint->val = val;
341 /* allocate a new hint entry */
343 hint = NULL;
345 hint = snd_array_new(&codec->hints);
346 if (hint) {
347 hint->key = key;
348 hint->val = val;
411 * snd_hda_get_hint - Look for hint string
413 * @key: the hint key string
415 * Look for a hint key/value pair matching with the given key string
420 struct hda_hint *hint = get_hint(codec, key);
421 return hint ? hint->val : NULL;
426 * snd_hda_get_bool_hint - Get a boolean hint value
428 * @key: the hint key string
430 * Look for a hint key/value pair matching with the given key string
461 * snd_hda_get_int_hint - Get an integer hint value
463 * @key: the hint key string
466 * Look for a hint key/value pair matching with the given key string
557 * [vendor_id], [subsystem_id], [revision_id], [chip_name], [hint] and [model]
631 .tag = "[hint]",
784 struct hda_hint *hint;
790 snd_array_for_each(&codec->hints, i, hint) {
791 kfree(hint->key); /* we don't need to free hint->val */