Lines Matching refs:hid_device

489 	struct hid_device *device;			/* associated device */
551 struct hid_device { /* device report descriptor */ struct
610 int (*ff_init)(struct hid_device *); argument
613 int (*hiddev_connect)(struct hid_device *, unsigned int); argument
614 void (*hiddev_disconnect)(struct hid_device *); argument
615 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument
617 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument
630 container_of(pdev, struct hid_device, dev) argument
632 static inline void *hid_get_drvdata(struct hid_device *hdev) in hid_get_drvdata()
637 static inline void hid_set_drvdata(struct hid_device *hdev, void *data) in hid_set_drvdata()
657 struct hid_device *device;
749 bool (*match)(struct hid_device *dev, bool ignore_special_driver);
750 int (*probe)(struct hid_device *dev, const struct hid_device_id *id);
751 void (*remove)(struct hid_device *dev);
754 int (*raw_event)(struct hid_device *hdev, struct hid_report *report,
757 int (*event)(struct hid_device *hdev, struct hid_field *field,
759 void (*report)(struct hid_device *hdev, struct hid_report *report);
761 __u8 *(*report_fixup)(struct hid_device *hdev, __u8 *buf,
764 int (*input_mapping)(struct hid_device *hdev,
767 int (*input_mapped)(struct hid_device *hdev,
770 int (*input_configured)(struct hid_device *hdev,
772 void (*feature_mapping)(struct hid_device *hdev,
776 int (*suspend)(struct hid_device *hdev, pm_message_t message);
777 int (*resume)(struct hid_device *hdev);
778 int (*reset_resume)(struct hid_device *hdev);
803 int (*start)(struct hid_device *hdev);
804 void (*stop)(struct hid_device *hdev);
806 int (*open)(struct hid_device *hdev);
807 void (*close)(struct hid_device *hdev);
809 int (*power)(struct hid_device *hdev, int level);
811 int (*parse)(struct hid_device *hdev);
813 void (*request)(struct hid_device *hdev,
816 int (*wait)(struct hid_device *hdev);
818 int (*raw_request) (struct hid_device *hdev, unsigned char reportnum,
822 int (*output_report) (struct hid_device *hdev, __u8 *buf, size_t len);
824 int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype);
832 static inline bool hid_is_using_ll_driver(struct hid_device *hdev, in hid_is_using_ll_driver()
838 static inline bool hid_is_usb(struct hid_device *hdev) in hid_is_usb()
858 extern bool hid_ignore(struct hid_device *);
859 extern int hid_add_device(struct hid_device *);
860 extern void hid_destroy_device(struct hid_device *);
885 extern void hidinput_hid_event(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
886 extern void hidinput_report_event(struct hid_device *hid, struct hid_report *report);
887 extern int hidinput_connect(struct hid_device *hid, unsigned int force);
888 extern void hidinput_disconnect(struct hid_device *);
891 int hid_input_report(struct hid_device *, int type, u8 *, u32, int);
892 int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_fi…
893 struct hid_field *hidinput_get_led_field(struct hid_device *hid);
894 unsigned int hidinput_count_leds(struct hid_device *hid);
897 int __hid_request(struct hid_device *hid, struct hid_report *rep, int reqtype);
899 struct hid_device *hid_allocate_device(void);
900 struct hid_report *hid_register_report(struct hid_device *device,
903 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size);
904 struct hid_report *hid_validate_values(struct hid_device *hid,
909 void hid_setup_resolution_multiplier(struct hid_device *hid);
910 int hid_open_report(struct hid_device *device);
911 int hid_check_keys_pressed(struct hid_device *hid);
912 int hid_connect(struct hid_device *hid, unsigned int connect_mask);
913 void hid_disconnect(struct hid_device *hid);
914 bool hid_match_one_id(const struct hid_device *hdev,
916 const struct hid_device_id *hid_match_id(const struct hid_device *hdev,
918 const struct hid_device_id *hid_match_device(struct hid_device *hdev,
920 bool hid_compare_device_paths(struct hid_device *hdev_a,
921 struct hid_device *hdev_b, char separator);
923 __u32 hid_field_extract(const struct hid_device *hid, __u8 *report,
935 static inline void hid_device_io_start(struct hid_device *hid) { in hid_device_io_start()
955 static inline void hid_device_io_stop(struct hid_device *hid) { in hid_device_io_stop()
1042 static inline int __must_check hid_parse(struct hid_device *hdev) in hid_parse()
1047 int __must_check hid_hw_start(struct hid_device *hdev,
1049 void hid_hw_stop(struct hid_device *hdev);
1050 int __must_check hid_hw_open(struct hid_device *hdev);
1051 void hid_hw_close(struct hid_device *hdev);
1063 static inline int hid_hw_power(struct hid_device *hdev, int level) in hid_hw_power()
1076 static inline void hid_hw_request(struct hid_device *hdev, in hid_hw_request()
1099 static inline int hid_hw_raw_request(struct hid_device *hdev, in hid_hw_raw_request()
1119 static inline int hid_hw_output_report(struct hid_device *hdev, __u8 *buf, in hid_hw_output_report()
1139 static inline int hid_hw_idle(struct hid_device *hdev, int report, int idle, in hid_hw_idle()
1153 static inline void hid_hw_wait(struct hid_device *hdev) in hid_hw_wait()
1169 int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, u32 size,
1173 unsigned long hid_lookup_quirk(const struct hid_device *hdev);
1178 int hid_pidff_init(struct hid_device *hid);