Lines Matching full:quirks
72 uint16_t quirks[USB_SUB_QUIRKS_MAX]; member
79 .hi_rev = 0xffff, .quirks = { __VA_ARGS__ } \
85 .quirks = { UQ_MATCH_VENDOR_ONLY, __VA_ARGS__ } \
91 .hi_rev = (h), .quirks = { __VA_ARGS__ } \
114 /* Quirks for printer devices */
190 /* umodem(4) device quirks */
203 /* USB Mass Storage Class Quirks */
346 * Not all quirks apply to all models. The commented-out entries are
572 * Quirks for manufacturers which USB devices does not respond
736 if (usb_quirks[x].quirks[y] == UQ_MATCH_VENDOR_ONLY) in usb_test_quirk_by_info()
744 if (usb_quirks[x].quirks[y] == quirk) { in usb_test_quirk_by_info()
837 usb_quirkstr(usb_quirks[y].quirks[x]), in usb_quirk_ioctl()
880 if (pqe->quirks[x] == UQ_NONE) { in usb_quirk_ioctl()
881 pqe->quirks[x] = y; in usb_quirk_ioctl()
918 if (pqe->quirks[x] == y) { in usb_quirk_ioctl()
919 pqe->quirks[x] = UQ_NONE; in usb_quirk_ioctl()
928 if (pqe->quirks[x] != UQ_NONE) { in usb_quirk_ioctl()
997 /* skip whitespace before quirks */ in usb_quirk_add_entry_from_str()
1009 entry.quirks[quirk_idx++] = quirk; in usb_quirk_add_entry_from_str()
1024 printf("%s: Too many USB quirks, only %d allowed!\n", in usb_quirk_add_entry_from_str()
1031 printf("%s: USB quirks table is full!\n", name); in usb_quirk_add_entry_from_str()
1033 memcpy(new->quirks, entry.quirks, sizeof(entry.quirks)); in usb_quirk_add_entry_from_str()
1036 printf("%s: No USB quirks found!\n", name); in usb_quirk_add_entry_from_str()
1049 /* look for quirks defined by the environment variable */ in usb_quirk_init()