Home
last modified time | relevance | path

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

1234

/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
564 struct hid_device *hid = hiddev->hid; in hiddev_ioctl_string() local
594 struct hid_device *hid; in hiddev_ioctl() local
881 int hiddev_connect(struct hid_device *hid, unsigned int force) in hiddev_connect()
[all …]
/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
/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()
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 …]
/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()
321 static void appleir_remove(struct hid_device *hid) in appleir_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
1263 void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, _… in hidinput_hid_event()
1401 void hidinput_report_event(struct hid_device *hid, struct hid_report *report) in hidinput_report_event()
1413 int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_fi… in hidinput_find_field()
1430 struct hid_field *hidinput_get_led_field(struct hid_device *hid) in hidinput_get_led_field()
1450 unsigned int hidinput_count_leds(struct hid_device *hid) in hidinput_count_leds()
1474 struct hid_device *hid = container_of(work, struct hid_device, in hidinput_led_worker() local
[all …]
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-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-bigbenff.c175 struct hid_device *hid; member
248 struct hid_device *hid = to_hid_device(dev); in bigben_set_led() local
280 struct hid_device *hid = to_hid_device(dev); in bigben_get_led() local
297 static void bigben_remove(struct hid_device *hid) in bigben_remove()
306 static int bigben_probe(struct hid_device *hid, in bigben_probe()
388 static __u8 *bigben_report_fixup(struct hid_device *hid, __u8 *rdesc, in bigben_report_fixup()
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 …]
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-core.c703 struct hid_device *hid = to_hid_device(dev); in hid_device_release() local
779 struct hid_device *hid = parser->device; in hid_scan_input_usage() local
798 struct hid_device *hid = parser->device; in hid_scan_collection() local
860 static int hid_scan_report(struct hid_device *hid) in hid_scan_report()
930 int hid_parse_report(struct hid_device *hid, __u8 *start, unsigned size) in hid_parse_report()
957 struct hid_report *hid_validate_values(struct hid_device *hid, in hid_validate_values()
1008 static int hid_calculate_multiplier(struct hid_device *hid, in hid_calculate_multiplier()
1047 static void hid_apply_multiplier_to_field(struct hid_device *hid, in hid_apply_multiplier_to_field()
1077 static void hid_apply_multiplier(struct hid_device *hid, in hid_apply_multiplier()
1146 void hid_setup_resolution_multiplier(struct hid_device *hid) in hid_setup_resolution_multiplier()
[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()
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-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-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-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()
Dhid-lgff.c59 struct hid_device *hid = input_get_drvdata(dev); in hid_lgff_play() local
101 struct hid_device *hid = input_get_drvdata(dev); in hid_lgff_set_autocenter() local
116 int lgff_init(struct hid_device* hid) in lgff_init()
Dhid-pl.c50 struct hid_device *hid = input_get_drvdata(dev); in hid_plff_play() local
69 static int plff_init(struct hid_device *hid) in plff_init()
172 static inline int plff_init(struct hid_device *hid) in plff_init()
Dhid-dr.c34 struct hid_device *hid = input_get_drvdata(dev); in drff_play() local
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()
/drivers/usb/gadget/function/
Df_accessory.c60 struct hid_device *hid; member
351 struct acc_hid_dev *hid = req->context; in acc_complete_set_hid_report_desc() local
374 struct acc_hid_dev *hid = req->context; in acc_complete_send_hid_event() local
385 static int acc_hid_parse(struct hid_device *hid) in acc_hid_parse()
393 static int acc_hid_start(struct hid_device *hid) in acc_hid_start()
398 static void acc_hid_stop(struct hid_device *hid) in acc_hid_stop()
402 static int acc_hid_open(struct hid_device *hid) in acc_hid_open()
407 static void acc_hid_close(struct hid_device *hid) in acc_hid_close()
411 static int acc_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in acc_hid_raw_request()
448 struct acc_hid_dev *hid; in acc_hid_get() local
[all …]
/drivers/hid/i2c-hid/
Di2c-hid-core.c140 struct hid_device *hid; /* pointer to corresponding HID dev */ member
546 static void i2c_hid_find_max_report(struct hid_device *hid, unsigned int type, in i2c_hid_find_max_report()
599 static int i2c_hid_get_raw_report(struct hid_device *hid, in i2c_hid_get_raw_report()
635 static int i2c_hid_output_raw_report(struct hid_device *hid, __u8 *buf, in i2c_hid_output_raw_report()
665 static int i2c_hid_output_report(struct hid_device *hid, __u8 *buf, in i2c_hid_output_report()
672 static int i2c_hid_raw_request(struct hid_device *hid, unsigned char reportnum, in i2c_hid_raw_request()
688 static int i2c_hid_parse(struct hid_device *hid) in i2c_hid_parse()
755 static int i2c_hid_start(struct hid_device *hid) in i2c_hid_start()
780 static void i2c_hid_stop(struct hid_device *hid) in i2c_hid_stop()
785 static int i2c_hid_open(struct hid_device *hid) in i2c_hid_open()
[all …]
/drivers/mmc/host/
Dsdhci-acpi.c328 static inline bool sdhci_acpi_no_fixup_child_power(const char *hid, in sdhci_acpi_no_fixup_child_power()
348 static inline bool sdhci_acpi_no_fixup_child_power(const char *hid, in sdhci_acpi_no_fixup_child_power()
378 static int intel_probe_slot(struct platform_device *pdev, const char *hid, in intel_probe_slot()
476 static int qcom_probe_slot(struct platform_device *pdev, const char *hid, in qcom_probe_slot()
504 const char *hid; in qcom_free_slot() local
586 const char *hid, const char *uid) in sdhci_acpi_emmc_amd_probe_slot()
613 const char *hid; member
657 static const struct sdhci_acpi_slot *sdhci_acpi_get_slot(const char *hid, in sdhci_acpi_get_slot()
683 const char *hid; in sdhci_acpi_probe() local

1234