Lines Matching full:hid
28 #include <uapi/linux/hid.h>
53 * HID report item format
66 * HID report descriptor item type (prefix bit 2,3)
75 * HID report descriptor main item tags
85 * HID report descriptor main item contents
99 * HID report descriptor collection item types
108 * HID report descriptor global item tags
125 * HID report descriptor local item tags
140 * HID usage tables
319 * HID connect requests
333 * HID device quirks.
337 * Increase this if you need to configure more HID quirks at module load time
366 * HID device groups
377 * Vendor specific HID device groups
387 * HID protocol status
441 unsigned hid; /* hid usage code */ member
472 * bits 8-16 are reserved for hid-input usage
580 struct hid_collection *collection; /* List of HID collections */
588 __u32 version; /* HID version */
590 unsigned country; /* HID country */
604 * Power supply information for HID devices which report
875 /* Applications from HID Usage Tables 4/8/99 Version 1.1 */
883 /* HID core API */
903 * module_hid_driver() - Helper macro for registering a HID driver
906 * Helper macro for HID drivers which do not do anything special in module
915 extern void hidinput_report_event(struct hid_device *hid, struct hid_report *report);
916 extern int hidinput_connect(struct hid_device *hid, unsigned int force);
920 int hid_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data, u32 size,
922 struct hid_field *hidinput_get_led_field(struct hid_device *hid);
923 unsigned int hidinput_count_leds(struct hid_device *hid);
926 int __hid_request(struct hid_device *hid, struct hid_report *rep, enum hid_class_request reqtype);
932 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size);
933 struct hid_report *hid_validate_values(struct hid_device *hid,
938 void hid_setup_resolution_multiplier(struct hid_device *hid);
940 int hid_check_keys_pressed(struct hid_device *hid);
941 int hid_connect(struct hid_device *hid, unsigned int connect_mask);
942 void hid_disconnect(struct hid_device *hid);
952 __u32 hid_field_extract(const struct hid_device *hid, __u8 *report,
966 * hid_device_io_start - enable HID input during probe, remove
968 * @hid: the device
974 static inline void hid_device_io_start(struct hid_device *hid) { in hid_device_io_start() argument
975 if (hid->io_started) { in hid_device_io_start()
976 dev_warn(&hid->dev, "io already started\n"); in hid_device_io_start()
979 hid->io_started = true; in hid_device_io_start()
980 up(&hid->driver_input_lock); in hid_device_io_start()
984 * hid_device_io_stop - disable HID input during probe, remove
986 * @hid: the device
994 static inline void hid_device_io_stop(struct hid_device *hid) { in hid_device_io_stop() argument
995 if (!hid->io_started) { in hid_device_io_stop()
996 dev_warn(&hid->dev, "io already stopped\n"); in hid_device_io_stop()
999 hid->io_started = false; in hid_device_io_stop()
1000 down(&hid->driver_input_lock); in hid_device_io_stop()
1086 * @hdev: hid device
1090 * device before passing it to hid layer for real parsing.
1113 * @hdev: hid device
1129 * @hdev: hid device
1132 * @reqtype: hid request type
1144 * hid_hw_may_wakeup - return if the hid device may act as a wakeup source during system-suspend
1146 * @hdev: hid device
1162 * @hdev: hid device
1180 int hid_report_raw_event(struct hid_device *hid, enum hid_report_type type, u8 *data, u32 size,
1183 /* HID quirks API */
1189 int hid_pidff_init(struct hid_device *hid);
1200 #define hid_err(hid, fmt, ...) \ argument
1201 dev_err(&(hid)->dev, fmt, ##__VA_ARGS__)
1202 #define hid_notice(hid, fmt, ...) \ argument
1203 dev_notice(&(hid)->dev, fmt, ##__VA_ARGS__)
1204 #define hid_warn(hid, fmt, ...) \ argument
1205 dev_warn(&(hid)->dev, fmt, ##__VA_ARGS__)
1206 #define hid_info(hid, fmt, ...) \ argument
1207 dev_info(&(hid)->dev, fmt, ##__VA_ARGS__)
1208 #define hid_dbg(hid, fmt, ...) \ argument
1209 dev_dbg(&(hid)->dev, fmt, ##__VA_ARGS__)
1211 #define hid_err_once(hid, fmt, ...) \ argument
1212 dev_err_once(&(hid)->dev, fmt, ##__VA_ARGS__)
1213 #define hid_notice_once(hid, fmt, ...) \ argument
1214 dev_notice_once(&(hid)->dev, fmt, ##__VA_ARGS__)
1215 #define hid_warn_once(hid, fmt, ...) \ argument
1216 dev_warn_once(&(hid)->dev, fmt, ##__VA_ARGS__)
1217 #define hid_info_once(hid, fmt, ...) \ argument
1218 dev_info_once(&(hid)->dev, fmt, ##__VA_ARGS__)
1219 #define hid_dbg_once(hid, fmt, ...) \ argument
1220 dev_dbg_once(&(hid)->dev, fmt, ##__VA_ARGS__)