Lines Matching refs:hid_device

441 	struct hid_device *device;			/* associated device */
491 struct hid_device { /* device report descriptor */ struct
547 int (*ff_init)(struct hid_device *); argument
550 int (*hiddev_connect)(struct hid_device *, unsigned int); argument
551 void (*hiddev_disconnect)(struct hid_device *); argument
552 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument
554 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument
566 static inline void *hid_get_drvdata(struct hid_device *hdev) in hid_get_drvdata() argument
571 static inline void hid_set_drvdata(struct hid_device *hdev, void *data) in hid_set_drvdata()
590 struct hid_device *device;
681 int (*probe)(struct hid_device *dev, const struct hid_device_id *id);
682 void (*remove)(struct hid_device *dev);
685 int (*raw_event)(struct hid_device *hdev, struct hid_report *report,
688 int (*event)(struct hid_device *hdev, struct hid_field *field,
690 void (*report)(struct hid_device *hdev, struct hid_report *report);
692 __u8 *(*report_fixup)(struct hid_device *hdev, __u8 *buf,
695 int (*input_mapping)(struct hid_device *hdev,
698 int (*input_mapped)(struct hid_device *hdev,
701 int (*input_configured)(struct hid_device *hdev,
703 void (*feature_mapping)(struct hid_device *hdev,
707 int (*suspend)(struct hid_device *hdev, pm_message_t message);
708 int (*resume)(struct hid_device *hdev);
709 int (*reset_resume)(struct hid_device *hdev);
730 int (*start)(struct hid_device *hdev);
731 void (*stop)(struct hid_device *hdev);
733 int (*open)(struct hid_device *hdev);
734 void (*close)(struct hid_device *hdev);
736 int (*power)(struct hid_device *hdev, int level);
738 int (*parse)(struct hid_device *hdev);
740 void (*request)(struct hid_device *hdev,
743 int (*wait)(struct hid_device *hdev);
745 int (*raw_request) (struct hid_device *hdev, unsigned char reportnum,
749 int (*output_report) (struct hid_device *hdev, __u8 *buf, size_t len);
751 int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype);
765 extern bool hid_ignore(struct hid_device *);
766 extern int hid_add_device(struct hid_device *);
767 extern void hid_destroy_device(struct hid_device *);
790 extern void hidinput_hid_event(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
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);
793 extern void hidinput_disconnect(struct hid_device *);
796 int hid_input_report(struct hid_device *, int type, u8 *, int, int);
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);
804 struct hid_device *hid_allocate_device(void);
805 struct hid_report *hid_register_report(struct hid_device *device, unsigned type, unsigned id);
806 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size);
807 struct hid_report *hid_validate_values(struct hid_device *hid,
811 int hid_open_report(struct hid_device *device);
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);
815 const struct hid_device_id *hid_match_id(struct hid_device *hdev,
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()
850 static inline void hid_device_io_stop(struct hid_device *hid) { in hid_device_io_stop()
921 static inline int __must_check hid_parse(struct hid_device *hdev) in hid_parse()
936 static inline int __must_check hid_hw_start(struct hid_device *hdev, in hid_hw_start()
956 static inline void hid_hw_stop(struct hid_device *hdev) in hid_hw_stop()
971 static inline int __must_check hid_hw_open(struct hid_device *hdev) in hid_hw_open()
985 static inline void hid_hw_close(struct hid_device *hdev) in hid_hw_close()
1000 static inline int hid_hw_power(struct hid_device *hdev, int level) in hid_hw_power()
1013 static inline void hid_hw_request(struct hid_device *hdev, in hid_hw_request()
1036 static inline int hid_hw_raw_request(struct hid_device *hdev, in hid_hw_raw_request()
1056 static inline int hid_hw_output_report(struct hid_device *hdev, __u8 *buf, in hid_hw_output_report()
1076 static inline int hid_hw_idle(struct hid_device *hdev, int report, int idle, in hid_hw_idle()
1090 static inline void hid_hw_wait(struct hid_device *hdev) in hid_hw_wait()
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);