Lines Matching defs:quirk
2359 * usb_test_quirk - test a device for a given quirk
2362 * 0: The USB device does not have the given quirk.
2363 * Else: The USB device has the given quirk.
2366 usb_test_quirk(const struct usb_attach_arg *uaa, uint16_t quirk)
2371 if (quirk == UQ_NONE)
2377 if (uaa->device->autoQuirk[x] == quirk)
2381 /* search global quirk table, if any */
2383 found = (usb_test_quirk_p) (&uaa->info, quirk);
2761 usbd_add_dynamic_quirk(struct usb_device *udev, uint16_t quirk)
2767 (udev->autoQuirk[x] == quirk)) {
2768 udev->autoQuirk[x] = quirk;