Lines Matching defs:quirks
3 * HID quirks support for Linux
947 if (hdev->quirks & HID_QUIRK_NO_IGNORE)
949 if (hdev->quirks & HID_QUIRK_IGNORE)
1031 /* Dynamic HID quirks list - specified at runtime */
1040 /* Runtime ("dynamic") quirks manipulation functions */
1043 * hid_exists_dquirk: find any dynamic quirks for a HID device
1077 * @quirks: the unsigned long quirks value to add/replace
1081 * quirks value with what was provided. Otherwise, add the quirk
1082 * to the dynamic quirks list.
1087 const unsigned long quirks)
1108 q_new->hid_bl_item.driver_data = quirks;
1136 * hid_remove_all_dquirks: remove all runtime HID quirks from memory
1140 * Free all memory associated with dynamic quirks - called before
1160 * hid_quirks_init: apply HID quirks specified at module load time
1167 u32 quirks;
1174 &vendor, &product, &quirks);
1180 hid_modify_dquirk(&id, quirks) != 0) {
1195 * Release all memory associated with dynamic quirks for a given bus.
1197 * Use HID_BUS_ANY to remove all dynamic quirks.
1208 * hid_gets_squirk: return any static quirks for a HID device
1215 * Returns: the quirks.
1220 unsigned long quirks = 0;
1223 quirks |= HID_QUIRK_IGNORE;
1226 quirks |= HID_QUIRK_HAVE_SPECIAL_DRIVER;
1230 quirks |= bl_entry->driver_data;
1232 if (quirks)
1234 quirks, hdev->vendor, hdev->product);
1235 return quirks;
1239 * hid_lookup_quirk: return any quirks associated with a HID device
1243 * Given a HID device, return any quirks associated with that device.
1245 * Returns: an unsigned long quirks value.
1249 unsigned long quirks = 0;
1276 quirks = quirk_entry->driver_data;
1278 quirks = hid_gets_squirk(hdev);
1281 return quirks;