Home
last modified time | relevance | path

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

1234

/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-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-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
1288 void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, _… in hidinput_hid_event()
1432 void hidinput_report_event(struct hid_device *hid, struct hid_report *report) in hidinput_report_event()
1444 int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_fi… in hidinput_find_field()
1461 struct hid_field *hidinput_get_led_field(struct hid_device *hid) in hidinput_get_led_field()
1481 unsigned int hidinput_count_leds(struct hid_device *hid) in hidinput_count_leds()
1505 struct hid_device *hid = container_of(work, struct hid_device, in hidinput_led_worker() local
[all …]
Dhid-bigbenff.c175 struct hid_device *hid; member
269 struct hid_device *hid = input_get_drvdata(dev); in hid_bigben_play_effect() local
304 struct hid_device *hid = to_hid_device(dev); in bigben_set_led() local
339 struct hid_device *hid = to_hid_device(dev); in bigben_get_led() local
356 static void bigben_remove(struct hid_device *hid) in bigben_remove()
369 static int bigben_probe(struct hid_device *hid, in bigben_probe()
467 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
942 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.c47 struct hid_device *hid; member
126 static int uhid_hid_start(struct hid_device *hid) in uhid_hid_start()
152 static void uhid_hid_stop(struct hid_device *hid) in uhid_hid_stop()
160 static int uhid_hid_open(struct hid_device *hid) in uhid_hid_open()
167 static void uhid_hid_close(struct hid_device *hid) in uhid_hid_close()
174 static int uhid_hid_parse(struct hid_device *hid) in uhid_hid_parse()
232 static int uhid_hid_get_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_get_report()
275 static int uhid_hid_set_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_set_report()
316 static int uhid_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in uhid_hid_raw_request()
346 static int uhid_hid_output_raw(struct hid_device *hid, __u8 *buf, size_t count, in uhid_hid_output_raw()
[all …]
Dhid-lg3ff.c51 struct hid_device *hid = input_get_drvdata(dev); in hid_lg3ff_play() local
89 struct hid_device *hid = input_get_drvdata(dev); in hid_lg3ff_set_autocenter() local
118 int lg3ff_init(struct hid_device *hid) in lg3ff_init()
Dhid-zpff.c28 struct hid_device *hid = input_get_drvdata(dev); in zpff_play() local
53 static int zpff_init(struct hid_device *hid) in zpff_init()
98 static inline int zpff_init(struct hid_device *hid) in zpff_init()
Dhid-mf.c36 struct hid_device *hid = input_get_drvdata(dev); in mf_play() local
57 static int mf_init(struct hid_device *hid) in mf_init()
116 static int mf_probe(struct hid_device *hid, const struct hid_device_id *id) in mf_probe()
Dhid-core.c707 struct hid_device *hid = to_hid_device(dev); in hid_device_release() local
783 struct hid_device *hid = parser->device; in hid_scan_input_usage() local
802 struct hid_device *hid = parser->device; in hid_scan_collection() local
871 static int hid_scan_report(struct hid_device *hid) in hid_scan_report()
941 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size) in hid_parse_report()
968 struct hid_report *hid_validate_values(struct hid_device *hid, in hid_validate_values()
1019 static int hid_calculate_multiplier(struct hid_device *hid, in hid_calculate_multiplier()
1058 static void hid_apply_multiplier_to_field(struct hid_device *hid, in hid_apply_multiplier_to_field()
1088 static void hid_apply_multiplier(struct hid_device *hid, in hid_apply_multiplier()
1157 void hid_setup_resolution_multiplier(struct hid_device *hid) in hid_setup_resolution_multiplier()
[all …]
Dhid-sjoy.c32 struct hid_device *hid = input_get_drvdata(dev); in hid_sjoyff_play() local
51 static int sjoyff_init(struct hid_device *hid) in sjoyff_init()
112 static inline int sjoyff_init(struct hid_device *hid) in sjoyff_init()
Dhid-steelseries.c141 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_all_set_brightness() local
160 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_all_get_brightness() local
177 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_set_brightness() local
205 struct hid_device *hid = to_hid_device(dev); in steelseries_srws1_led_get_brightness() local
Dhid-axff.c33 struct hid_device *hid = input_get_drvdata(dev); in axff_play() local
62 static int axff_init(struct hid_device *hid) in axff_init()
121 static inline int axff_init(struct hid_device *hid) in axff_init()
/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-5.10/drivers/block/zram/zram_group/
Dzram_group.c113 u32 hid; in zgrp_obj_insert() local
133 u32 hid; in zgrp_obj_delete() local
155 u32 hid, idx; in zgrp_isolate_objs() local
212 u32 hid; in zgrp_obj_putback() local
273 u32 hid, idx; in zram_group_dump() local
403 u32 hid; in zgrp_ext_insert() local
425 u32 hid; in zgrp_ext_delete() local
458 u32 hid, idx; in zgrp_isolate_exts() local
494 u32 hid; in zgrp_get_ext() local
510 u32 hid; in zgrp_put_ext() 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()
91 #define zlist_for_each_entry(idx, hid, tab) \ argument
94 #define zlist_for_each_entry_reverse(idx, hid, tab) \ argument
/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()
Dhidraw.h16 struct hid_device *hid; member
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()
/kernel/linux/linux-5.10/drivers/acpi/x86/
Dutils.c37 struct acpi_device_id hid[2]; member
45 #define ENTRY(status, hid, uid, path, cpu_model, dmi...) { \ argument
54 #define PRESENT_ENTRY_HID(hid, uid, cpu_model, dmi...) \ argument
57 #define NOT_PRESENT_ENTRY_HID(hid, uid, cpu_model, dmi...) \ argument
/kernel/linux/linux-5.10/drivers/hid/i2c-hid/
Di2c-hid-core.c141 struct hid_device *hid; /* pointer to corresponding HID dev */ member
558 static void i2c_hid_find_max_report(struct hid_device *hid, unsigned int type, in i2c_hid_find_max_report()
611 static int i2c_hid_get_raw_report(struct hid_device *hid, in i2c_hid_get_raw_report()
661 static int i2c_hid_output_raw_report(struct hid_device *hid, __u8 *buf, in i2c_hid_output_raw_report()
693 static int i2c_hid_output_report(struct hid_device *hid, __u8 *buf, in i2c_hid_output_report()
700 static int i2c_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in i2c_hid_raw_request()
716 static int i2c_hid_parse(struct hid_device *hid) in i2c_hid_parse()
783 static int i2c_hid_start(struct hid_device *hid) in i2c_hid_start()
808 static void i2c_hid_stop(struct hid_device *hid) in i2c_hid_stop()
813 static int i2c_hid_open(struct hid_device *hid) in i2c_hid_open()
[all …]

1234