• Home
  • Raw
  • Download

Lines Matching full:quirks

3  *  HID quirks support for Linux
939 if (hdev->quirks & HID_QUIRK_NO_IGNORE) in hid_ignore()
941 if (hdev->quirks & HID_QUIRK_IGNORE) in hid_ignore()
1023 /* Dynamic HID quirks list - specified at runtime */
1032 /* Runtime ("dynamic") quirks manipulation functions */
1035 * hid_exists_dquirk: find any dynamic quirks for a HID device
1069 * @quirks: the unsigned long quirks value to add/replace
1073 * quirks value with what was provided. Otherwise, add the quirk
1074 * to the dynamic quirks list.
1079 const unsigned long quirks) in hid_modify_dquirk() argument
1100 q_new->hid_bl_item.driver_data = quirks; in hid_modify_dquirk()
1128 * hid_remove_all_dquirks: remove all runtime HID quirks from memory
1132 * Free all memory associated with dynamic quirks - called before
1152 * hid_quirks_init: apply HID quirks specified at module load time
1159 u32 quirks; in hid_quirks_init() local
1166 &vendor, &product, &quirks); in hid_quirks_init()
1172 hid_modify_dquirk(&id, quirks) != 0) { in hid_quirks_init()
1187 * Release all memory associated with dynamic quirks for a given bus.
1189 * Use HID_BUS_ANY to remove all dynamic quirks.
1200 * hid_gets_squirk: return any static quirks for a HID device
1207 * Returns: the quirks.
1212 unsigned long quirks = 0; in hid_gets_squirk() local
1215 quirks |= HID_QUIRK_IGNORE; in hid_gets_squirk()
1218 quirks |= HID_QUIRK_HAVE_SPECIAL_DRIVER; in hid_gets_squirk()
1222 quirks |= bl_entry->driver_data; in hid_gets_squirk()
1224 if (quirks) in hid_gets_squirk()
1226 quirks, hdev->vendor, hdev->product); in hid_gets_squirk()
1227 return quirks; in hid_gets_squirk()
1231 * hid_lookup_quirk: return any quirks associated with a HID device
1235 * Given a HID device, return any quirks associated with that device.
1237 * Returns: an unsigned long quirks value.
1241 unsigned long quirks = 0; in hid_lookup_quirk() local
1268 quirks = quirk_entry->driver_data; in hid_lookup_quirk()
1270 quirks = hid_gets_squirk(hdev); in hid_lookup_quirk()
1273 return quirks; in hid_lookup_quirk()