Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/drivers/hid/usbhid/
Dhid-core.c80 static int hid_start_in(struct hid_device *hid) in hid_start_in()
108 struct hid_device *hid = usbhid->hid; in hid_retry_timeout() local
120 struct hid_device *hid = usbhid->hid; in hid_reset() local
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() local
230 struct hid_device *hid = usb_get_intfdata(usbhid->intf); in usbhid_restart_ctrl_queue() local
273 struct hid_device *hid = urb->context; in hid_irq_in() local
335 static int hid_submit_out(struct hid_device *hid) in hid_submit_out()
365 static int hid_submit_ctrl(struct hid_device *hid) in hid_submit_ctrl()
431 struct hid_device *hid = urb->context; in hid_irq_out() local
[all …]
Dhiddev.c56 hiddev_lookup_report(struct hid_device *hid, struct hiddev_report_info *rinfo) in hiddev_lookup_report()
109 hiddev_lookup_usage(struct hid_device *hid, struct hiddev_usage_ref *uref) in hiddev_lookup_usage()
140 static void hiddev_send_event(struct hid_device *hid, in hiddev_send_event()
166 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, in hiddev_hid_event()
186 void hiddev_report_event(struct hid_device *hid, struct hid_report *report) in hiddev_report_event()
290 struct hid_device *hid; in hiddev_open() local
429 struct hid_device *hid = hiddev->hid; in hiddev_ioctl_usage() local
568 struct hid_device *hid = hiddev->hid; in hiddev_ioctl_string() local
598 struct hid_device *hid; in hiddev_ioctl() local
875 int hiddev_connect(struct hid_device *hid, unsigned int force) in hiddev_connect()
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/
Dishtp-hid.c21 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() local
/kernel/linux/linux-4.19/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
/kernel/linux/linux-4.19/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
1228 void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, _… in hidinput_hid_event()
1360 void hidinput_report_event(struct hid_device *hid, struct hid_report *report) in hidinput_report_event()
1372 int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_fi… in hidinput_find_field()
1389 struct hid_field *hidinput_get_led_field(struct hid_device *hid) in hidinput_get_led_field()
1409 unsigned int hidinput_count_leds(struct hid_device *hid) in hidinput_count_leds()
1433 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
942 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()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-appleir.c109 struct hid_device *hid; member
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() local
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()
318 static void appleir_remove(struct hid_device *hid) in appleir_remove()
Dhid-cmedia.c45 struct hid_device *hid; member
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()
Dhid-input.c85 static struct hid_usage *hidinput_find_key(struct hid_device *hid, in hidinput_find_key()
114 static struct hid_usage *hidinput_locate_usage(struct hid_device *hid, in hidinput_locate_usage()
134 struct hid_device *hid = input_get_drvdata(dev); in hidinput_getkeycode() local
156 struct hid_device *hid = input_get_drvdata(dev); in hidinput_setkeycode() local
1273 void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, _… in hidinput_hid_event()
1411 void hidinput_report_event(struct hid_device *hid, struct hid_report *report) in hidinput_report_event()
1423 int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_fi… in hidinput_find_field()
1440 struct hid_field *hidinput_get_led_field(struct hid_device *hid) in hidinput_get_led_field()
1460 unsigned int hidinput_count_leds(struct hid_device *hid) in hidinput_count_leds()
1484 struct hid_device *hid = container_of(work, struct hid_device, in hidinput_led_worker() local
[all …]
Dhid-bigbenff.c175 struct hid_device *hid; member
227 struct hid_device *hid = input_get_drvdata(dev); in hid_bigben_play_effect() local
258 struct hid_device *hid = to_hid_device(dev); in bigben_set_led() local
290 struct hid_device *hid = to_hid_device(dev); in bigben_get_led() local
307 static void bigben_remove(struct hid_device *hid) in bigben_remove()
316 static int bigben_probe(struct hid_device *hid, in bigben_probe()
405 static __u8 *bigben_report_fixup(struct hid_device *hid, __u8 *rdesc, in bigben_report_fixup()
Dhid-creative-sb0540.c119 struct hid_device *hid; member
149 static int creative_sb0540_raw_event(struct hid_device *hid, in creative_sb0540_raw_event()
185 static int creative_sb0540_input_configured(struct hid_device *hid, in creative_sb0540_input_configured()
209 static int creative_sb0540_input_mapping(struct hid_device *hid, in creative_sb0540_input_mapping()
220 static int creative_sb0540_probe(struct hid_device *hid, in creative_sb0540_probe()
Dhid-lg4ff.c300 int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, in lg4ff_adjust_input_event()
408 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_play() local
470 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_set_autocenter_default() local
550 struct hid_device *hid = input_get_drvdata(dev); in lg4ff_set_autocenter_ffex() local
584 static void lg4ff_set_range_g25(struct hid_device *hid, u16 range) in lg4ff_set_range_g25()
619 static void lg4ff_set_range_dfp(struct hid_device *hid, u16 range) in lg4ff_set_range_dfp()
763 static int lg4ff_switch_compatibility_mode(struct hid_device *hid, const struct lg4ff_compat_mode_s… in lg4ff_switch_compatibility_mode()
800 struct hid_device *hid = to_hid_device(dev); in lg4ff_alternate_modes_show() local
849 struct hid_device *hid = to_hid_device(dev); in lg4ff_alternate_modes_store() local
936 struct hid_device *hid = to_hid_device(dev); in lg4ff_combine_show() local
[all …]
Dhid-holtekff.c76 struct hid_device *hid, in holtekff_send()
93 struct hid_device *hid = input_get_drvdata(dev); in holtekff_play() local
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()
Duhid.c36 struct hid_device *hid; member
106 static int uhid_hid_start(struct hid_device *hid) in uhid_hid_start()
132 static void uhid_hid_stop(struct hid_device *hid) in uhid_hid_stop()
140 static int uhid_hid_open(struct hid_device *hid) in uhid_hid_open()
147 static void uhid_hid_close(struct hid_device *hid) in uhid_hid_close()
154 static int uhid_hid_parse(struct hid_device *hid) in uhid_hid_parse()
212 static int uhid_hid_get_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_get_report()
255 static int uhid_hid_set_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_set_report()
296 static int uhid_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in uhid_hid_raw_request()
326 static int uhid_hid_output_raw(struct hid_device *hid, __u8 *buf, size_t count, in uhid_hid_output_raw()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dhid.c22 struct hid_device *hid; member
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() local
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()
312 static int gb_hid_start(struct hid_device *hid) in gb_hid_start()
335 static void gb_hid_stop(struct hid_device *hid) in gb_hid_stop()
342 static int gb_hid_open(struct hid_device *hid) in gb_hid_open()
[all …]
/kernel/linux/linux-4.19/drivers/staging/greybus/
Dhid.c23 struct hid_device *hid; member
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() local
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 …]
/kernel/linux/linux-4.19/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()
/kernel/linux/linux-5.10/include/linux/
Dhiddev.h29 struct hid_device *hid; member
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()
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dzram_group.c113 u32 hid; in zgrp_obj_insert() local
131 u32 hid; in zgrp_obj_delete() local
151 u32 hid, idx; in zgrp_isolate_objs() local
204 u32 hid; in zgrp_obj_putback() local
257 u32 hid, idx; in zram_group_dump() local
385 u32 hid; in zgrp_ext_insert() local
405 u32 hid; in zgrp_ext_delete() local
436 u32 hid, idx; in zgrp_isolate_exts() local
473 u32 hid; in wbgrp_obj_insert() local
493 u32 hid; in wbgrp_obj_delete() local
[all …]
Dzlist.h60 static inline void zlist_add(u32 hid, u32 idx, struct zlist_table *tab) in zlist_add()
67 static inline void zlist_add_tail(u32 hid, u32 idx, struct zlist_table *tab) in zlist_add_tail()
74 static inline bool zlist_del(u32 hid, u32 idx, struct zlist_table *tab) in zlist_del()
90 #define zlist_for_each_entry(idx, hid, tab) \ argument
93 #define zlist_for_each_entry_reverse(idx, hid, tab) \ argument

12345678