/linux/drivers/hid/usbhid/ |
A D | hid-core.c | 80 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() 273 struct hid_device *hid = urb->context; in hid_irq_in() local 427 struct hid_device *hid = urb->context; in hid_irq_out() local 475 struct hid_device *hid = urb->context; in hid_ctrl() local 678 static int usbhid_open(struct hid_device *hid) in usbhid_open() 979 static int usbhid_parse(struct hid_device *hid) in usbhid_parse() 1060 static int usbhid_start(struct hid_device *hid) in usbhid_start() [all …]
|
A D | hiddev.c | 56 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 …]
|
/linux/drivers/hid/intel-ish-hid/ |
A D | ishtp-hid.c | 21 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
|
/linux/drivers/hid/amd-sfh-hid/ |
A D | amd_sfh_hid.c | 26 static int amdtp_hid_parse(struct hid_device *hid) in amdtp_hid_parse() 36 static int amdtp_hid_start(struct hid_device *hid) in amdtp_hid_start() 41 static void amdtp_hid_stop(struct hid_device *hid) in amdtp_hid_stop() 45 static int amdtp_hid_open(struct hid_device *hid) in amdtp_hid_open() 50 static void amdtp_hid_close(struct hid_device *hid) in amdtp_hid_close() 60 static void amdtp_hid_request(struct hid_device *hid, struct hid_report *rep, int reqtype) in amdtp_hid_request() 78 static int amdtp_wait_for_response(struct hid_device *hid) in amdtp_wait_for_response() 101 void amdtp_hid_wakeup(struct hid_device *hid) in amdtp_hid_wakeup() 123 struct hid_device *hid; in amdtp_hid_probe() local
|
/linux/drivers/hid/ |
A D | hid-appleir.c | 109 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()
|
A D | hid-cmedia.c | 87 struct hid_device *hid; member 91 static void hp_ev(struct hid_device *hid, struct cmhid *cm, int value) in hp_ev() 97 static int cmhid_raw_event(struct hid_device *hid, struct hid_report *report, in cmhid_raw_event() 120 static int cmhid_input_configured(struct hid_device *hid, in cmhid_input_configured() 136 static int cmhid_input_mapping(struct hid_device *hid, in cmhid_input_mapping() 143 static int cmhid_probe(struct hid_device *hid, const struct hid_device_id *id) in cmhid_probe() 178 static void cmhid_remove(struct hid_device *hid) in cmhid_remove() 202 static __u8 *cmhid_hs100b_report_fixup(struct hid_device *hid, __u8 *rdesc, in cmhid_hs100b_report_fixup()
|
A D | hid-input.c | 85 static struct hid_usage *hidinput_find_key(struct hid_device *hid, in hidinput_find_key() 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 1505 unsigned int hidinput_count_leds(struct hid_device *hid) in hidinput_count_leds() 1578 struct hid_device *hid = input_get_drvdata(dev); in hidinput_input_event() local 1601 struct hid_device *hid = input_get_drvdata(dev); in hidinput_open() local 1608 struct hid_device *hid = input_get_drvdata(dev); in hidinput_close() local 1694 static void report_features(struct hid_device *hid) in report_features() 1879 struct hid_device *hid = report->device; in hidinput_match() local 1893 struct hid_device *hid = report->device; in hidinput_match_application() local [all …]
|
A D | hid-bigbenff.c | 175 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()
|
A D | hid-lg4ff.c | 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 960 struct hid_device *hid = to_hid_device(dev); in lg4ff_combine_store() local 989 struct hid_device *hid = to_hid_device(dev); in lg4ff_range_show() local 1015 struct hid_device *hid = to_hid_device(dev); in lg4ff_range_store() local 1048 struct hid_device *hid = to_hid_device(dev); in lg4ff_real_id_show() local 1118 struct hid_device *hid = to_hid_device(dev); in lg4ff_led_set_brightness() local 1153 struct hid_device *hid = to_hid_device(dev); in lg4ff_led_get_brightness() local 1254 int lg4ff_init(struct hid_device *hid) in lg4ff_init() [all …]
|
A D | hid-creative-sb0540.c | 119 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()
|
A D | uhid.c | 36 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() 326 static int uhid_hid_output_raw(struct hid_device *hid, __u8 *buf, size_t count, in uhid_hid_output_raw() 364 static int uhid_hid_output_report(struct hid_device *hid, __u8 *buf, in uhid_hid_output_report() [all …]
|
A D | hid-holtekff.c | 76 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()
|
A D | hid-core.c | 703 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 867 static int hid_scan_report(struct hid_device *hid) in hid_scan_report() 964 struct hid_report *hid_validate_values(struct hid_device *hid, in hid_validate_values() 1015 static int hid_calculate_multiplier(struct hid_device *hid, in hid_calculate_multiplier() 1084 static void hid_apply_multiplier(struct hid_device *hid, in hid_apply_multiplier() 1153 void hid_setup_resolution_multiplier(struct hid_device *hid) in hid_setup_resolution_multiplier() 1372 u32 hid_field_extract(const struct hid_device *hid, u8 *report, in hid_field_extract() 1592 static void hid_output_field(const struct hid_device *hid, in hid_output_field() [all …]
|
A D | hid-lg3ff.c | 51 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()
|
A D | hid-mf.c | 36 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()
|
A D | hid-zpff.c | 28 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()
|
A D | hid-sjoy.c | 32 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()
|
A D | hid-steelseries.c | 141 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
|
A D | hid-axff.c | 33 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()
|
/linux/drivers/staging/greybus/ |
A D | hid.c | 22 struct hid_device *hid; member 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() 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() 355 static void gb_hid_close(struct hid_device *hid) in gb_hid_close() 369 static int gb_hid_power(struct hid_device *hid, int lvl) in gb_hid_power() 396 struct hid_device *hid = ghid->hid; in gb_hid_init() local [all …]
|
/linux/include/linux/ |
A D | hiddev.h | 29 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()
|
A D | hidraw.h | 16 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()
|
/linux/drivers/hid/surface-hid/ |
A D | surface_hid_core.c | 81 static int surface_hid_start(struct hid_device *hid) in surface_hid_start() 88 static void surface_hid_stop(struct hid_device *hid) in surface_hid_stop() 96 static int surface_hid_open(struct hid_device *hid) in surface_hid_open() 101 static void surface_hid_close(struct hid_device *hid) in surface_hid_close() 105 static int surface_hid_parse(struct hid_device *hid) in surface_hid_parse() 124 static int surface_hid_raw_request(struct hid_device *hid, unsigned char reportnum, u8 *buf, in surface_hid_raw_request()
|
/linux/drivers/hid/i2c-hid/ |
A D | i2c-hid-core.c | 136 struct hid_device *hid; /* pointer to corresponding HID dev */ member 606 static int i2c_hid_get_raw_report(struct hid_device *hid, in i2c_hid_get_raw_report() 695 static int i2c_hid_parse(struct hid_device *hid) in i2c_hid_parse() 762 static int i2c_hid_start(struct hid_device *hid) in i2c_hid_start() 787 static void i2c_hid_stop(struct hid_device *hid) in i2c_hid_stop() 792 static int i2c_hid_open(struct hid_device *hid) in i2c_hid_open() 801 static void i2c_hid_close(struct hid_device *hid) in i2c_hid_close() 919 struct hid_device *hid; in i2c_hid_core_probe() local 1030 struct hid_device *hid; in i2c_hid_core_remove() local 1062 struct hid_device *hid = ihid->hid; in i2c_hid_core_suspend() local [all …]
|
/linux/net/bluetooth/hidp/ |
A D | core.c | 233 static int hidp_get_raw_report(struct hid_device *hid, in hidp_get_raw_report() 318 static int hidp_set_raw_report(struct hid_device *hid, unsigned char reportnum, in hidp_set_raw_report() 383 static int hidp_output_report(struct hid_device *hid, __u8 *data, size_t count) in hidp_output_report() 392 static int hidp_raw_request(struct hid_device *hid, unsigned char reportnum, in hidp_raw_request() 710 static int hidp_open(struct hid_device *hid) in hidp_open() 715 static void hidp_close(struct hid_device *hid) in hidp_close() 719 static int hidp_parse(struct hid_device *hid) in hidp_parse() 727 static int hidp_start(struct hid_device *hid) in hidp_start() 732 static void hidp_stop(struct hid_device *hid) in hidp_stop() 758 struct hid_device *hid; in hidp_setup_hid() local
|