/Linux-v5.4/include/linux/ |
D | hid.h | 483 struct hid_device *device; /* associated device */ 545 struct hid_device { /* device report descriptor */ struct 604 int (*ff_init)(struct hid_device *); argument 607 int (*hiddev_connect)(struct hid_device *, unsigned int); argument 608 void (*hiddev_disconnect)(struct hid_device *); argument 609 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument 611 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument 624 container_of(pdev, struct hid_device, dev) argument 626 static inline void *hid_get_drvdata(struct hid_device *hdev) in hid_get_drvdata() 631 static inline void hid_set_drvdata(struct hid_device *hdev, void *data) in hid_set_drvdata() [all …]
|
D | hiddev.h | 29 struct hid_device *hid; 35 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()
|
D | hidraw.h | 16 struct hid_device *hid; 40 int hidraw_report_event(struct hid_device *, u8 *, int); 41 int hidraw_connect(struct hid_device *); 42 void hidraw_disconnect(struct hid_device *); 46 static inline int hidraw_report_event(struct hid_device *hid, u8 *data, int len) { return 0; } in hidraw_report_event() 47 static inline int hidraw_connect(struct hid_device *hid) { return -1; } in hidraw_connect() 48 static inline void hidraw_disconnect(struct hid_device *hid) { } in hidraw_disconnect()
|
D | hid-debug.h | 19 void hid_dump_input(struct hid_device *, struct hid_usage *, __s32); 20 void hid_dump_report(struct hid_device *, int , u8 *, int); 21 void hid_dump_device(struct hid_device *, struct seq_file *); 24 void hid_debug_register(struct hid_device *, const char *); 25 void hid_debug_unregister(struct hid_device *); 28 void hid_debug_event(struct hid_device *, char *); 33 struct hid_device *hdev;
|
/Linux-v5.4/drivers/hid/ |
D | hid-lg4ff.h | 8 int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, 10 int lg4ff_raw_event(struct hid_device *hdev, struct hid_report *report, 12 int lg4ff_init(struct hid_device *hdev); 13 int lg4ff_deinit(struct hid_device *hdev); 15 static inline int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, in lg4ff_adjust_input_event() 17 static inline int lg4ff_raw_event(struct hid_device *hdev, struct hid_report *report, in lg4ff_raw_event() 19 static inline int lg4ff_init(struct hid_device *hdev) { return -1; } in lg4ff_init() 20 static inline int lg4ff_deinit(struct hid_device *hdev) { return -1; } in lg4ff_deinit()
|
D | hid-lg.h | 11 int lgff_init(struct hid_device *hdev); 13 static inline int lgff_init(struct hid_device *hdev) { return -1; } in lgff_init() 17 int lg2ff_init(struct hid_device *hdev); 19 static inline int lg2ff_init(struct hid_device *hdev) { return -1; } in lg2ff_init() 23 int lg3ff_init(struct hid_device *hdev); 25 static inline int lg3ff_init(struct hid_device *hdev) { return -1; } in lg3ff_init()
|
D | hid-lenovo.c | 64 static __u8 *lenovo_report_fixup(struct hid_device *hdev, __u8 *rdesc, in lenovo_report_fixup() 84 static int lenovo_input_mapping_tpkbd(struct hid_device *hdev, in lenovo_input_mapping_tpkbd() 97 static int lenovo_input_mapping_cptkbd(struct hid_device *hdev, in lenovo_input_mapping_cptkbd() 171 static int lenovo_input_mapping_scrollpoint(struct hid_device *hdev, in lenovo_input_mapping_scrollpoint() 182 static int lenovo_input_mapping(struct hid_device *hdev, in lenovo_input_mapping() 210 static int lenovo_send_cmd_cptkbd(struct hid_device *hdev, in lenovo_send_cmd_cptkbd() 242 static void lenovo_features_set_cptkbd(struct hid_device *hdev) in lenovo_features_set_cptkbd() 260 struct hid_device *hdev = to_hid_device(dev); in attr_fn_lock_show_cptkbd() 271 struct hid_device *hdev = to_hid_device(dev); in attr_fn_lock_store_cptkbd() 290 struct hid_device *hdev = to_hid_device(dev); in attr_sensitivity_show_cptkbd() [all …]
|
D | hid-rmi.c | 95 struct hid_device *hdev; 105 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len); 121 static int rmi_set_page(struct hid_device *hdev, u8 page) in rmi_set_page() 143 static int rmi_set_mode(struct hid_device *hdev, u8 mode) in rmi_set_mode() 165 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len) in rmi_write_report() 192 struct hid_device *hdev = data->hdev; in rmi_hid_read_block() 265 struct hid_device *hdev = data->hdev; in rmi_hid_write_block() 297 static int rmi_reset_attn_mode(struct hid_device *hdev) in rmi_reset_attn_mode() 322 static int rmi_input_event(struct hid_device *hdev, u8 *data, int size) in rmi_input_event() 342 static int rmi_read_data_event(struct hid_device *hdev, u8 *data, int size) in rmi_read_data_event() [all …]
|
D | hid-cmedia.c | 45 struct hid_device *hid; 49 static void hp_ev(struct hid_device *hid, struct cmhid *cm, int value) in hp_ev() 55 static int cmhid_raw_event(struct hid_device *hid, struct hid_report *report, in cmhid_raw_event() 78 static int cmhid_input_configured(struct hid_device *hid, in cmhid_input_configured() 94 static int cmhid_input_mapping(struct hid_device *hid, in cmhid_input_mapping() 101 static int cmhid_probe(struct hid_device *hid, const struct hid_device_id *id) in cmhid_probe() 136 static void cmhid_remove(struct hid_device *hid) in cmhid_remove()
|
D | hid-ntrig.c | 109 static inline int ntrig_get_mode(struct hid_device *hdev) in ntrig_get_mode() 123 static inline void ntrig_set_mode(struct hid_device *hdev, const int mode) in ntrig_set_mode() 140 static void ntrig_report_version(struct hid_device *hdev) in ntrig_report_version() 172 struct hid_device *hdev = to_hid_device(dev); in show_phys_width() 184 struct hid_device *hdev = to_hid_device(dev); in show_phys_height() 196 struct hid_device *hdev = to_hid_device(dev); in show_log_width() 208 struct hid_device *hdev = to_hid_device(dev); in show_log_height() 220 struct hid_device *hdev = to_hid_device(dev); in show_min_width() 232 struct hid_device *hdev = to_hid_device(dev); in set_min_width() 255 struct hid_device *hdev = to_hid_device(dev); in show_min_height() [all …]
|
D | hid-appleir.c | 109 struct hid_device *hid; 151 static void key_up(struct hid_device *hid, struct appleir *appleir, int key) in key_up() 157 static void key_down(struct hid_device *hid, struct appleir *appleir, int key) in key_down() 171 struct hid_device *hid = appleir->hid; in key_up_tick() 182 static int appleir_raw_event(struct hid_device *hid, struct hid_report *report, in appleir_raw_event() 251 static int appleir_input_configured(struct hid_device *hid, in appleir_input_configured() 274 static int appleir_input_mapping(struct hid_device *hid, in appleir_input_mapping() 281 static int appleir_probe(struct hid_device *hid, const struct hid_device_id *id) in appleir_probe() 321 static void appleir_remove(struct hid_device *hid) in appleir_remove()
|
D | hid-hyperv.c | 151 struct hid_device *hid_device; member 301 hid_input_report(input_dev->hid_device, HID_INPUT_REPORT, in mousevsc_on_receive() 395 static int mousevsc_hid_parse(struct hid_device *hid) in mousevsc_hid_parse() 404 static int mousevsc_hid_open(struct hid_device *hid) in mousevsc_hid_open() 409 static int mousevsc_hid_start(struct hid_device *hid) in mousevsc_hid_start() 414 static void mousevsc_hid_close(struct hid_device *hid) in mousevsc_hid_close() 418 static void mousevsc_hid_stop(struct hid_device *hid) in mousevsc_hid_stop() 422 static int mousevsc_hid_raw_request(struct hid_device *hid, in mousevsc_hid_raw_request() 447 struct hid_device *hid_dev; in mousevsc_probe() 487 input_dev->hid_device = hid_dev; in mousevsc_probe() [all …]
|
D | hid-picolcd.h | 65 struct hid_device *hdev; 130 struct hid_report *picolcd_report(int id, struct hid_device *hdev, int dir); 134 struct hid_device *hdev, struct hid_report *report); 142 struct hid_device *hdev, struct hid_report *report, 153 struct hid_device *hdev, struct hid_report *report) in picolcd_debug_out_report() 157 struct hid_device *hdev, struct hid_report *report, in picolcd_debug_raw_event() 297 int picolcd_reset(struct hid_device *hdev); 298 struct picolcd_pending *picolcd_send_and_wait(struct hid_device *hdev,
|
D | hid-samsung.c | 51 static inline void samsung_irda_dev_trace(struct hid_device *hdev, in samsung_irda_dev_trace() 58 static __u8 *samsung_irda_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_irda_report_fixup() 95 static int samsung_kbd_mouse_input_mapping(struct hid_device *hdev, in samsung_kbd_mouse_input_mapping() 128 static __u8 *samsung_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_report_fixup() 136 static int samsung_input_mapping(struct hid_device *hdev, struct hid_input *hi, in samsung_input_mapping() 149 static int samsung_probe(struct hid_device *hdev, in samsung_probe()
|
D | hid-elan.c | 51 static int is_not_elan_touchpad(struct hid_device *hdev) in is_not_elan_touchpad() 63 static int elan_input_mapping(struct hid_device *hdev, struct hid_input *hi, in elan_input_mapping() 79 static int elan_get_device_param(struct hid_device *hdev, in elan_get_device_param() 118 static int elan_get_device_params(struct hid_device *hdev) in elan_get_device_params() 152 static int elan_input_configured(struct hid_device *hdev, struct hid_input *hi) in elan_input_configured() 359 static int elan_raw_event(struct hid_device *hdev, in elan_raw_event() 384 static int elan_start_multitouch(struct hid_device *hdev) in elan_start_multitouch() 414 struct hid_device *hdev = to_hid_device(dev); in elan_mute_led_get_brigtness() 426 struct hid_device *hdev = to_hid_device(dev); in elan_mute_led_set_brigtness() 454 static int elan_init_mute_led(struct hid_device *hdev) in elan_init_mute_led() [all …]
|
D | hid-core.c | 57 struct hid_report *hid_register_report(struct hid_device *device, in hid_register_report() 623 static void hid_close_report(struct hid_device *device) in hid_close_report() 658 struct hid_device *hid = to_hid_device(dev); in hid_device_release() 734 struct hid_device *hid = parser->device; in hid_scan_input_usage() 749 struct hid_device *hid = parser->device; in hid_scan_collection() 811 static int hid_scan_report(struct hid_device *hid) in hid_scan_report() 881 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size) in hid_parse_report() 908 struct hid_report *hid_validate_values(struct hid_device *hid, in hid_validate_values() 959 static int hid_calculate_multiplier(struct hid_device *hid, in hid_calculate_multiplier() 998 static void hid_apply_multiplier_to_field(struct hid_device *hid, in hid_apply_multiplier_to_field() [all …]
|
D | hid-microsoft.c | 33 struct hid_device *hdev; 59 static __u8 *ms_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ms_report_fixup() 185 static int ms_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ms_input_mapping() 212 static int ms_input_mapped(struct hid_device *hdev, struct hid_input *hi, in ms_input_mapped() 225 static int ms_event(struct hid_device *hdev, struct hid_field *field, in ms_event() 287 struct hid_device *hdev = ms->hdev; in ms_ff_worker() 313 struct hid_device *hid = input_get_drvdata(dev); in ms_play_effect() 329 static int ms_init_ff(struct hid_device *hdev) in ms_init_ff() 358 static void ms_remove_ff(struct hid_device *hdev) in ms_remove_ff() 368 static int ms_probe(struct hid_device *hdev, const struct hid_device_id *id) in ms_probe() [all …]
|
D | hid-holtek-kbd.c | 105 static __u8 *holtek_kbd_report_fixup(struct hid_device *hdev, __u8 *rdesc, in holtek_kbd_report_fixup() 121 struct hid_device *hid = input_get_drvdata(dev); in holtek_kbd_input_event() 126 struct hid_device *boot_hid; in holtek_kbd_input_event() 140 static int holtek_kbd_probe(struct hid_device *hdev, in holtek_kbd_probe()
|
D | hid-logitech-dj.c | 137 struct hid_device *mouse; 138 struct hid_device *keyboard; 139 struct hid_device *hidpp; 154 struct hid_device *hdev; 527 static struct dj_receiver_dev *dj_find_receiver_dev(struct hid_device *hdev, in dj_find_receiver_dev() 570 static void dj_put_receiver_dev(struct hid_device *hdev) in dj_put_receiver_dev() 588 static struct dj_receiver_dev *dj_get_receiver_dev(struct hid_device *hdev, in dj_get_receiver_dev() 656 struct hid_device *djrcv_hdev = djrcv_dev->hidpp; in logi_dj_recv_add_djhid_device() 657 struct hid_device *dj_hiddev; in logi_dj_recv_add_djhid_device() 869 static void logi_hidpp_dev_conn_notif_equad(struct hid_device *hdev, in logi_hidpp_dev_conn_notif_equad() [all …]
|
D | hid-steelseries.c | 109 static void steelseries_srws1_set_leds(struct hid_device *hdev, __u16 leds) in steelseries_srws1_set_leds() 141 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_all_set_brightness() 160 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_all_get_brightness() 177 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_set_brightness() 205 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_get_brightness() 225 static int steelseries_srws1_probe(struct hid_device *hdev, in steelseries_srws1_probe() 329 static void steelseries_srws1_remove(struct hid_device *hdev) in steelseries_srws1_remove() 355 static __u8 *steelseries_srws1_report_fixup(struct hid_device *hdev, __u8 *rdesc, in steelseries_srws1_report_fixup()
|
D | hid-holtekff.c | 76 struct hid_device *hid, in holtekff_send() 93 struct hid_device *hid = input_get_drvdata(dev); in holtekff_play() 123 static int holtekff_init(struct hid_device *hid) in holtekff_init() 175 static inline int holtekff_init(struct hid_device *hid) in holtekff_init() 181 static int holtek_probe(struct hid_device *hdev, const struct hid_device_id *id) in holtek_probe()
|
D | hid-dr.c | 34 struct hid_device *hid = input_get_drvdata(dev); in drff_play() 74 static int drff_init(struct hid_device *hid) in drff_init() 135 static inline int drff_init(struct hid_device *hid) in drff_init() 231 static __u8 *dr_report_fixup(struct hid_device *hdev, __u8 *rdesc, in dr_report_fixup() 248 static int dr_input_mapping(struct hid_device *hdev, struct hid_input *hi, in dr_input_mapping() 269 static int dr_probe(struct hid_device *hdev, const struct hid_device_id *id) in dr_probe()
|
/Linux-v5.4/drivers/hid/intel-ish-hid/ |
D | ishtp-hid.c | 21 static int ishtp_hid_parse(struct hid_device *hid) in ishtp_hid_parse() 36 static int ishtp_hid_start(struct hid_device *hid) in ishtp_hid_start() 41 static void ishtp_hid_stop(struct hid_device *hid) in ishtp_hid_stop() 45 static int ishtp_hid_open(struct hid_device *hid) in ishtp_hid_open() 50 static void ishtp_hid_close(struct hid_device *hid) in ishtp_hid_close() 54 static int ishtp_raw_request(struct hid_device *hid, unsigned char reportnum, in ishtp_raw_request() 104 static void ishtp_hid_request(struct hid_device *hid, struct hid_report *rep, in ishtp_hid_request() 145 static int ishtp_wait_for_response(struct hid_device *hid) in ishtp_wait_for_response() 178 void ishtp_hid_wakeup(struct hid_device *hid) in ishtp_hid_wakeup() 210 struct hid_device *hid; in ishtp_hid_probe()
|
/Linux-v5.4/drivers/staging/greybus/ |
D | hid.c | 22 struct hid_device *hid; 158 static void gb_hid_find_max_report(struct hid_device *hid, unsigned int type, in gb_hid_find_max_report() 209 struct hid_device *hid = ghid->hid; in gb_hid_init_reports() 223 static int __gb_hid_get_raw_report(struct hid_device *hid, in __gb_hid_get_raw_report() 240 static int __gb_hid_output_raw_report(struct hid_device *hid, __u8 *buf, in __gb_hid_output_raw_report() 262 static int gb_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in gb_hid_raw_request() 279 static int gb_hid_parse(struct hid_device *hid) in gb_hid_parse() 313 static int gb_hid_start(struct hid_device *hid) in gb_hid_start() 336 static void gb_hid_stop(struct hid_device *hid) in gb_hid_stop() 343 static int gb_hid_open(struct hid_device *hid) in gb_hid_open() [all …]
|
/Linux-v5.4/drivers/hid/usbhid/ |
D | hid-core.c | 74 static void hid_io_error(struct hid_device *hid); 75 static int hid_submit_out(struct hid_device *hid); 76 static int hid_submit_ctrl(struct hid_device *hid); 80 static int hid_start_in(struct hid_device *hid) in hid_start_in() 108 struct hid_device *hid = usbhid->hid; in hid_retry_timeout() 120 struct hid_device *hid = usbhid->hid; in hid_reset() 143 static void hid_io_error(struct hid_device *hid) in hid_io_error() 192 struct hid_device *hid = usb_get_intfdata(usbhid->intf); in usbhid_restart_out_queue() 230 struct hid_device *hid = usb_get_intfdata(usbhid->intf); in usbhid_restart_ctrl_queue() 273 struct hid_device *hid = urb->context; in hid_irq_in() [all …]
|