Lines Matching refs:hid

394 	unsigned  hid;			/* hid usage code */  member
791 extern void hidinput_report_event(struct hid_device *hid, struct hid_report *report);
792 extern int hidinput_connect(struct hid_device *hid, unsigned int force);
797 int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_fi…
798 struct hid_field *hidinput_get_led_field(struct hid_device *hid);
799 unsigned int hidinput_count_leds(struct hid_device *hid);
802 void __hid_request(struct hid_device *hid, struct hid_report *rep, int reqtype);
806 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size);
807 struct hid_report *hid_validate_values(struct hid_device *hid,
812 int hid_check_keys_pressed(struct hid_device *hid);
813 int hid_connect(struct hid_device *hid, unsigned int connect_mask);
814 void hid_disconnect(struct hid_device *hid);
818 __u32 hid_field_extract(const struct hid_device *hid, __u8 *report,
830 static inline void hid_device_io_start(struct hid_device *hid) { in hid_device_io_start() argument
831 if (hid->io_started) { in hid_device_io_start()
832 dev_warn(&hid->dev, "io already started"); in hid_device_io_start()
835 hid->io_started = true; in hid_device_io_start()
836 up(&hid->driver_input_lock); in hid_device_io_start()
850 static inline void hid_device_io_stop(struct hid_device *hid) { in hid_device_io_stop() argument
851 if (!hid->io_started) { in hid_device_io_stop()
852 dev_warn(&hid->dev, "io already stopped"); in hid_device_io_stop()
855 hid->io_started = false; in hid_device_io_stop()
856 down(&hid->driver_input_lock); in hid_device_io_stop()
1107 int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, int size,
1116 int hid_pidff_init(struct hid_device *hid);
1127 #define hid_printk(level, hid, fmt, arg...) \ argument
1128 dev_printk(level, &(hid)->dev, fmt, ##arg)
1129 #define hid_emerg(hid, fmt, arg...) \ argument
1130 dev_emerg(&(hid)->dev, fmt, ##arg)
1131 #define hid_crit(hid, fmt, arg...) \ argument
1132 dev_crit(&(hid)->dev, fmt, ##arg)
1133 #define hid_alert(hid, fmt, arg...) \ argument
1134 dev_alert(&(hid)->dev, fmt, ##arg)
1135 #define hid_err(hid, fmt, arg...) \ argument
1136 dev_err(&(hid)->dev, fmt, ##arg)
1137 #define hid_notice(hid, fmt, arg...) \ argument
1138 dev_notice(&(hid)->dev, fmt, ##arg)
1139 #define hid_warn(hid, fmt, arg...) \ argument
1140 dev_warn(&(hid)->dev, fmt, ##arg)
1141 #define hid_info(hid, fmt, arg...) \ argument
1142 dev_info(&(hid)->dev, fmt, ##arg)
1143 #define hid_dbg(hid, fmt, arg...) \ argument
1144 dev_dbg(&(hid)->dev, fmt, ##arg)