Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dhid.h441 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;
[all …]
Dhiddev.h35 struct hid_device;
41 int hiddev_connect(struct hid_device *hid, unsigned int force);
42 void hiddev_disconnect(struct hid_device *);
43 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field,
45 void hiddev_report_event(struct hid_device *hid, struct hid_report *report);
47 static inline int hiddev_connect(struct hid_device *hid, in hiddev_connect()
50 static inline void hiddev_disconnect(struct hid_device *hid) { } in hiddev_disconnect()
51 static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, in hiddev_hid_event()
53 static inline void hiddev_report_event(struct hid_device *hid, struct hid_report *report) { } in hiddev_report_event()
Dhidraw.h24 struct hid_device *hid;
48 int hidraw_report_event(struct hid_device *, u8 *, int);
49 int hidraw_connect(struct hid_device *);
50 void hidraw_disconnect(struct hid_device *);
54 static inline int hidraw_report_event(struct hid_device *hid, u8 *data, int len) { return 0; } in hidraw_report_event()
55 static inline int hidraw_connect(struct hid_device *hid) { return -1; } in hidraw_connect()
56 static inline void hidraw_disconnect(struct hid_device *hid) { } in hidraw_disconnect()
Dhid-debug.h29 void hid_dump_input(struct hid_device *, struct hid_usage *, __s32);
30 void hid_dump_report(struct hid_device *, int , u8 *, int);
31 void hid_dump_device(struct hid_device *, struct seq_file *);
34 void hid_debug_register(struct hid_device *, const char *);
35 void hid_debug_unregister(struct hid_device *);
38 void hid_debug_event(struct hid_device *, char *);
46 struct hid_device *hdev;
Dhid-roccat.h22 int roccat_connect(struct class *klass, struct hid_device *hid,
Dhid-sensor-hub.h81 struct hid_device *hdev;
/linux-4.4.14/drivers/hid/
Dhid-lenovo.c56 static __u8 *lenovo_report_fixup(struct hid_device *hdev, __u8 *rdesc, in lenovo_report_fixup()
76 static int lenovo_input_mapping_tpkbd(struct hid_device *hdev, in lenovo_input_mapping_tpkbd()
89 static int lenovo_input_mapping_cptkbd(struct hid_device *hdev, in lenovo_input_mapping_cptkbd()
163 static int lenovo_input_mapping(struct hid_device *hdev, in lenovo_input_mapping()
183 static int lenovo_send_cmd_cptkbd(struct hid_device *hdev, in lenovo_send_cmd_cptkbd()
205 static void lenovo_features_set_cptkbd(struct hid_device *hdev) in lenovo_features_set_cptkbd()
223 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_fn_lock_show_cptkbd()
234 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_fn_lock_store_cptkbd()
253 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_sensitivity_show_cptkbd()
265 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in attr_sensitivity_store_cptkbd()
[all …]
Dhid-ntrig.c113 static inline int ntrig_get_mode(struct hid_device *hdev) in ntrig_get_mode()
127 static inline void ntrig_set_mode(struct hid_device *hdev, const int mode) in ntrig_set_mode()
144 static void ntrig_report_version(struct hid_device *hdev) in ntrig_report_version()
176 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_phys_width()
188 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_phys_height()
200 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_log_width()
212 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_log_height()
224 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_min_width()
236 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in set_min_width()
259 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_min_height()
[all …]
Dhid-lg.h10 int lgff_init(struct hid_device *hdev);
12 static inline int lgff_init(struct hid_device *hdev) { return -1; } in lgff_init()
16 int lg2ff_init(struct hid_device *hdev);
18 static inline int lg2ff_init(struct hid_device *hdev) { return -1; } in lg2ff_init()
22 int lg3ff_init(struct hid_device *hdev);
24 static inline int lg3ff_init(struct hid_device *hdev) { return -1; } in lg3ff_init()
Dhid-lg4ff.h7 int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field,
9 int lg4ff_init(struct hid_device *hdev);
10 int lg4ff_deinit(struct hid_device *hdev);
12 static inline int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, in lg4ff_adjust_input_event()
14 static inline int lg4ff_init(struct hid_device *hdev) { return -1; } in lg4ff_init()
15 static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; } in lg4ff_deinit()
Dhid-steelseries.c112 static void steelseries_srws1_set_leds(struct hid_device *hdev, __u16 leds) in steelseries_srws1_set_leds()
144 struct hid_device *hid = container_of(dev, struct hid_device, dev); in steelseries_srws1_led_all_set_brightness()
163 struct hid_device *hid = container_of(dev, struct hid_device, dev); in steelseries_srws1_led_all_get_brightness()
180 struct hid_device *hid = container_of(dev, struct hid_device, dev); in steelseries_srws1_led_set_brightness()
208 struct hid_device *hid = container_of(dev, struct hid_device, dev); in steelseries_srws1_led_get_brightness()
228 static int steelseries_srws1_probe(struct hid_device *hdev, in steelseries_srws1_probe()
332 static void steelseries_srws1_remove(struct hid_device *hdev) in steelseries_srws1_remove()
358 static __u8 *steelseries_srws1_report_fixup(struct hid_device *hdev, __u8 *rdesc, in steelseries_srws1_report_fixup()
Dhid-appleir.c117 struct hid_device *hid;
159 static void key_up(struct hid_device *hid, struct appleir *appleir, int key) in key_up()
165 static void key_down(struct hid_device *hid, struct appleir *appleir, int key) in key_down()
179 struct hid_device *hid = appleir->hid; in key_up_tick()
190 static int appleir_raw_event(struct hid_device *hid, struct hid_report *report, in appleir_raw_event()
259 static int appleir_input_configured(struct hid_device *hid, in appleir_input_configured()
282 static int appleir_input_mapping(struct hid_device *hid, in appleir_input_mapping()
289 static int appleir_probe(struct hid_device *hid, const struct hid_device_id *id) in appleir_probe()
330 static void appleir_remove(struct hid_device *hid) in appleir_remove()
Dhid-hyperv.c159 struct hid_device *hid_device; member
309 hid_input_report(input_dev->hid_device, HID_INPUT_REPORT, in mousevsc_on_receive()
439 static int mousevsc_hid_parse(struct hid_device *hid) in mousevsc_hid_parse()
448 static int mousevsc_hid_open(struct hid_device *hid) in mousevsc_hid_open()
453 static int mousevsc_hid_start(struct hid_device *hid) in mousevsc_hid_start()
458 static void mousevsc_hid_close(struct hid_device *hid) in mousevsc_hid_close()
462 static void mousevsc_hid_stop(struct hid_device *hid) in mousevsc_hid_stop()
466 static int mousevsc_hid_raw_request(struct hid_device *hid, in mousevsc_hid_raw_request()
491 struct hid_device *hid_dev; in mousevsc_probe()
531 input_dev->hid_device = hid_dev; in mousevsc_probe()
[all …]
Dhid-picolcd.h75 struct hid_device *hdev;
140 struct hid_report *picolcd_report(int id, struct hid_device *hdev, int dir);
144 struct hid_device *hdev, struct hid_report *report);
152 struct hid_device *hdev, struct hid_report *report,
163 struct hid_device *hdev, struct hid_report *report) in picolcd_debug_out_report()
167 struct hid_device *hdev, struct hid_report *report, in picolcd_debug_raw_event()
307 int picolcd_reset(struct hid_device *hdev);
308 struct picolcd_pending *picolcd_send_and_wait(struct hid_device *hdev,
Dhid-prodikeys.c42 struct hid_device *hdev;
106 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_channel()
119 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in store_channel()
143 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_sustain()
156 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in store_sustain()
182 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in show_octave()
195 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in store_octave()
278 struct hid_device *hdev = pm->pk->hdev; in pcmidi_get_output_report()
303 struct hid_device *hdev = pm->pk->hdev; in pcmidi_submit_output_report()
741 static __u8 *pk_report_fixup(struct hid_device *hdev, __u8 *rdesc, in pk_report_fixup()
[all …]
Dhid-samsung.c56 static inline void samsung_irda_dev_trace(struct hid_device *hdev, in samsung_irda_dev_trace()
63 static __u8 *samsung_irda_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_irda_report_fixup()
100 static int samsung_kbd_mouse_input_mapping(struct hid_device *hdev, in samsung_kbd_mouse_input_mapping()
133 static __u8 *samsung_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_report_fixup()
141 static int samsung_input_mapping(struct hid_device *hdev, struct hid_input *hi, in samsung_input_mapping()
154 static int samsung_probe(struct hid_device *hdev, in samsung_probe()
Dhid-gfrm.c31 static int gfrm_input_mapping(struct hid_device *hdev, struct hid_input *hi, in gfrm_input_mapping()
54 static int gfrm_raw_event(struct hid_device *hdev, struct hid_report *report, in gfrm_raw_event()
91 static int gfrm_input_configured(struct hid_device *hid, struct hid_input *hidinput) in gfrm_input_configured()
102 static int gfrm_probe(struct hid_device *hdev, const struct hid_device_id *id) in gfrm_probe()
130 static void gfrm_remove(struct hid_device *hdev) in gfrm_remove()
Dhid-gt683r.c55 struct hid_device *hdev;
73 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in gt683r_brightness_set()
92 struct hid_device *hdev = container_of(dev->parent, in mode_show()
93 struct hid_device, dev); in mode_show()
111 struct hid_device *hdev = container_of(dev->parent, in mode_store()
112 struct hid_device, dev); in mode_store()
234 static int gt683r_led_probe(struct hid_device *hdev, in gt683r_led_probe()
299 static void gt683r_led_remove(struct hid_device *hdev) in gt683r_led_remove()
Dhid-rmi.c138 struct hid_device *hdev;
150 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len);
166 static int rmi_set_page(struct hid_device *hdev, u8 page) in rmi_set_page()
188 static int rmi_set_mode(struct hid_device *hdev, u8 mode) in rmi_set_mode()
204 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len) in rmi_write_report()
217 static int rmi_read_block(struct hid_device *hdev, u16 addr, void *buf, in rmi_read_block()
289 static inline int rmi_read(struct hid_device *hdev, u16 addr, void *buf) in rmi_read()
294 static int rmi_write_block(struct hid_device *hdev, u16 addr, void *buf, in rmi_write_block()
329 static inline int rmi_write(struct hid_device *hdev, u16 addr, void *buf) in rmi_write()
366 static int rmi_reset_attn_mode(struct hid_device *hdev) in rmi_reset_attn_mode()
[all …]
Dhid-logitech-dj.c112 struct hid_device *hdev;
122 struct hid_device *hdev;
370 struct hid_device *djrcv_hdev = djrcv_dev->hdev; in logi_dj_recv_add_djhid_device()
373 struct hid_device *dj_hiddev; in logi_dj_recv_add_djhid_device()
587 struct hid_device *hdev = djrcv_dev->hdev; in logi_dj_recv_send_report()
633 struct hid_device *hdev = djrcv_dev->hdev; in logi_dj_recv_switch_to_dj_mode()
683 static int logi_dj_ll_open(struct hid_device *hid) in logi_dj_ll_open()
690 static void logi_dj_ll_close(struct hid_device *hid) in logi_dj_ll_close()
698 static int logi_dj_ll_raw_request(struct hid_device *hid, in logi_dj_ll_raw_request()
751 static int logi_dj_ll_parse(struct hid_device *hid) in logi_dj_ll_parse()
[all …]
Dwacom.h112 struct hid_device *hdev;
146 void wacom_wac_usage_mapping(struct hid_device *hdev,
148 int wacom_wac_event(struct hid_device *hdev, struct hid_field *field,
150 void wacom_wac_report(struct hid_device *hdev, struct hid_report *report);
Dhid-holtek-kbd.c108 static __u8 *holtek_kbd_report_fixup(struct hid_device *hdev, __u8 *rdesc, in holtek_kbd_report_fixup()
124 struct hid_device *hid = input_get_drvdata(dev); in holtek_kbd_input_event()
130 struct hid_device *boot_hid = usb_get_intfdata(boot_interface); in holtek_kbd_input_event()
138 static int holtek_kbd_probe(struct hid_device *hdev, in holtek_kbd_probe()
Dwacom_sys.c34 static int wacom_get_report(struct hid_device *hdev, u8 type, u8 *buf, in wacom_get_report()
51 static int wacom_set_report(struct hid_device *hdev, u8 type, u8 *buf, in wacom_set_report()
68 static int wacom_raw_event(struct hid_device *hdev, struct hid_report *report, in wacom_raw_event()
113 static void wacom_feature_mapping(struct hid_device *hdev, in wacom_feature_mapping()
190 static void wacom_usage_mapping(struct hid_device *hdev, in wacom_usage_mapping()
253 static void wacom_post_parse_hid(struct hid_device *hdev, in wacom_post_parse_hid()
268 static void wacom_parse_hid(struct hid_device *hdev, in wacom_parse_hid()
306 static int wacom_hid_set_device_mode(struct hid_device *hdev) in wacom_hid_set_device_mode()
325 static int wacom_set_device_mode(struct hid_device *hdev, int report_id, in wacom_set_device_mode()
351 static int wacom_bt_query_tablet_data(struct hid_device *hdev, u8 speed, in wacom_bt_query_tablet_data()
[all …]
Dhid-lg4ff.c36 #define to_hid_device(pdev) container_of(pdev, struct hid_device, dev)
75 static void lg4ff_set_range_dfp(struct hid_device *hid, u16 range);
76 static void lg4ff_set_range_g25(struct hid_device *hid, u16 range);
92 void (*set_range)(struct hid_device *hid, u16 range);
112 void (*set_range)(struct hid_device *hid, u16 range);
307 int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, in lg4ff_adjust_input_event()
363 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_play()
425 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_set_autocenter_default()
507 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_set_autocenter_ffex()
541 static void lg4ff_set_range_g25(struct hid_device *hid, u16 range) in lg4ff_set_range_g25()
[all …]
Dhid-cp2112.c155 struct hid_device *hdev;
174 struct hid_device *hdev = dev->hdev; in cp2112_gpio_direction_input()
203 struct hid_device *hdev = dev->hdev; in cp2112_gpio_set()
221 struct hid_device *hdev = dev->hdev; in cp2112_gpio_get()
240 struct hid_device *hdev = dev->hdev; in cp2112_gpio_direction_output()
271 static int cp2112_hid_get(struct hid_device *hdev, unsigned char report_number, in cp2112_hid_get()
288 static int cp2112_hid_output(struct hid_device *hdev, u8 *data, size_t count, in cp2112_hid_output()
333 struct hid_device *hdev = dev->hdev; in cp2112_xfer_status()
356 struct hid_device *hdev = dev->hdev; in cp2112_read()
472 struct hid_device *hdev = dev->hdev; in cp2112_i2c_xfer()
[all …]
Dhid-holtekff.c92 struct hid_device *hid, in holtekff_send()
109 struct hid_device *hid = input_get_drvdata(dev); in holtekff_play()
139 static int holtekff_init(struct hid_device *hid) in holtekff_init()
185 static inline int holtekff_init(struct hid_device *hid) in holtekff_init()
191 static int holtek_probe(struct hid_device *hdev, const struct hid_device_id *id) in holtek_probe()
Dhid-axff.c45 struct hid_device *hid = input_get_drvdata(dev); in axff_play()
74 static int axff_init(struct hid_device *hid) in axff_init()
126 static inline int axff_init(struct hid_device *hid) in axff_init()
132 static int ax_probe(struct hid_device *hdev, const struct hid_device_id *id) in ax_probe()
175 static void ax_remove(struct hid_device *hdev) in ax_remove()
Dhid-zpff.c40 struct hid_device *hid = input_get_drvdata(dev); in zpff_play()
65 static int zpff_init(struct hid_device *hid) in zpff_init()
104 static inline int zpff_init(struct hid_device *hid) in zpff_init()
110 static int zp_probe(struct hid_device *hdev, const struct hid_device_id *id) in zp_probe()
Dhid-roccat-konepure.c78 static int konepure_init_specials(struct hid_device *hdev) in konepure_init_specials()
119 static void konepure_remove_specials(struct hid_device *hdev) in konepure_remove_specials()
134 static int konepure_probe(struct hid_device *hdev, in konepure_probe()
165 static void konepure_remove(struct hid_device *hdev) in konepure_remove()
171 static int konepure_raw_event(struct hid_device *hdev, in konepure_raw_event()
Dhid-roccat-savu.c58 static int savu_init_specials(struct hid_device *hdev) in savu_init_specials()
99 static void savu_remove_specials(struct hid_device *hdev) in savu_remove_specials()
114 static int savu_probe(struct hid_device *hdev, in savu_probe()
145 static void savu_remove(struct hid_device *hdev) in savu_remove()
169 static int savu_raw_event(struct hid_device *hdev, in savu_raw_event()
Dhid-sony.c1027 struct hid_device *hdev;
1052 static __u8 *sixaxis_fixup(struct hid_device *hdev, __u8 *rdesc, in sixaxis_fixup()
1059 static u8 *motion_fixup(struct hid_device *hdev, u8 *rdesc, in motion_fixup()
1066 static u8 *navigation_fixup(struct hid_device *hdev, u8 *rdesc, in navigation_fixup()
1073 static __u8 *ps3remote_fixup(struct hid_device *hdev, __u8 *rdesc, in ps3remote_fixup()
1080 static int ps3remote_mapping(struct hid_device *hdev, struct hid_input *hi, in ps3remote_mapping()
1114 static __u8 *sony_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sony_report_fixup()
1270 static int sony_raw_event(struct hid_device *hdev, struct hid_report *report, in sony_raw_event()
1311 static int sony_mapping(struct hid_device *hdev, struct hid_input *hi, in sony_mapping()
1363 static int sony_input_configured(struct hid_device *hdev, in sony_input_configured()
[all …]
Dhid-cypress.c33 static __u8 *cp_report_fixup(struct hid_device *hdev, __u8 *rdesc, in cp_report_fixup()
51 static int cp_input_mapped(struct hid_device *hdev, struct hid_input *hi, in cp_input_mapped()
68 static int cp_event(struct hid_device *hdev, struct hid_field *field, in cp_event()
96 static int cp_probe(struct hid_device *hdev, const struct hid_device_id *id) in cp_probe()
Dhid-roccat-ryos.c86 static int ryos_init_specials(struct hid_device *hdev) in ryos_init_specials()
127 static void ryos_remove_specials(struct hid_device *hdev) in ryos_remove_specials()
142 static int ryos_probe(struct hid_device *hdev, in ryos_probe()
173 static void ryos_remove(struct hid_device *hdev) in ryos_remove()
179 static int ryos_raw_event(struct hid_device *hdev, in ryos_raw_event()
Dhid-dr.c46 struct hid_device *hid = input_get_drvdata(dev); in drff_play()
86 static int drff_init(struct hid_device *hid) in drff_init()
141 static inline int drff_init(struct hid_device *hid) in drff_init()
289 static __u8 *dr_report_fixup(struct hid_device *hdev, __u8 *rdesc, in dr_report_fixup()
309 static int dr_probe(struct hid_device *hdev, const struct hid_device_id *id) in dr_probe()
Dhid-picolcd_core.c62 struct hid_report *picolcd_report(int id, struct hid_device *hdev, int dir) in picolcd_report()
77 struct picolcd_pending *picolcd_send_and_wait(struct hid_device *hdev, in picolcd_send_and_wait()
189 static int picolcd_check_version(struct hid_device *hdev) in picolcd_check_version()
225 int picolcd_reset(struct hid_device *hdev) in picolcd_reset()
343 static int picolcd_raw_event(struct hid_device *hdev, in picolcd_raw_event()
384 static int picolcd_suspend(struct hid_device *hdev, pm_message_t message) in picolcd_suspend()
394 static int picolcd_resume(struct hid_device *hdev) in picolcd_resume()
403 static int picolcd_reset_resume(struct hid_device *hdev) in picolcd_reset_resume()
427 struct hid_device *hdev = data->hdev; in picolcd_init_keys()
480 static int picolcd_probe_lcd(struct hid_device *hdev, struct picolcd_data *data) in picolcd_probe_lcd()
[all …]
Dhid-multitouch.c275 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in mt_show_quirks()
285 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in mt_set_quirks()
312 static void mt_get_feature(struct hid_device *hdev, struct hid_report *report) in mt_get_feature()
347 static void mt_feature_mapping(struct hid_device *hdev, in mt_feature_mapping()
428 static int mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, in mt_touch_input_mapping()
577 static int mt_touch_input_mapped(struct hid_device *hdev, struct hid_input *hi, in mt_touch_input_mapped()
668 static int mt_touch_event(struct hid_device *hid, struct hid_field *field, in mt_touch_event()
678 static void mt_process_mt_event(struct hid_device *hid, struct hid_field *field, in mt_process_mt_event()
748 static void mt_touch_report(struct hid_device *hid, struct hid_report *report) in mt_touch_report()
782 static int mt_touch_input_configured(struct hid_device *hdev, in mt_touch_input_configured()
[all …]
Dhid-core.c61 struct hid_report *hid_register_report(struct hid_device *device, unsigned type, unsigned id) in hid_register_report()
593 static void hid_close_report(struct hid_device *device) in hid_close_report()
628 struct hid_device *hid = container_of(dev, struct hid_device, dev); in hid_device_release()
704 struct hid_device *hid = parser->device; in hid_scan_input_usage()
719 struct hid_device *hid = parser->device; in hid_scan_collection()
783 static int hid_scan_report(struct hid_device *hid) in hid_scan_report()
852 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size) in hid_parse_report()
879 struct hid_report *hid_validate_values(struct hid_device *hid, in hid_validate_values()
942 int hid_open_report(struct hid_device *device) in hid_open_report()
1086 __u32 hid_field_extract(const struct hid_device *hid, __u8 *report, in hid_field_extract()
[all …]
Dhid-logitech-hidpp.c104 struct hid_device *hid_dev;
144 static int __hidpp_send_report(struct hid_device *hdev, in __hidpp_send_report()
761 static int wtp_input_mapping(struct hid_device *hdev, struct hid_input *hi, in wtp_input_mapping()
882 static int wtp_raw_event(struct hid_device *hdev, u8 *data, int size) in wtp_raw_event()
954 static int wtp_allocate(struct hid_device *hdev, const struct hid_device_id *id) in wtp_allocate()
969 static int wtp_connect(struct hid_device *hdev, bool connected) in wtp_connect()
1038 static int m560_send_config_command(struct hid_device *hdev, bool connected) in m560_send_config_command()
1059 static int m560_allocate(struct hid_device *hdev) in m560_allocate()
1074 static int m560_raw_event(struct hid_device *hdev, u8 *data, int size) in m560_raw_event()
1184 static int m560_input_mapping(struct hid_device *hdev, struct hid_input *hi, in m560_input_mapping()
[all …]
Dhid-petalynx.c25 static __u8 *pl_report_fixup(struct hid_device *hdev, __u8 *rdesc, in pl_report_fixup()
40 static int pl_input_mapping(struct hid_device *hdev, struct hid_input *hi, in pl_input_mapping()
70 static int pl_probe(struct hid_device *hdev, const struct hid_device_id *id) in pl_probe()
Dhid-zydacron.c30 static __u8 *zc_report_fixup(struct hid_device *hdev, __u8 *rdesc, in zc_report_fixup()
48 static int zc_input_mapping(struct hid_device *hdev, struct hid_input *hi, in zc_input_mapping()
112 static int zc_raw_event(struct hid_device *hdev, struct hid_report *report, in zc_raw_event()
167 static int zc_probe(struct hid_device *hdev, const struct hid_device_id *id) in zc_probe()
Dhid-input.c97 static struct hid_usage *hidinput_find_key(struct hid_device *hid, in hidinput_find_key()
126 static struct hid_usage *hidinput_locate_usage(struct hid_device *hid, in hidinput_locate_usage()
146 struct hid_device *hid = input_get_drvdata(dev); in hidinput_getkeycode()
168 struct hid_device *hid = input_get_drvdata(dev); in hidinput_setkeycode()
326 static unsigned find_battery_quirk(struct hid_device *hdev) in find_battery_quirk()
342 struct hid_device *dev = power_supply_get_drvdata(psy); in hidinput_get_battery_property()
398 static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *… in hidinput_setup_battery()
463 static void hidinput_cleanup_battery(struct hid_device *dev) in hidinput_cleanup_battery()
477 static bool hidinput_setup_battery(struct hid_device *dev, unsigned report_type, in hidinput_setup_battery()
483 static void hidinput_cleanup_battery(struct hid_device *dev) in hidinput_cleanup_battery()
[all …]
Dhid-sjoy.c44 struct hid_device *hid = input_get_drvdata(dev); in hid_sjoyff_play()
63 static int sjoyff_init(struct hid_device *hid) in sjoyff_init()
124 static inline int sjoyff_init(struct hid_device *hid) in sjoyff_init()
130 static int sjoy_probe(struct hid_device *hdev, const struct hid_device_id *id) in sjoy_probe()
Dhid-saitek.c40 static int saitek_probe(struct hid_device *hdev, in saitek_probe()
73 static __u8 *saitek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in saitek_report_fixup()
97 static int saitek_raw_event(struct hid_device *hdev, in saitek_raw_event()
154 static int saitek_event(struct hid_device *hdev, struct hid_field *field, in saitek_event()
Dhid-gaff.c45 struct hid_device *hid = input_get_drvdata(dev); in hid_gaff_play()
76 static int gaff_init(struct hid_device *hid) in gaff_init()
135 static inline int gaff_init(struct hid_device *hdev) in gaff_init()
141 static int ga_probe(struct hid_device *hdev, const struct hid_device_id *id) in ga_probe()
Dhid-kye.c402 static __u8 *kye_consumer_control_fixup(struct hid_device *hdev, __u8 *rdesc, in kye_consumer_control_fixup()
422 static __u8 *kye_report_fixup(struct hid_device *hdev, __u8 *rdesc, in kye_report_fixup()
499 static int kye_tablet_enable(struct hid_device *hdev) in kye_tablet_enable()
537 static int kye_probe(struct hid_device *hdev, const struct hid_device_id *id) in kye_probe()
Dhid-picolcd_leds.c64 struct hid_device *hdev; in picolcd_led_set_brightness()
69 hdev = container_of(dev, struct hid_device, dev); in picolcd_led_set_brightness()
91 struct hid_device *hdev; in picolcd_led_get_brightness()
96 hdev = container_of(dev, struct hid_device, dev); in picolcd_led_get_brightness()
Dhid-icade.c167 static int icade_event(struct hid_device *hdev, struct hid_field *field, in icade_event()
191 static int icade_input_mapping(struct hid_device *hdev, struct hid_input *hi, in icade_input_mapping()
214 static int icade_input_mapped(struct hid_device *hdev, struct hid_input *hi, in icade_input_mapped()
Dhid-pl.c62 struct hid_device *hid = input_get_drvdata(dev); in hid_plff_play()
81 static int plff_init(struct hid_device *hid) in plff_init()
184 static inline int plff_init(struct hid_device *hid) in plff_init()
190 static int pl_probe(struct hid_device *hdev, const struct hid_device_id *id) in pl_probe()
Dhid-microsoft.c33 static __u8 *ms_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ms_report_fixup()
141 static int ms_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ms_input_mapping()
160 static int ms_input_mapped(struct hid_device *hdev, struct hid_input *hi, in ms_input_mapped()
172 static int ms_event(struct hid_device *hdev, struct hid_field *field, in ms_event()
230 static int ms_probe(struct hid_device *hdev, const struct hid_device_id *id) in ms_probe()
Dhid-lg3ff.c63 struct hid_device *hid = input_get_drvdata(dev); in hid_lg3ff_play()
101 struct hid_device *hid = input_get_drvdata(dev); in hid_lg3ff_set_autocenter()
130 int lg3ff_init(struct hid_device *hid) in lg3ff_init()
Dhid-a4tech.c35 static int a4_input_mapped(struct hid_device *hdev, struct hid_input *hi, in a4_input_mapped()
50 static int a4_event(struct hid_device *hdev, struct hid_field *field, in a4_event()
88 static int a4_probe(struct hid_device *hdev, const struct hid_device_id *id) in a4_probe()
Dhid-uclogic.c633 static __u8 *uclogic_report_fixup(struct hid_device *hdev, __u8 *rdesc, in uclogic_report_fixup()
719 static int uclogic_input_mapping(struct hid_device *hdev, struct hid_input *hi, in uclogic_input_mapping()
734 static int uclogic_input_configured(struct hid_device *hdev, in uclogic_input_configured()
786 static int uclogic_tablet_enable(struct hid_device *hdev) in uclogic_tablet_enable()
879 static int uclogic_probe(struct hid_device *hdev, in uclogic_probe()
931 static int uclogic_raw_event(struct hid_device *hdev, struct hid_report *report, in uclogic_raw_event()
Duhid.c38 struct hid_device *hid;
92 static int uhid_hid_start(struct hid_device *hid) in uhid_hid_start()
118 static void uhid_hid_stop(struct hid_device *hid) in uhid_hid_stop()
126 static int uhid_hid_open(struct hid_device *hid) in uhid_hid_open()
133 static void uhid_hid_close(struct hid_device *hid) in uhid_hid_close()
140 static int uhid_hid_parse(struct hid_device *hid) in uhid_hid_parse()
198 static int uhid_hid_get_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_get_report()
241 static int uhid_hid_set_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_set_report()
282 static int uhid_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in uhid_hid_raw_request()
312 static int uhid_hid_output_raw(struct hid_device *hid, __u8 *buf, size_t count, in uhid_hid_output_raw()
[all …]
Dhid-speedlink.c27 static int speedlink_input_mapping(struct hid_device *hdev, in speedlink_input_mapping()
45 static int speedlink_event(struct hid_device *hdev, struct hid_field *field, in speedlink_event()
Dhid-plantronics.c42 static int plantronics_input_mapping(struct hid_device *hdev, in plantronics_input_mapping()
107 static unsigned long plantronics_device_type(struct hid_device *hdev) in plantronics_device_type()
132 static int plantronics_probe(struct hid_device *hdev, in plantronics_probe()
Dhid-betopff.c43 struct hid_device *hid = input_get_drvdata(dev); in hid_betopff_play()
58 static int betopff_init(struct hid_device *hid) in betopff_init()
118 static int betop_probe(struct hid_device *hdev, const struct hid_device_id *id) in betop_probe()
Dhid-tmff.c86 struct hid_device *hid = input_get_drvdata(dev); in tmff_play()
124 static int tmff_init(struct hid_device *hid, const signed short *ff_bits) in tmff_init()
207 static inline int tmff_init(struct hid_device *hid, const signed short *ff_bits) in tmff_init()
213 static int tm_probe(struct hid_device *hdev, const struct hid_device_id *id) in tm_probe()
Dhid-roccat-lua.c118 static int lua_init_specials(struct hid_device *hdev) in lua_init_specials()
150 static void lua_remove_specials(struct hid_device *hdev) in lua_remove_specials()
161 static int lua_probe(struct hid_device *hdev, in lua_probe()
192 static void lua_remove(struct hid_device *hdev) in lua_remove()
Dhid-emsff.c37 struct hid_device *hid = input_get_drvdata(dev); in emsff_play()
58 static int emsff_init(struct hid_device *hid) in emsff_init()
112 static int ems_probe(struct hid_device *hdev, const struct hid_device_id *id) in ems_probe()
Dhid-sunplus.c24 static __u8 *sp_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sp_report_fixup()
38 static int sp_input_mapping(struct hid_device *hdev, struct hid_input *hi, in sp_input_mapping()
Dhid-monterey.c24 static __u8 *mr_report_fixup(struct hid_device *hdev, __u8 *rdesc, in mr_report_fixup()
36 static int mr_input_mapping(struct hid_device *hdev, struct hid_input *hi, in mr_input_mapping()
Dhid-cherry.c28 static __u8 *ch_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ch_report_fixup()
41 static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ch_input_mapping()
Dhid-ezkey.c28 static int ez_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ez_input_mapping()
50 static int ez_event(struct hid_device *hdev, struct hid_field *field, in ez_event()
Dhid-elo.c40 static int elo_input_configured(struct hid_device *hdev, in elo_input_configured()
75 static int elo_raw_event(struct hid_device *hdev, struct hid_report *report, in elo_raw_event()
222 static int elo_probe(struct hid_device *hdev, const struct hid_device_id *id) in elo_probe()
259 static void elo_remove(struct hid_device *hdev) in elo_remove()
Dhid-belkin.c29 static int belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, in belkin_input_mapping()
49 static int belkin_probe(struct hid_device *hdev, const struct hid_device_id *id) in belkin_probe()
Dhid-corsair.c391 static int k90_init_backlight(struct hid_device *dev) in k90_init_backlight()
434 static int k90_init_macro_functions(struct hid_device *dev) in k90_init_macro_functions()
489 static void k90_cleanup_backlight(struct hid_device *dev) in k90_cleanup_backlight()
502 static void k90_cleanup_macro_functions(struct hid_device *dev) in k90_cleanup_macro_functions()
519 static int corsair_probe(struct hid_device *dev, const struct hid_device_id *id) in corsair_probe()
560 static void corsair_remove(struct hid_device *dev) in corsair_remove()
568 static int corsair_event(struct hid_device *dev, struct hid_field *field, in corsair_event()
590 static int corsair_input_mapping(struct hid_device *dev, in corsair_input_mapping()
Dhid-sensor-hub.c68 static struct hid_report *sensor_hub_report(int id, struct hid_device *hdev, in sensor_hub_report()
82 static int sensor_hub_get_physical_device_count(struct hid_device *hdev) in sensor_hub_get_physical_device_count()
111 struct hid_device *hdev, in sensor_hub_get_callback()
370 struct hid_device *hdev = hsdev->hdev; in sensor_hub_input_get_attribute_info()
410 static int sensor_hub_suspend(struct hid_device *hdev, pm_message_t message) in sensor_hub_suspend()
428 static int sensor_hub_resume(struct hid_device *hdev) in sensor_hub_resume()
446 static int sensor_hub_reset_resume(struct hid_device *hdev) in sensor_hub_reset_resume()
455 static int sensor_hub_raw_event(struct hid_device *hdev, in sensor_hub_raw_event()
565 static __u8 *sensor_hub_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sensor_hub_report_fixup()
613 static int sensor_hub_probe(struct hid_device *hdev, in sensor_hub_probe()
[all …]
Dhid-lgff.c71 struct hid_device *hid = input_get_drvdata(dev); in hid_lgff_play()
113 struct hid_device *hid = input_get_drvdata(dev); in hid_lgff_set_autocenter()
128 int lgff_init(struct hid_device* hid) in lgff_init()
Dhid-gyration.c27 static int gyration_input_mapping(struct hid_device *hdev, struct hid_input *hi, in gyration_input_mapping()
57 static int gyration_event(struct hid_device *hdev, struct hid_field *field, in gyration_event()
Dhid-chicony.c29 static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ch_input_mapping()
61 static __u8 *ch_switch12_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ch_switch12_report_fixup()
Dhid-lg.c342 static __u8 *lg_report_fixup(struct hid_device *hdev, __u8 *rdesc, in lg_report_fixup()
551 static int lg_input_mapping(struct hid_device *hdev, struct hid_input *hi, in lg_input_mapping()
604 static int lg_input_mapped(struct hid_device *hdev, struct hid_input *hi, in lg_input_mapped()
643 static int lg_event(struct hid_device *hdev, struct hid_field *field, in lg_event()
660 static int lg_probe(struct hid_device *hdev, const struct hid_device_id *id) in lg_probe()
743 static void lg_remove(struct hid_device *hdev) in lg_remove()
Dhid-lg2ff.c37 struct hid_device *hid = input_get_drvdata(dev); in play_effect()
61 int lg2ff_init(struct hid_device *hid) in lg2ff_init()
Dhid-debug.c629 void hid_dump_device(struct hid_device *device, struct seq_file *f) in hid_dump_device()
660 void hid_debug_event(struct hid_device *hdev, char *buf) in hid_debug_event()
679 void hid_dump_report(struct hid_device *hid, int type, u8 *data, in hid_dump_report()
709 void hid_dump_input(struct hid_device *hdev, struct hid_usage *usage, __s32 value) in hid_dump_input()
1026 static void hid_dump_input_mapping(struct hid_device *hid, struct seq_file *f) in hid_dump_input_mapping()
1050 struct hid_device *hdev = f->private; in hid_debug_rdesc_show()
1094 list->hdev = (struct hid_device *) inode->i_private; in hid_debug_events_open()
1223 void hid_debug_register(struct hid_device *hdev, const char *name) in hid_debug_register()
1233 void hid_debug_unregister(struct hid_device *hdev) in hid_debug_unregister()
Dhid-roccat-isku.c271 static int isku_init_specials(struct hid_device *hdev) in isku_init_specials()
312 static void isku_remove_specials(struct hid_device *hdev) in isku_remove_specials()
327 static int isku_probe(struct hid_device *hdev, in isku_probe()
358 static void isku_remove(struct hid_device *hdev) in isku_remove()
400 static int isku_raw_event(struct hid_device *hdev, in isku_raw_event()
Dhid-roccat-arvo.c291 static int arvo_init_specials(struct hid_device *hdev) in arvo_init_specials()
332 static void arvo_remove_specials(struct hid_device *hdev) in arvo_remove_specials()
347 static int arvo_probe(struct hid_device *hdev, in arvo_probe()
378 static void arvo_remove(struct hid_device *hdev) in arvo_remove()
405 static int arvo_raw_event(struct hid_device *hdev, in arvo_raw_event()
Dhidraw.c115 struct hid_device *dev; in hidraw_send_report()
195 struct hid_device *dev; in hidraw_get_report()
421 struct hid_device *hid = dev->hid; in hidraw_ioctl()
485 int hidraw_report_event(struct hid_device *hid, u8 *data, int len) in hidraw_report_event()
514 int hidraw_connect(struct hid_device *hid) in hidraw_connect()
571 void hidraw_disconnect(struct hid_device *hid) in hidraw_disconnect()
Dhid-waltop.c641 static __u8 *waltop_report_fixup(struct hid_device *hdev, __u8 *rdesc, in waltop_report_fixup()
691 static int waltop_raw_event(struct hid_device *hdev, struct hid_report *report, in waltop_raw_event()
Dhid-apple.c180 static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input, in hidinput_apple_event()
270 static int apple_event(struct hid_device *hdev, struct hid_field *field, in apple_event()
298 static __u8 *apple_report_fixup(struct hid_device *hdev, __u8 *rdesc, in apple_report_fixup()
332 static int apple_input_mapping(struct hid_device *hdev, struct hid_input *hi, in apple_input_mapping()
348 static int apple_input_mapped(struct hid_device *hdev, struct hid_input *hi, in apple_input_mapped()
366 static int apple_probe(struct hid_device *hdev, in apple_probe()
Dhid-magicmouse.c280 static int magicmouse_raw_event(struct hid_device *hdev, in magicmouse_raw_event()
363 static int magicmouse_setup_input(struct input_dev *input, struct hid_device *hdev) in magicmouse_setup_input()
457 static int magicmouse_input_mapping(struct hid_device *hdev, in magicmouse_input_mapping()
474 static int magicmouse_input_configured(struct hid_device *hdev, in magicmouse_input_configured()
493 static int magicmouse_probe(struct hid_device *hdev, in magicmouse_probe()
Dwacom_wac.h190 struct hid_device *pen;
191 struct hid_device *touch;
Dhid-roccat-koneplus.c381 static int koneplus_init_specials(struct hid_device *hdev) in koneplus_init_specials()
422 static void koneplus_remove_specials(struct hid_device *hdev) in koneplus_remove_specials()
436 static int koneplus_probe(struct hid_device *hdev, in koneplus_probe()
467 static void koneplus_remove(struct hid_device *hdev) in koneplus_remove()
514 static int koneplus_raw_event(struct hid_device *hdev, in koneplus_raw_event()
Dhid-elecom.c23 static __u8 *elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc, in elecom_report_fixup()
Dhid-aureal.c20 static __u8 *aureal_report_fixup(struct hid_device *hdev, __u8 *rdesc, in aureal_report_fixup()
Dhid-keytouch.c30 static __u8 *keytouch_report_fixup(struct hid_device *hdev, __u8 *rdesc, in keytouch_report_fixup()
Dhid-roccat-pyra.c401 static int pyra_init_specials(struct hid_device *hdev) in pyra_init_specials()
442 static void pyra_remove_specials(struct hid_device *hdev) in pyra_remove_specials()
456 static int pyra_probe(struct hid_device *hdev, const struct hid_device_id *id) in pyra_probe()
485 static void pyra_remove(struct hid_device *hdev) in pyra_remove()
549 static int pyra_raw_event(struct hid_device *hdev, struct hid_report *report, in pyra_raw_event()
Dhid-xinmo.c28 static int xinmo_event(struct hid_device *hdev, struct hid_field *field, in xinmo_event()
Dhid-penmount.c21 static int penmount_input_mapping(struct hid_device *hdev, in penmount_input_mapping()
Dhid-ortek.c27 static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ortek_report_fixup()
Dhid-thingm.c64 struct hid_device *hdev;
217 static int thingm_probe(struct hid_device *hdev, const struct hid_device_id *id) in thingm_probe()
285 static void thingm_remove(struct hid_device *hdev) in thingm_remove()
Dhid-kensington.c23 static int ks_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ks_input_mapping()
Dhid-primax.c25 static int px_raw_event(struct hid_device *hid, struct hid_report *report, in px_raw_event()
Dhid-roccat-kovaplus.c448 static int kovaplus_init_specials(struct hid_device *hdev) in kovaplus_init_specials()
490 static void kovaplus_remove_specials(struct hid_device *hdev) in kovaplus_remove_specials()
504 static int kovaplus_probe(struct hid_device *hdev, in kovaplus_probe()
535 static void kovaplus_remove(struct hid_device *hdev) in kovaplus_remove()
603 static int kovaplus_raw_event(struct hid_device *hdev, in kovaplus_raw_event()
Dhid-lcpower.c23 static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ts_input_mapping()
Dhid-tivo.c25 static int tivo_input_mapping(struct hid_device *hdev, struct hid_input *hi, in tivo_input_mapping()
Dhid-gembird.c63 static __u8 *gembird_report_fixup(struct hid_device *hdev, __u8 *rdesc, in gembird_report_fixup()
Dhid-holtek-mouse.c35 static __u8 *holtek_mouse_report_fixup(struct hid_device *hdev, __u8 *rdesc, in holtek_mouse_report_fixup()
Dhid-roccat-kone.c692 static int kone_init_specials(struct hid_device *hdev) in kone_init_specials()
732 static void kone_remove_specials(struct hid_device *hdev) in kone_remove_specials()
746 static int kone_probe(struct hid_device *hdev, const struct hid_device_id *id) in kone_probe()
776 static void kone_remove(struct hid_device *hdev) in kone_remove()
835 static int kone_raw_event(struct hid_device *hdev, struct hid_report *report, in kone_raw_event()
Dhid-topseed.c29 static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ts_input_mapping()
Dhid-twinhan.c63 static int twinhan_input_mapping(struct hid_device *hdev, struct hid_input *hi, in twinhan_input_mapping()
Dhid-wiimote.h144 struct hid_device *hdev;
259 #define dev_to_wii(pdev) hid_get_drvdata(container_of(pdev, struct hid_device, \
Dhid-roccat.c49 struct hid_device *hid;
297 int roccat_connect(struct class *klass, struct hid_device *hid, int report_size) in roccat_connect()
Dwacom_wac.c1504 static void wacom_wac_pen_usage_mapping(struct hid_device *hdev, in wacom_wac_pen_usage_mapping()
1544 static int wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field, in wacom_wac_pen_event()
1574 static void wacom_wac_pen_pre_report(struct hid_device *hdev, in wacom_wac_pen_pre_report()
1580 static void wacom_wac_pen_report(struct hid_device *hdev, in wacom_wac_pen_report()
1608 static void wacom_wac_finger_usage_mapping(struct hid_device *hdev, in wacom_wac_finger_usage_mapping()
1700 static int wacom_wac_finger_event(struct hid_device *hdev, in wacom_wac_finger_event()
1736 static void wacom_wac_finger_pre_report(struct hid_device *hdev, in wacom_wac_finger_pre_report()
1779 static void wacom_wac_finger_report(struct hid_device *hdev, in wacom_wac_finger_report()
1804 void wacom_wac_usage_mapping(struct hid_device *hdev, in wacom_wac_usage_mapping()
1821 int wacom_wac_event(struct hid_device *hdev, struct hid_field *field, in wacom_wac_event()
[all …]
Dhid-picolcd_debugfs.c395 struct hid_device *hdev, struct hid_report *report) in picolcd_debug_out_report()
652 struct hid_device *hdev, struct hid_report *report, in picolcd_debug_raw_event()
852 struct hid_device *hdev = data->hdev; in picolcd_init_devfs()
Dhid-wiimote-core.c25 static int wiimote_hid_send(struct hid_device *hdev, __u8 *buffer, in wiimote_hid_send()
1610 static int wiimote_hid_event(struct hid_device *hdev, struct hid_report *report, in wiimote_hid_event()
1722 static struct wiimote_data *wiimote_create(struct hid_device *hdev) in wiimote_create()
1775 static int wiimote_hid_probe(struct hid_device *hdev, in wiimote_hid_probe()
1847 static void wiimote_hid_remove(struct hid_device *hdev) in wiimote_hid_remove()
Dhid-sensor-custom.c573 struct hid_device *hdev = hsdev->hdev; in hid_sensor_custom_add_attributes()
Dhid-wiimote-modules.c305 wdata = hid_get_drvdata(container_of(dev, struct hid_device, dev)); in wiimod_led_get()
328 wdata = hid_get_drvdata(container_of(dev, struct hid_device, dev)); in wiimod_led_set()
/linux-4.4.14/drivers/hid/usbhid/
Dusbhid.h37 void usbhid_close(struct hid_device *hid);
38 int usbhid_open(struct hid_device *hid);
39 void usbhid_init_reports(struct hid_device *hid);
40 int usbhid_get_power(struct hid_device *hid);
41 void usbhid_put_power(struct hid_device *hid);
63 struct hid_device *hid; /* pointer to corresponding HID dev */
Dhid-core.c72 static void hid_io_error(struct hid_device *hid);
73 static int hid_submit_out(struct hid_device *hid);
74 static int hid_submit_ctrl(struct hid_device *hid);
78 static int hid_start_in(struct hid_device *hid) in hid_start_in()
105 struct hid_device *hid = (struct hid_device *) _hid; in hid_retry_timeout()
118 struct hid_device *hid = usbhid->hid; in hid_reset()
141 static void hid_io_error(struct hid_device *hid) in hid_io_error()
190 struct hid_device *hid = usb_get_intfdata(usbhid->intf); in usbhid_restart_out_queue()
228 struct hid_device *hid = usb_get_intfdata(usbhid->intf); in usbhid_restart_ctrl_queue()
271 struct hid_device *hid = urb->context; in hid_irq_in()
[all …]
Dhiddev.c54 struct hid_device *hid;
77 hiddev_lookup_report(struct hid_device *hid, struct hiddev_report_info *rinfo) in hiddev_lookup_report()
130 hiddev_lookup_usage(struct hid_device *hid, struct hiddev_usage_ref *uref) in hiddev_lookup_usage()
161 static void hiddev_send_event(struct hid_device *hid, in hiddev_send_event()
187 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, in hiddev_hid_event()
207 void hiddev_report_event(struct hid_device *hid, struct hid_report *report) in hiddev_report_event()
272 struct hid_device *hid; in hiddev_open()
312 struct hid_device *hid = hiddev->hid; in hiddev_open()
451 struct hid_device *hid = hiddev->hid; in hiddev_ioctl_usage()
570 struct hid_device *hid = hiddev->hid; in hiddev_ioctl_string()
[all …]
Dhid-pidff.c157 struct hid_device *hid;
824 static void pidff_find_reports(struct hid_device *hid, int report_type, in pidff_find_reports()
1162 struct hid_device *hid = pidff->hid; in pidff_reset()
1238 int hid_pidff_init(struct hid_device *hid) in hid_pidff_init()
/linux-4.4.14/drivers/hid/i2c-hid/
Di2c-hid.c131 struct hid_device *hid; /* pointer to corresponding HID dev */
442 struct hid_device *hid = report->device; in i2c_hid_init_report()
472 static void i2c_hid_init_reports(struct hid_device *hid) in i2c_hid_init_reports()
502 static void i2c_hid_find_max_report(struct hid_device *hid, unsigned int type, in i2c_hid_find_max_report()
554 static int i2c_hid_get_raw_report(struct hid_device *hid, in i2c_hid_get_raw_report()
590 static int i2c_hid_output_raw_report(struct hid_device *hid, __u8 *buf, in i2c_hid_output_raw_report()
615 static int i2c_hid_output_report(struct hid_device *hid, __u8 *buf, in i2c_hid_output_report()
622 static int i2c_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in i2c_hid_raw_request()
638 static int i2c_hid_parse(struct hid_device *hid) in i2c_hid_parse()
693 static int i2c_hid_start(struct hid_device *hid) in i2c_hid_start()
[all …]
/linux-4.4.14/Documentation/hid/
Dhid-transport.txt188 struct hid_device *hid;
229 - int (*start) (struct hid_device *hdev)
235 - void (*stop) (struct hid_device *hdev)
243 - int (*open) (struct hid_device *hdev)
250 - void (*close) (struct hid_device *hdev)
258 - int (*parse) (struct hid_device *hdev)
263 - int (*power) (struct hid_device *hdev, int level)
267 - void (*request) (struct hid_device *hdev, struct hid_report *report,
276 - int (*wait) (struct hid_device *hdev)
281 - int (*raw_request) (struct hid_device *hdev, unsigned char reportnum,
[all …]
/linux-4.4.14/net/bluetooth/hidp/
Dcore.c227 static int hidp_get_raw_report(struct hid_device *hid, in hidp_get_raw_report()
312 static int hidp_set_raw_report(struct hid_device *hid, unsigned char reportnum, in hidp_set_raw_report()
377 static int hidp_output_report(struct hid_device *hid, __u8 *data, size_t count) in hidp_output_report()
386 static int hidp_raw_request(struct hid_device *hid, unsigned char reportnum, in hidp_raw_request()
704 static int hidp_open(struct hid_device *hid) in hidp_open()
709 static void hidp_close(struct hid_device *hid) in hidp_close()
713 static int hidp_parse(struct hid_device *hid) in hidp_parse()
721 static int hidp_start(struct hid_device *hid) in hidp_start()
726 static void hidp_stop(struct hid_device *hid) in hidp_stop()
751 struct hid_device *hid; in hidp_setup_hid()
Dhidp.h163 struct hid_device *hid;