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.c55 static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { variable
629 if ((usb_quirks[x].vid != info->idVendor) || in usb_test_quirk_by_info()
630 (usb_quirks[x].lo_rev > info->bcdDevice) || in usb_test_quirk_by_info()
631 (usb_quirks[x].hi_rev < info->bcdDevice)) { in usb_test_quirk_by_info()
635 if (usb_quirks[x].pid != info->idProduct) { in usb_test_quirk_by_info()
636 if (usb_quirks[x].pid != 0) in usb_test_quirk_by_info()
640 if (usb_quirks[x].quirks[y] == UQ_MATCH_VENDOR_ONLY) in usb_test_quirk_by_info()
648 if (usb_quirks[x].quirks[y] == quirk) { in usb_test_quirk_by_info()
672 return (usb_quirks + USB_DEV_QUIRKS_MAX - 1); in usb_quirk_get_entry()
677 if ((usb_quirks[x].vid != vid) || in usb_quirk_get_entry()
[all …]