Lines Matching refs:hid_device
84 struct hid_report *hid_register_report(struct hid_device *device, in hid_register_report()
708 static void hid_close_report(struct hid_device *device) in hid_close_report()
744 static inline void hid_free_bpf_rdesc(struct hid_device *hdev) in hid_free_bpf_rdesc()
758 struct hid_device *hid = container_of(ref, struct hid_device, ref); in hiddev_free()
768 struct hid_device *hid = to_hid_device(dev); in hid_device_release()
836 struct hid_device *hid = parser->device; in hid_scan_input_usage()
855 struct hid_device *hid = parser->device; in hid_scan_collection()
925 static int hid_scan_report(struct hid_device *hid) in hid_scan_report()
995 int hid_parse_report(struct hid_device *hid, const __u8 *start, unsigned size) in hid_parse_report()
1022 struct hid_report *hid_validate_values(struct hid_device *hid, in hid_validate_values()
1073 static int hid_calculate_multiplier(struct hid_device *hid, in hid_calculate_multiplier()
1112 static void hid_apply_multiplier_to_field(struct hid_device *hid, in hid_apply_multiplier_to_field()
1142 static void hid_apply_multiplier(struct hid_device *hid, in hid_apply_multiplier()
1213 void hid_setup_resolution_multiplier(struct hid_device *hid) in hid_setup_resolution_multiplier()
1250 int hid_open_report(struct hid_device *device) in hid_open_report()
1407 u32 hid_field_extract(const struct hid_device *hid, u8 *report, in hid_field_extract()
1453 static void implement(const struct hid_device *hid, u8 *report, in implement()
1495 static int hid_match_report(struct hid_device *hid, struct hid_report *report) in hid_match_report()
1518 static int hid_match_usage(struct hid_device *hid, struct hid_usage *usage) in hid_match_usage()
1536 static void hid_process_event(struct hid_device *hid, struct hid_field *field, in hid_process_event()
1583 static void hid_input_fetch_field(struct hid_device *hid, in hid_input_fetch_field()
1619 static void hid_input_var_field(struct hid_device *hid, in hid_input_var_field()
1642 static void hid_input_array_field(struct hid_device *hid, in hid_input_array_field()
1683 static void hid_process_report(struct hid_device *hid, in hid_process_report()
1741 static void __hid_insert_field_entry(struct hid_device *hid, in __hid_insert_field_entry()
1771 static void hid_report_process_ordering(struct hid_device *hid, in hid_report_process_ordering()
1822 static void hid_process_ordering(struct hid_device *hid) in hid_process_ordering()
1835 static void hid_output_field(const struct hid_device *hid, in hid_output_field()
1934 struct hid_field *hid_find_field(struct hid_device *hdev, unsigned int report_type, in hid_find_field()
1980 int __hid_request(struct hid_device *hid, struct hid_report *report, in __hid_request()
2020 int hid_report_raw_event(struct hid_device *hid, enum hid_report_type type, u8 *data, u32 size, in hid_report_raw_event()
2079 static int __hid_input_report(struct hid_device *hid, enum hid_report_type type, in __hid_input_report()
2154 int hid_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data, u32 size, in hid_input_report()
2163 bool hid_match_one_id(const struct hid_device *hdev, in hid_match_one_id()
2172 const struct hid_device_id *hid_match_id(const struct hid_device *hdev, in hid_match_id()
2189 static bool hid_hiddev(struct hid_device *hdev) in hid_hiddev()
2201 struct hid_device *hdev = to_hid_device(dev); in report_descriptor_read()
2218 struct hid_device *hdev = to_hid_device(dev); in country_show()
2227 int hid_connect(struct hid_device *hdev, unsigned int connect_mask) in hid_connect()
2337 void hid_disconnect(struct hid_device *hdev) in hid_disconnect()
2361 int hid_hw_start(struct hid_device *hdev, unsigned int connect_mask) in hid_hw_start()
2388 void hid_hw_stop(struct hid_device *hdev) in hid_hw_stop()
2403 int hid_hw_open(struct hid_device *hdev) in hid_hw_open()
2434 void hid_hw_close(struct hid_device *hdev) in hid_hw_close()
2454 void hid_hw_request(struct hid_device *hdev, in hid_hw_request()
2464 int __hid_hw_raw_request(struct hid_device *hdev, in __hid_hw_raw_request()
2502 int hid_hw_raw_request(struct hid_device *hdev, in hid_hw_raw_request()
2510 int __hid_hw_output_report(struct hid_device *hdev, __u8 *buf, size_t len, u64 source, in __hid_hw_output_report()
2541 int hid_hw_output_report(struct hid_device *hdev, __u8 *buf, size_t len) in hid_hw_output_report()
2548 int hid_driver_suspend(struct hid_device *hdev, pm_message_t state) in hid_driver_suspend()
2557 int hid_driver_reset_resume(struct hid_device *hdev) in hid_driver_reset_resume()
2566 int hid_driver_resume(struct hid_device *hdev) in hid_driver_resume()
2642 const struct hid_device_id *hid_match_device(struct hid_device *hdev, in hid_match_device()
2663 struct hid_device *hdev = to_hid_device(dev); in hid_bus_match()
2678 bool hid_compare_device_paths(struct hid_device *hdev_a, in hid_compare_device_paths()
2679 struct hid_device *hdev_b, char separator) in hid_compare_device_paths()
2691 static bool hid_check_device_match(struct hid_device *hdev, in hid_check_device_match()
2711 static int __hid_device_probe(struct hid_device *hdev, struct hid_driver *hdrv) in __hid_device_probe()
2766 struct hid_device *hdev = to_hid_device(dev); in hid_device_probe()
2787 struct hid_device *hdev = to_hid_device(dev); in hid_device_remove()
2814 struct hid_device *hdev = container_of(dev, struct hid_device, dev); in modalias_show()
2837 const struct hid_device *hdev = to_hid_device(dev); in hid_uevent()
2870 int hid_add_device(struct hid_device *hdev) in hid_add_device()
2942 struct hid_device *hid_allocate_device(void) in hid_allocate_device()
2944 struct hid_device *hdev; in hid_allocate_device()
2977 static void hid_remove_device(struct hid_device *hdev) in hid_remove_device()
2999 void hid_destroy_device(struct hid_device *hdev) in hid_destroy_device()
3011 struct hid_device *hdev = to_hid_device(dev); in __hid_bus_reprobe_drivers()
3070 int hid_check_keys_pressed(struct hid_device *hid) in hid_check_keys_pressed()