Lines Matching full:quirks

3  *  HID quirks support for Linux
944 if (hdev->quirks & HID_QUIRK_NO_IGNORE) in hid_ignore()
946 if (hdev->quirks & HID_QUIRK_IGNORE) in hid_ignore()
1028 /* Dynamic HID quirks list - specified at runtime */
1037 /* Runtime ("dynamic") quirks manipulation functions */
1040 * hid_exists_dquirk: find any dynamic quirks for a HID device
1074 * @quirks: the unsigned long quirks value to add/replace
1078 * quirks value with what was provided. Otherwise, add the quirk
1079 * to the dynamic quirks list.
1084 const unsigned long quirks) in hid_modify_dquirk() argument
1105 q_new->hid_bl_item.driver_data = quirks; in hid_modify_dquirk()
1133 * hid_remove_all_dquirks: remove all runtime HID quirks from memory
1137 * Free all memory associated with dynamic quirks - called before
1157 * hid_quirks_init: apply HID quirks specified at module load time
1164 u32 quirks; in hid_quirks_init() local
1171 &vendor, &product, &quirks); in hid_quirks_init()
1177 hid_modify_dquirk(&id, quirks) != 0) { in hid_quirks_init()
1192 * Release all memory associated with dynamic quirks for a given bus.
1194 * Use HID_BUS_ANY to remove all dynamic quirks.
1205 * hid_gets_squirk: return any static quirks for a HID device
1212 * Returns: the quirks.
1217 unsigned long quirks = 0; in hid_gets_squirk() local
1220 quirks |= HID_QUIRK_IGNORE; in hid_gets_squirk()
1223 quirks |= HID_QUIRK_HAVE_SPECIAL_DRIVER; in hid_gets_squirk()
1227 quirks |= bl_entry->driver_data; in hid_gets_squirk()
1229 if (quirks) in hid_gets_squirk()
1231 quirks, hdev->vendor, hdev->product); in hid_gets_squirk()
1232 return quirks; in hid_gets_squirk()
1236 * hid_lookup_quirk: return any quirks associated with a HID device
1240 * Given a HID device, return any quirks associated with that device.
1242 * Returns: an unsigned long quirks value.
1246 unsigned long quirks = 0; in hid_lookup_quirk() local
1273 quirks = quirk_entry->driver_data; in hid_lookup_quirk()
1275 quirks = hid_gets_squirk(hdev); in hid_lookup_quirk()
1278 return quirks; in hid_lookup_quirk()