Go to the documentation of this file.
25 #define USB_ID(vendor, product) (((vendor) << 16) | (product))
26 #define USB_ID_VENDOR(id) ((id) >> 16)
27 #define USB_ID_PRODUCT(id) ((u16)(id))
35 struct usb_device *
dev;
69 #define QUIRK_NO_INTERFACE -2
70 #define QUIRK_ANY_INTERFACE -1
103 #define combine_word(s) ((*(s)) | ((unsigned int)(s)[1] << 8))
104 #define combine_triple(s) (combine_word(s) | ((unsigned int)(s)[2] << 16))
105 #define combine_quad(s) (combine_triple(s) | ((unsigned int)(s)[3] << 24))