Lines Matching full:quirks
11 #include <linux/usb/quirks.h>
169 device_param_cb(quirks, &quirks_param_ops, &quirks_param_string, 0644);
170 MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks");
172 /* Lists of quirky USB devices, split in device quirks and interface quirks.
173 * Device quirks are applied at the very beginning of the enumeration process,
177 * Interface quirks are applied after reading all the configuration descriptors.
180 * Note that the DELAY_INIT and HONOR_BNUMINTERFACES quirks do not make sense as
181 * interface quirks, as they only influence the enumeration process which is run
182 * before processing the interface quirks.
642 u32 quirks = 0; in usb_detect_static_quirks() local
652 quirks |= (u32)(id->driver_info); in usb_detect_static_quirks()
655 return quirks; in usb_detect_static_quirks()
679 * Detect any quirks the device has, and do any housekeeping for it if needed.
683 udev->quirks = usb_detect_static_quirks(udev, usb_quirk_list); in usb_detect_quirks()
690 udev->quirks |= usb_detect_static_quirks(udev, in usb_detect_quirks()
693 udev->quirks ^= usb_detect_dynamic_quirks(udev); in usb_detect_quirks()
695 if (udev->quirks) in usb_detect_quirks()
696 dev_dbg(&udev->dev, "USB quirks for this device: %x\n", in usb_detect_quirks()
697 udev->quirks); in usb_detect_quirks()
700 if (!(udev->quirks & USB_QUIRK_RESET)) in usb_detect_quirks()
711 u32 quirks; in usb_detect_interface_quirks() local
713 quirks = usb_detect_static_quirks(udev, usb_interface_quirk_list); in usb_detect_interface_quirks()
714 if (quirks == 0) in usb_detect_interface_quirks()
717 dev_dbg(&udev->dev, "USB interface quirks for this device: %x\n", in usb_detect_interface_quirks()
718 quirks); in usb_detect_interface_quirks()
719 udev->quirks |= quirks; in usb_detect_interface_quirks()