Lines Matching refs:tbl
635 struct hda_codec_preset_list *tbl;
644 list_for_each_entry(tbl, &hda_preset_tables, list) {
645 if (!try_module_get(tbl->owner)) {
649 for (preset = tbl->preset; preset->id; preset++) {
661 codec->owner = tbl->owner;
665 module_put(tbl->owner);
3680 * @tbl: configuration table, terminated by null entries
3690 const struct snd_pci_quirk *tbl)
3704 if (!codec->bus->pci || !tbl)
3707 tbl = snd_pci_quirk_lookup(codec->bus->pci, tbl);
3708 if (!tbl)
3710 if (tbl->value >= 0 && tbl->value < num_configs) {
3715 model = models[tbl->value];
3717 sprintf(tmp, "#%d", tbl->value);
3722 model, tbl->subvendor, tbl->subdevice,
3723 (tbl->name ? tbl->name : "Unknown device"));
3725 return tbl->value;
3744 * @tbl: configuration table, terminated by null entries
3754 const struct snd_pci_quirk *tbl)
3759 for (q = tbl; q->subvendor; q++) {
3769 tbl = q;
3771 if (tbl->value >= 0 && tbl->value < num_configs) {
3776 model = models[tbl->value];
3778 sprintf(tmp, "#%d", tbl->value);
3783 model, tbl->subvendor, tbl->subdevice,
3784 (tbl->name ? tbl->name : "Unknown device"));
3786 return tbl->value;