Lines Matching defs:quirk
80 #include <dev/usb/quirk/usb_quirk.h>
2474 * usb_test_quirk - test a device for a given quirk
2477 * 0: The USB device does not have the given quirk.
2478 * Else: The USB device has the given quirk.
2481 usb_test_quirk(const struct usb_attach_arg *uaa, uint16_t quirk)
2486 if (quirk == UQ_NONE)
2492 if (uaa->device->autoQuirk[x] == quirk)
2496 /* search global quirk table, if any */
2498 found = (usb_test_quirk_p) (&uaa->info, quirk);
2861 usbd_add_dynamic_quirk(struct usb_device *udev, uint16_t quirk)
2867 udev->autoQuirk[x] == quirk) {
2868 udev->autoQuirk[x] = quirk;