Lines Matching defs:quirk
2844 /* apply the quirk with the given type */
2856 /* apply the quirk with the given name */
2876 * @quirk: quirk list
2877 * @override: explicit quirk value (overrides the list if non-NULL)
2881 * The quirk-list must be terminated with a zero-filled entry.
2887 const struct ac97_quirk *quirk, const char *override)
2891 /* quirk overriden? */
2895 ac97_err(ac97, "applying quirk type %s failed (%d)\n",
2900 if (! quirk)
2903 for (; quirk->subvendor; quirk++) {
2904 if (quirk->subvendor != ac97->subsystem_vendor)
2906 if ((! quirk->mask && quirk->subdevice == ac97->subsystem_device) ||
2907 quirk->subdevice == (quirk->mask & ac97->subsystem_device)) {
2908 if (quirk->codec_id && quirk->codec_id != ac97->id)
2910 ac97_dbg(ac97, "ac97 quirk for %s (%04x:%04x)\n",
2911 quirk->name, ac97->subsystem_vendor,
2913 result = apply_quirk(ac97, quirk->type);
2916 "applying quirk type %d for %s failed (%d)\n",
2917 quirk->type, quirk->name, result);