/Linux-v4.19/include/linux/ |
D | hid.h | 485 struct hid_device *device; /* associated device */ 547 struct hid_device { /* device report descriptor */ struct 606 int (*ff_init)(struct hid_device *); argument 609 int (*hiddev_connect)(struct hid_device *, unsigned int); argument 610 void (*hiddev_disconnect)(struct hid_device *); argument 611 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument 613 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument 626 container_of(pdev, struct hid_device, dev) argument 628 static inline void *hid_get_drvdata(struct hid_device *hdev) in hid_get_drvdata() 633 static inline void hid_set_drvdata(struct hid_device *hdev, void *data) in hid_set_drvdata() [all …]
|
D | hiddev.h | 41 struct hid_device *hid; 47 struct hid_device; 53 int hiddev_connect(struct hid_device *hid, unsigned int force); 54 void hiddev_disconnect(struct hid_device *); 55 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, 57 void hiddev_report_event(struct hid_device *hid, struct hid_report *report); 59 static inline int hiddev_connect(struct hid_device *hid, in hiddev_connect() 62 static inline void hiddev_disconnect(struct hid_device *hid) { } in hiddev_disconnect() 63 static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, in hiddev_hid_event() 65 static inline void hiddev_report_event(struct hid_device *hid, struct hid_report *report) { } in hiddev_report_event()
|
D | hidraw.h | 24 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()
|
D | hid-debug.h | 29 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;
|
/Linux-v4.19/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 | 67 static __u8 *lenovo_report_fixup(struct hid_device *hdev, __u8 *rdesc, in lenovo_report_fixup() 87 static int lenovo_input_mapping_tpkbd(struct hid_device *hdev, in lenovo_input_mapping_tpkbd() 100 static int lenovo_input_mapping_cptkbd(struct hid_device *hdev, in lenovo_input_mapping_cptkbd() 174 static int lenovo_input_mapping_scrollpoint(struct hid_device *hdev, in lenovo_input_mapping_scrollpoint() 185 static int lenovo_input_mapping(struct hid_device *hdev, in lenovo_input_mapping() 213 static int lenovo_send_cmd_cptkbd(struct hid_device *hdev, in lenovo_send_cmd_cptkbd() 245 static void lenovo_features_set_cptkbd(struct hid_device *hdev) in lenovo_features_set_cptkbd() 263 struct hid_device *hdev = to_hid_device(dev); in attr_fn_lock_show_cptkbd() 274 struct hid_device *hdev = to_hid_device(dev); in attr_fn_lock_store_cptkbd() 293 struct hid_device *hdev = to_hid_device(dev); in attr_sensitivity_show_cptkbd() [all …]
|
D | hid-rmi.c | 98 struct hid_device *hdev; 108 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len); 124 static int rmi_set_page(struct hid_device *hdev, u8 page) in rmi_set_page() 146 static int rmi_set_mode(struct hid_device *hdev, u8 mode) in rmi_set_mode() 168 static int rmi_write_report(struct hid_device *hdev, u8 *report, int len) in rmi_write_report() 185 struct hid_device *hdev = data->hdev; in rmi_hid_read_block() 258 struct hid_device *hdev = data->hdev; in rmi_hid_write_block() 290 static int rmi_reset_attn_mode(struct hid_device *hdev) in rmi_reset_attn_mode() 315 static int rmi_input_event(struct hid_device *hdev, u8 *data, int size) in rmi_input_event() 335 static int rmi_read_data_event(struct hid_device *hdev, u8 *data, int size) in rmi_read_data_event() [all …]
|
D | hid-cmedia.c | 53 struct hid_device *hid; 57 static void hp_ev(struct hid_device *hid, struct cmhid *cm, int value) in hp_ev() 63 static int cmhid_raw_event(struct hid_device *hid, struct hid_report *report, in cmhid_raw_event() 86 static int cmhid_input_configured(struct hid_device *hid, in cmhid_input_configured() 102 static int cmhid_input_mapping(struct hid_device *hid, in cmhid_input_mapping() 109 static int cmhid_probe(struct hid_device *hid, const struct hid_device_id *id) in cmhid_probe() 144 static void cmhid_remove(struct hid_device *hid) in cmhid_remove()
|
D | hid-ntrig.c | 113 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 = to_hid_device(dev); in show_phys_width() 188 struct hid_device *hdev = to_hid_device(dev); in show_phys_height() 200 struct hid_device *hdev = to_hid_device(dev); in show_log_width() 212 struct hid_device *hdev = to_hid_device(dev); in show_log_height() 224 struct hid_device *hdev = to_hid_device(dev); in show_min_width() 236 struct hid_device *hdev = to_hid_device(dev); in set_min_width() 259 struct hid_device *hdev = to_hid_device(dev); in show_min_height() [all …]
|
D | hid-appleir.c | 117 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() 329 static void appleir_remove(struct hid_device *hid) in appleir_remove()
|
D | hid-hyperv.c | 159 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 …]
|
D | hid-picolcd.h | 75 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,
|
D | hid-samsung.c | 56 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()
|
D | hid-gfrm.c | 31 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()
|
D | hid-elan.c | 55 static int is_not_elan_touchpad(struct hid_device *hdev) in is_not_elan_touchpad() 67 static int elan_input_mapping(struct hid_device *hdev, struct hid_input *hi, in elan_input_mapping() 83 static int elan_get_device_param(struct hid_device *hdev, in elan_get_device_param() 122 static int elan_get_device_params(struct hid_device *hdev) in elan_get_device_params() 156 static int elan_input_configured(struct hid_device *hdev, struct hid_input *hi) in elan_input_configured() 363 static int elan_raw_event(struct hid_device *hdev, in elan_raw_event() 388 static int elan_start_multitouch(struct hid_device *hdev) in elan_start_multitouch() 418 struct hid_device *hdev = to_hid_device(dev); in elan_mute_led_get_brigtness() 430 struct hid_device *hdev = to_hid_device(dev); in elan_mute_led_set_brigtness() 458 static int elan_init_mute_led(struct hid_device *hdev) in elan_init_mute_led() [all …]
|
D | hid-cougar.c | 73 struct hid_device *dev; 85 static void cougar_fix_g6_mapping(struct hid_device *hdev) in cougar_fix_g6_mapping() 104 static __u8 *cougar_report_fixup(struct hid_device *hdev, __u8 *rdesc, in cougar_report_fixup() 117 static struct cougar_shared *cougar_get_shared_data(struct hid_device *hdev) in cougar_get_shared_data() 157 static int cougar_bind_shared_data(struct hid_device *hdev, struct cougar *cougar) in cougar_bind_shared_data() 191 static int cougar_probe(struct hid_device *hdev, in cougar_probe() 256 static int cougar_raw_event(struct hid_device *hdev, struct hid_report *report, in cougar_raw_event() 282 static void cougar_remove(struct hid_device *hdev) in cougar_remove()
|
D | hid-logitech-dj.c | 112 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() 702 static int logi_dj_ll_raw_request(struct hid_device *hid, in logi_dj_ll_raw_request() 755 static int logi_dj_ll_parse(struct hid_device *hid) in logi_dj_ll_parse() [all …]
|
D | hid-core.c | 60 struct hid_report *hid_register_report(struct hid_device *device, in hid_register_report() 612 static void hid_close_report(struct hid_device *device) in hid_close_report() 647 struct hid_device *hid = to_hid_device(dev); in hid_device_release() 723 struct hid_device *hid = parser->device; in hid_scan_input_usage() 738 struct hid_device *hid = parser->device; in hid_scan_collection() 798 static int hid_scan_report(struct hid_device *hid) in hid_scan_report() 868 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size) in hid_parse_report() 895 struct hid_report *hid_validate_values(struct hid_device *hid, in hid_validate_values() 958 int hid_open_report(struct hid_device *device) in hid_open_report() 1126 u32 hid_field_extract(const struct hid_device *hid, u8 *report, in hid_field_extract() [all …]
|
D | hid-holtek-kbd.c | 108 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()
|
D | hid-holtekff.c | 88 struct hid_device *hid, in holtekff_send() 105 struct hid_device *hid = input_get_drvdata(dev); in holtekff_play() 135 static int holtekff_init(struct hid_device *hid) in holtekff_init() 181 static inline int holtekff_init(struct hid_device *hid) in holtekff_init() 187 static int holtek_probe(struct hid_device *hdev, const struct hid_device_id *id) in holtek_probe()
|
D | hid-steelseries.c | 112 static void steelseries_srws1_set_leds(struct hid_device *hdev, __u16 leds) in steelseries_srws1_set_leds() 144 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_all_set_brightness() 163 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_all_get_brightness() 180 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_set_brightness() 208 struct hid_device *hid = to_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()
|
/Linux-v4.19/drivers/hid/intel-ish-hid/ |
D | ishtp-hid.c | 29 static int ishtp_hid_parse(struct hid_device *hid) in ishtp_hid_parse() 44 static int ishtp_hid_start(struct hid_device *hid) in ishtp_hid_start() 49 static void ishtp_hid_stop(struct hid_device *hid) in ishtp_hid_stop() 53 static int ishtp_hid_open(struct hid_device *hid) in ishtp_hid_open() 58 static void ishtp_hid_close(struct hid_device *hid) in ishtp_hid_close() 62 static int ishtp_raw_request(struct hid_device *hdev, unsigned char reportnum, in ishtp_raw_request() 76 static void ishtp_hid_request(struct hid_device *hid, struct hid_report *rep, in ishtp_hid_request() 116 static int ishtp_wait_for_response(struct hid_device *hid) in ishtp_wait_for_response() 150 void ishtp_hid_wakeup(struct hid_device *hid) in ishtp_hid_wakeup() 182 struct hid_device *hid; in ishtp_hid_probe()
|
/Linux-v4.19/drivers/staging/greybus/ |
D | hid.c | 23 struct hid_device *hid; 159 static void gb_hid_find_max_report(struct hid_device *hid, unsigned int type, in gb_hid_find_max_report() 210 struct hid_device *hid = ghid->hid; in gb_hid_init_reports() 222 static int __gb_hid_get_raw_report(struct hid_device *hid, in __gb_hid_get_raw_report() 239 static int __gb_hid_output_raw_report(struct hid_device *hid, __u8 *buf, in __gb_hid_output_raw_report() 261 static int gb_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in gb_hid_raw_request() 278 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-v4.19/drivers/hid/usbhid/ |
D | hid-core.c | 77 static void hid_io_error(struct hid_device *hid); 78 static int hid_submit_out(struct hid_device *hid); 79 static int hid_submit_ctrl(struct hid_device *hid); 83 static int hid_start_in(struct hid_device *hid) in hid_start_in() 111 struct hid_device *hid = usbhid->hid; in hid_retry_timeout() 123 struct hid_device *hid = usbhid->hid; in hid_reset() 146 static void hid_io_error(struct hid_device *hid) in hid_io_error() 195 struct hid_device *hid = usb_get_intfdata(usbhid->intf); in usbhid_restart_out_queue() 233 struct hid_device *hid = usb_get_intfdata(usbhid->intf); in usbhid_restart_ctrl_queue() 276 struct hid_device *hid = urb->context; in hid_irq_in() [all …]
|