Home
last modified time | relevance | path

Searched defs:hid (Results 1 – 25 of 57) sorted by relevance

123

/linux-4.19.296/drivers/hid/usbhid/
Dhid-core.c83 static int hid_start_in(struct hid_device *hid) in hid_start_in()
111 struct hid_device *hid = usbhid->hid; in hid_retry_timeout() local
123 struct hid_device *hid = usbhid->hid; in hid_reset() local
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() local
233 struct hid_device *hid = usb_get_intfdata(usbhid->intf); in usbhid_restart_ctrl_queue() local
276 struct hid_device *hid = urb->context; in hid_irq_in() local
338 static int hid_submit_out(struct hid_device *hid) in hid_submit_out()
368 static int hid_submit_ctrl(struct hid_device *hid) in hid_submit_ctrl()
434 struct hid_device *hid = urb->context; in hid_irq_out() local
[all …]
Dhiddev.c69 hiddev_lookup_report(struct hid_device *hid, struct hiddev_report_info *rinfo) in hiddev_lookup_report()
122 hiddev_lookup_usage(struct hid_device *hid, struct hiddev_usage_ref *uref) in hiddev_lookup_usage()
153 static void hiddev_send_event(struct hid_device *hid, in hiddev_send_event()
179 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, in hiddev_hid_event()
199 void hiddev_report_event(struct hid_device *hid, struct hid_report *report) in hiddev_report_event()
303 struct hid_device *hid; in hiddev_open() local
442 struct hid_device *hid = hiddev->hid; in hiddev_ioctl_usage() local
581 struct hid_device *hid = hiddev->hid; in hiddev_ioctl_string() local
611 struct hid_device *hid; in hiddev_ioctl() local
898 int hiddev_connect(struct hid_device *hid, unsigned int force) in hiddev_connect()
[all …]
/linux-4.19.296/drivers/hid/intel-ish-hid/
Dishtp-hid.c29 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()
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() local
/linux-4.19.296/drivers/hid/
Dhid-appleir.c117 struct hid_device *hid; member
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() local
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()
Dhid-cmedia.c53 struct hid_device *hid; member
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()
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() local
168 struct hid_device *hid = input_get_drvdata(dev); in hidinput_setkeycode() local
1233 void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, _… in hidinput_hid_event()
1371 void hidinput_report_event(struct hid_device *hid, struct hid_report *report) in hidinput_report_event()
1383 int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_fi… in hidinput_find_field()
1400 struct hid_field *hidinput_get_led_field(struct hid_device *hid) in hidinput_get_led_field()
1420 unsigned int hidinput_count_leds(struct hid_device *hid) in hidinput_count_leds()
1444 struct hid_device *hid = container_of(work, struct hid_device, in hidinput_led_worker() local
[all …]
Dhid-lg4ff.c307 int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, in lg4ff_adjust_input_event()
414 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_play() local
476 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_set_autocenter_default() local
556 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_set_autocenter_ffex() local
590 static void lg4ff_set_range_g25(struct hid_device *hid, u16 range) in lg4ff_set_range_g25()
625 static void lg4ff_set_range_dfp(struct hid_device *hid, u16 range) in lg4ff_set_range_dfp()
769 static int lg4ff_switch_compatibility_mode(struct hid_device *hid, const struct lg4ff_compat_mode_s… in lg4ff_switch_compatibility_mode()
806 struct hid_device *hid = to_hid_device(dev); in lg4ff_alternate_modes_show() local
855 struct hid_device *hid = to_hid_device(dev); in lg4ff_alternate_modes_store() local
948 struct hid_device *hid = to_hid_device(dev); in lg4ff_combine_show() local
[all …]
Dhid-holtekff.c88 struct hid_device *hid, in holtekff_send()
105 struct hid_device *hid = input_get_drvdata(dev); in holtekff_play() local
135 static int holtekff_init(struct hid_device *hid) in holtekff_init()
187 static inline int holtekff_init(struct hid_device *hid) in holtekff_init()
Duhid.c50 struct hid_device *hid; member
129 static int uhid_hid_start(struct hid_device *hid) in uhid_hid_start()
155 static void uhid_hid_stop(struct hid_device *hid) in uhid_hid_stop()
163 static int uhid_hid_open(struct hid_device *hid) in uhid_hid_open()
170 static void uhid_hid_close(struct hid_device *hid) in uhid_hid_close()
177 static int uhid_hid_parse(struct hid_device *hid) in uhid_hid_parse()
235 static int uhid_hid_get_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_get_report()
278 static int uhid_hid_set_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_set_report()
319 static int uhid_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in uhid_hid_raw_request()
349 static int uhid_hid_output_raw(struct hid_device *hid, __u8 *buf, size_t count, in uhid_hid_output_raw()
[all …]
Dhid-lg3ff.c63 struct hid_device *hid = input_get_drvdata(dev); in hid_lg3ff_play() local
101 struct hid_device *hid = input_get_drvdata(dev); in hid_lg3ff_set_autocenter() local
130 int lg3ff_init(struct hid_device *hid) in lg3ff_init()
Dhid-zpff.c40 struct hid_device *hid = input_get_drvdata(dev); in zpff_play() local
65 static int zpff_init(struct hid_device *hid) in zpff_init()
110 static inline int zpff_init(struct hid_device *hid) in zpff_init()
Dhid-mf.c44 struct hid_device *hid = input_get_drvdata(dev); in mf_play() local
65 static int mf_init(struct hid_device *hid) in mf_init()
124 static int mf_probe(struct hid_device *hid, const struct hid_device_id *id) in mf_probe()
Dhid-sjoy.c44 struct hid_device *hid = input_get_drvdata(dev); in hid_sjoyff_play() local
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()
Dhid-steelseries.c144 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_all_set_brightness() local
163 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_all_get_brightness() local
180 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_set_brightness() local
208 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_get_brightness() local
Dhid-axff.c45 struct hid_device *hid = input_get_drvdata(dev); in axff_play() local
74 static int axff_init(struct hid_device *hid) in axff_init()
133 static inline int axff_init(struct hid_device *hid) in axff_init()
Dhid-lgff.c71 struct hid_device *hid = input_get_drvdata(dev); in hid_lgff_play() local
113 struct hid_device *hid = input_get_drvdata(dev); in hid_lgff_set_autocenter() local
128 int lgff_init(struct hid_device* hid) in lgff_init()
Dhid-pl.c62 struct hid_device *hid = input_get_drvdata(dev); in hid_plff_play() local
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()
Dhid-core.c706 struct hid_device *hid = to_hid_device(dev); in hid_device_release() local
782 struct hid_device *hid = parser->device; in hid_scan_input_usage() local
801 struct hid_device *hid = parser->device; in hid_scan_collection() local
863 static int hid_scan_report(struct hid_device *hid) in hid_scan_report()
933 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size) in hid_parse_report()
960 struct hid_report *hid_validate_values(struct hid_device *hid, in hid_validate_values()
1200 u32 hid_field_extract(const struct hid_device *hid, u8 *report, in hid_field_extract()
1246 static void implement(const struct hid_device *hid, u8 *report, in implement()
1289 static int hid_match_report(struct hid_device *hid, struct hid_report *report) in hid_match_report()
1312 static int hid_match_usage(struct hid_device *hid, struct hid_usage *usage) in hid_match_usage()
[all …]
Dhid-dr.c46 struct hid_device *hid = input_get_drvdata(dev); in drff_play() local
86 static int drff_init(struct hid_device *hid) in drff_init()
147 static inline int drff_init(struct hid_device *hid) in drff_init()
Dhid-lg2ff.c37 struct hid_device *hid = input_get_drvdata(dev); in play_effect() local
61 int lg2ff_init(struct hid_device *hid) in lg2ff_init()
Dhid-tmff.c88 struct hid_device *hid = input_get_drvdata(dev); in tmff_play() local
134 static int tmff_init(struct hid_device *hid, const signed short *ff_bits) in tmff_init()
223 static inline int tmff_init(struct hid_device *hid, const signed short *ff_bits) in tmff_init()
Dhid-emsff.c37 struct hid_device *hid = input_get_drvdata(dev); in emsff_play() local
58 static int emsff_init(struct hid_device *hid) in emsff_init()
/linux-4.19.296/include/linux/
Dhiddev.h41 struct hid_device *hid; member
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()
Dhidraw.h24 struct hid_device *hid; member
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()
/linux-4.19.296/drivers/hid/i2c-hid/
Di2c-hid-core.c143 struct hid_device *hid; /* pointer to corresponding HID dev */ member
570 static void i2c_hid_find_max_report(struct hid_device *hid, unsigned int type, in i2c_hid_find_max_report()
623 static int i2c_hid_get_raw_report(struct hid_device *hid, in i2c_hid_get_raw_report()
673 static int i2c_hid_output_raw_report(struct hid_device *hid, __u8 *buf, in i2c_hid_output_raw_report()
705 static int i2c_hid_output_report(struct hid_device *hid, __u8 *buf, in i2c_hid_output_report()
712 static int i2c_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in i2c_hid_raw_request()
728 static int i2c_hid_parse(struct hid_device *hid) in i2c_hid_parse()
795 static int i2c_hid_start(struct hid_device *hid) in i2c_hid_start()
820 static void i2c_hid_stop(struct hid_device *hid) in i2c_hid_stop()
825 static int i2c_hid_open(struct hid_device *hid) in i2c_hid_open()
[all …]

123