Lines Matching defs:quirks
3 * HID quirks support for Linux
976 if (hdev->quirks & HID_QUIRK_NO_IGNORE)
978 if (hdev->quirks & HID_QUIRK_IGNORE)
1060 /* Dynamic HID quirks list - specified at runtime */
1069 /* Runtime ("dynamic") quirks manipulation functions */
1072 * hid_exists_dquirk - find any dynamic quirks for a HID device
1106 * @quirks: the unsigned long quirks value to add/replace
1110 * quirks value with what was provided. Otherwise, add the quirk
1111 * to the dynamic quirks list.
1116 const unsigned long quirks)
1137 q_new->hid_bl_item.driver_data = quirks;
1165 * hid_remove_all_dquirks - remove all runtime HID quirks from memory
1169 * Free all memory associated with dynamic quirks - called before
1189 * hid_quirks_init - apply HID quirks specified at module load time
1190 * @quirks_param: array of quirks strings (vendor:product:quirks)
1192 * @count: number of quirks to check
1199 u32 quirks;
1206 &vendor, &product, &quirks);
1212 hid_modify_dquirk(&id, quirks) != 0) {
1227 * Release all memory associated with dynamic quirks for a given bus.
1229 * Use HID_BUS_ANY to remove all dynamic quirks.
1240 * hid_gets_squirk - return any static quirks for a HID device
1247 * Return: the quirks.
1252 unsigned long quirks = hdev->initial_quirks;
1255 quirks |= HID_QUIRK_IGNORE;
1258 quirks |= HID_QUIRK_HAVE_SPECIAL_DRIVER;
1262 quirks |= bl_entry->driver_data;
1264 if (quirks)
1266 quirks, hdev->vendor, hdev->product);
1267 return quirks;
1271 * hid_lookup_quirk - return any quirks associated with a HID device
1275 * Given a HID device, return any quirks associated with that device.
1277 * Return: an unsigned long quirks value.
1281 unsigned long quirks = 0;
1308 quirks = quirk_entry->driver_data;
1310 quirks = hid_gets_squirk(hdev);
1313 return quirks;