Lines Matching full:quirks
3 * HID quirks support for Linux
933 if (hdev->quirks & HID_QUIRK_NO_IGNORE) in hid_ignore()
935 if (hdev->quirks & HID_QUIRK_IGNORE) in hid_ignore()
1017 /* Dynamic HID quirks list - specified at runtime */
1026 /* Runtime ("dynamic") quirks manipulation functions */
1029 * hid_exists_dquirk: find any dynamic quirks for a HID device
1063 * @quirks: the unsigned long quirks value to add/replace
1067 * quirks value with what was provided. Otherwise, add the quirk
1068 * to the dynamic quirks list.
1073 const unsigned long quirks) in hid_modify_dquirk() argument
1094 q_new->hid_bl_item.driver_data = quirks; in hid_modify_dquirk()
1122 * hid_remove_all_dquirks: remove all runtime HID quirks from memory
1126 * Free all memory associated with dynamic quirks - called before
1146 * hid_quirks_init: apply HID quirks specified at module load time
1153 u32 quirks; in hid_quirks_init() local
1160 &vendor, &product, &quirks); in hid_quirks_init()
1166 hid_modify_dquirk(&id, quirks) != 0) { in hid_quirks_init()
1181 * Release all memory associated with dynamic quirks for a given bus.
1183 * Use HID_BUS_ANY to remove all dynamic quirks.
1194 * hid_gets_squirk: return any static quirks for a HID device
1201 * Returns: the quirks.
1206 unsigned long quirks = 0; in hid_gets_squirk() local
1209 quirks |= HID_QUIRK_IGNORE; in hid_gets_squirk()
1212 quirks |= HID_QUIRK_HAVE_SPECIAL_DRIVER; in hid_gets_squirk()
1216 quirks |= bl_entry->driver_data; in hid_gets_squirk()
1218 if (quirks) in hid_gets_squirk()
1220 quirks, hdev->vendor, hdev->product); in hid_gets_squirk()
1221 return quirks; in hid_gets_squirk()
1225 * hid_lookup_quirk: return any quirks associated with a HID device
1229 * Given a HID device, return any quirks associated with that device.
1231 * Returns: an unsigned long quirks value.
1235 unsigned long quirks = 0; in hid_lookup_quirk() local
1262 quirks = quirk_entry->driver_data; in hid_lookup_quirk()
1264 quirks = hid_gets_squirk(hdev); in hid_lookup_quirk()
1267 return quirks; in hid_lookup_quirk()