Home
last modified time | relevance | path

Searched refs:usb_quirks (Results 1 – 1 of 1) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/quirk/
Dusb_quirk.c54 static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { variable
628 if ((usb_quirks[x].vid != info->idVendor) || in usb_test_quirk_by_info()
629 (usb_quirks[x].lo_rev > info->bcdDevice) || in usb_test_quirk_by_info()
630 (usb_quirks[x].hi_rev < info->bcdDevice)) { in usb_test_quirk_by_info()
634 if (usb_quirks[x].pid != info->idProduct) { in usb_test_quirk_by_info()
635 if (usb_quirks[x].pid != 0) in usb_test_quirk_by_info()
639 if (usb_quirks[x].quirks[y] == UQ_MATCH_VENDOR_ONLY) in usb_test_quirk_by_info()
647 if (usb_quirks[x].quirks[y] == quirk) { in usb_test_quirk_by_info()
669 return (usb_quirks + USB_DEV_QUIRKS_MAX - 1); in usb_quirk_get_entry()
674 if ((usb_quirks[x].vid != vid) || in usb_quirk_get_entry()
[all …]