Lines Matching refs:hid

436 	unsigned  hid;			/* hid usage code */  member
873 extern void hidinput_report_event(struct hid_device *hid, struct hid_report *report);
874 extern int hidinput_connect(struct hid_device *hid, unsigned int force);
879 int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_fi…
880 struct hid_field *hidinput_get_led_field(struct hid_device *hid);
881 unsigned int hidinput_count_leds(struct hid_device *hid);
884 void __hid_request(struct hid_device *hid, struct hid_report *rep, int reqtype);
890 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size);
891 struct hid_report *hid_validate_values(struct hid_device *hid,
896 int hid_check_keys_pressed(struct hid_device *hid);
897 int hid_connect(struct hid_device *hid, unsigned int connect_mask);
898 void hid_disconnect(struct hid_device *hid);
908 __u32 hid_field_extract(const struct hid_device *hid, __u8 *report,
920 static inline void hid_device_io_start(struct hid_device *hid) { in hid_device_io_start() argument
921 if (hid->io_started) { in hid_device_io_start()
922 dev_warn(&hid->dev, "io already started\n"); in hid_device_io_start()
925 hid->io_started = true; in hid_device_io_start()
926 up(&hid->driver_input_lock); in hid_device_io_start()
940 static inline void hid_device_io_stop(struct hid_device *hid) { in hid_device_io_stop() argument
941 if (!hid->io_started) { in hid_device_io_stop()
942 dev_warn(&hid->dev, "io already stopped\n"); in hid_device_io_stop()
945 hid->io_started = false; in hid_device_io_stop()
946 down(&hid->driver_input_lock); in hid_device_io_stop()
1139 int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, u32 size,
1148 int hid_pidff_init(struct hid_device *hid);
1159 #define hid_printk(level, hid, fmt, arg...) \ argument
1160 dev_printk(level, &(hid)->dev, fmt, ##arg)
1161 #define hid_emerg(hid, fmt, arg...) \ argument
1162 dev_emerg(&(hid)->dev, fmt, ##arg)
1163 #define hid_crit(hid, fmt, arg...) \ argument
1164 dev_crit(&(hid)->dev, fmt, ##arg)
1165 #define hid_alert(hid, fmt, arg...) \ argument
1166 dev_alert(&(hid)->dev, fmt, ##arg)
1167 #define hid_err(hid, fmt, arg...) \ argument
1168 dev_err(&(hid)->dev, fmt, ##arg)
1169 #define hid_notice(hid, fmt, arg...) \ argument
1170 dev_notice(&(hid)->dev, fmt, ##arg)
1171 #define hid_warn(hid, fmt, arg...) \ argument
1172 dev_warn(&(hid)->dev, fmt, ##arg)
1173 #define hid_info(hid, fmt, arg...) \ argument
1174 dev_info(&(hid)->dev, fmt, ##arg)
1175 #define hid_dbg(hid, fmt, arg...) \ argument
1176 dev_dbg(&(hid)->dev, fmt, ##arg)