Lines Matching defs:quirk
81 #include <dev/usb/quirk/usb_quirk.h>
2641 * usb_test_quirk - test a device for a given quirk
2644 * 0: The USB device does not have the given quirk.
2645 * Else: The USB device has the given quirk.
2648 usb_test_quirk(const struct usb_attach_arg *uaa, uint16_t quirk)
2653 if (quirk == UQ_NONE)
2659 if (uaa->device->autoQuirk[x] == quirk)
2663 /* search global quirk table, if any */
2665 found = (usb_test_quirk_p) (&uaa->info, quirk);
3062 usbd_add_dynamic_quirk(struct usb_device *udev, uint16_t quirk)
3068 udev->autoQuirk[x] == quirk) {
3069 udev->autoQuirk[x] = quirk;