Home
last modified time | relevance | path

Searched refs:hid_device (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/drivers/usb/
Dhid.h283 struct hid_device *device; /* associated device */
313 struct hid_device { /* device report descriptor */ struct
358 struct hid_device *device; argument
388 extern void hidinput_hid_event(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
389 extern int hidinput_connect(struct hid_device *);
390 extern void hidinput_disconnect(struct hid_device *);
393 static inline void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_u… in hidinput_hid_event()
394 static inline int hidinput_connect(struct hid_device *hid) { return -ENODEV; } in hidinput_connect()
395 static inline void hidinput_disconnect(struct hid_device *hid) { } in hidinput_disconnect()
398 int hid_open(struct hid_device *);
[all …]
Dhid-core.c67 static struct hid_report *hid_register_report(struct hid_device *device, unsigned type, unsigned id) in hid_register_report()
560 static void hid_free_device(struct hid_device *device) in hid_free_device()
646 static struct hid_device *hid_parse_report(__u8 *start, unsigned size) in hid_parse_report()
648 struct hid_device *device; in hid_parse_report()
661 if (!(device = kmalloc(sizeof(struct hid_device), GFP_KERNEL))) in hid_parse_report()
663 memset(device, 0, sizeof(struct hid_device)); in hid_parse_report()
790 static void hid_process_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *us… in hid_process_event()
806 static void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data) in hid_input_field()
854 static int hid_input_report(int type, u8 *data, int len, struct hid_device *hid) in hid_input_report()
952 void hid_read_report(struct hid_device *hid, struct hid_report *report) in hid_read_report()
[all …]
Dhid-input.c66 static struct input_dev *find_input(struct hid_device *hid, struct hid_field *field) in find_input()
98 struct hid_device *device = hidinput->input.private; in hidinput_configure_usage()
341 void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, _… in hidinput_hid_event()
389 struct hid_device *hid = dev->private; in hidinput_input_event()
406 struct hid_device *hid = dev->private; in hidinput_open()
412 struct hid_device *hid = dev->private; in hidinput_close()
422 int hidinput_connect(struct hid_device *hid) in hidinput_connect()
499 void hidinput_disconnect(struct hid_device *hid) in hidinput_disconnect()
Dhiddev.c48 struct hid_device *hid;
72 hiddev_lookup_report(struct hid_device *hid, struct hiddev_report_info *rinfo) in hiddev_lookup_report()
116 hiddev_lookup_usage(struct hid_device *hid, struct hiddev_usage_ref *uref) in hiddev_lookup_usage()
149 static void hiddev_send_event(struct hid_device *hid, in hiddev_send_event()
174 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, in hiddev_hid_event()
194 void hiddev_report_event(struct hid_device *hid, struct hid_report *report) in hiddev_report_event()
395 struct hid_device *hid = hiddev->hid; in hiddev_ioctl()
703 int hiddev_connect(struct hid_device *hid) in hiddev_connect()
756 void hiddev_disconnect(struct hid_device *hid) in hiddev_disconnect()
Dhid-debug.h199 static void hid_dump_device(struct hid_device *device) { in hid_dump_device()
/linux-2.4.37.9/include/linux/
Dhiddev.h216 int hiddev_connect(struct hid_device *);
217 void hiddev_disconnect(struct hid_device *);
218 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field,
220 void hiddev_report_event(struct hid_device *hid, struct hid_report *report);
224 static inline int hiddev_connect(struct hid_device *hid) { return -1; } in hiddev_connect()
225 static inline void hiddev_disconnect(struct hid_device *hid) { } in hiddev_disconnect()
226 static inline void hiddev_hid_event(struct hid_device *hid, in hiddev_hid_event()
230 static inline void hiddev_report_event(struct hid_device *hid, in hiddev_report_event()