Lines Matching refs:hidpp_report
109 struct hidpp_report { struct
175 struct hidpp_report *hidpp_report) in __hidpp_send_report() argument
182 switch (hidpp_report->report_id) { in __hidpp_send_report()
200 hidpp_report->device_index = 0xff; in __hidpp_send_report()
203 ret = hid_hw_output_report(hdev, (u8 *)hidpp_report, fields_count); in __hidpp_send_report()
205 ret = hid_hw_raw_request(hdev, hidpp_report->report_id, in __hidpp_send_report()
206 (u8 *)hidpp_report, fields_count, HID_OUTPUT_REPORT, in __hidpp_send_report()
222 struct hidpp_report *message, in hidpp_send_message_sync()
223 struct hidpp_report *response) in hidpp_send_message_sync()
242 memset(response, 0, sizeof(struct hidpp_report)); in hidpp_send_message_sync()
249 memset(response, 0, sizeof(struct hidpp_report)); in hidpp_send_message_sync()
276 struct hidpp_report *response) in hidpp_send_fap_command_sync()
278 struct hidpp_report *message; in hidpp_send_fap_command_sync()
284 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL); in hidpp_send_fap_command_sync()
303 struct hidpp_report *response) in hidpp_send_rap_command_sync()
305 struct hidpp_report *message; in hidpp_send_rap_command_sync()
325 message = kzalloc(sizeof(struct hidpp_report), GFP_KERNEL); in hidpp_send_rap_command_sync()
345 static inline bool hidpp_match_answer(struct hidpp_report *question, in hidpp_match_answer()
346 struct hidpp_report *answer) in hidpp_match_answer()
352 static inline bool hidpp_match_error(struct hidpp_report *question, in hidpp_match_error()
353 struct hidpp_report *answer) in hidpp_match_error()
361 static inline bool hidpp_report_is_connect_event(struct hidpp_report *report) in hidpp_report_is_connect_event()
407 struct hidpp_report response; in hidpp10_enable_battery_reporting()
493 struct hidpp_report response; in hidpp10_query_battery_status()
545 struct hidpp_report response; in hidpp10_query_battery_mileage()
568 struct hidpp_report *report = (struct hidpp_report *)data; in hidpp10_battery_event()
614 struct hidpp_report response; in hidpp_unifying_get_name()
647 struct hidpp_report response; in hidpp_unifying_get_serial()
706 struct hidpp_report response; in hidpp_root_get_feature()
728 struct hidpp_report response; in hidpp_root_get_protocol_version()
784 struct hidpp_report response; in hidpp_devicenametype_get_count()
806 struct hidpp_report response; in hidpp_devicenametype_get_device_name()
961 struct hidpp_report response; in hidpp20_batterylevel_get_battery_capacity()
986 struct hidpp_report response; in hidpp20_batterylevel_get_battery_info()
1053 struct hidpp_report *report = (struct hidpp_report *)data; in hidpp20_battery_event()
1153 struct hidpp_report response; in hidpp_solar_request_battery_event()
1187 struct hidpp_report *report = (struct hidpp_report *)data; in hidpp_solar_battery_event()
1257 struct hidpp_report response; in hidpp_touchpad_fw_items_set()
1327 struct hidpp_report response; in hidpp_touchpad_get_raw_info()
1358 struct hidpp_report response; in hidpp_touchpad_set_raw_report_state()
1520 struct hidpp_report response; in hidpp_ff_work_handler()
1862 struct hidpp_report response; in hidpp_ff_init()
2139 struct hidpp_report *report = (struct hidpp_report *)data; in wtp_raw_event()
2290 struct hidpp_report response; in m560_send_config_command()
2591 struct hidpp_report *question = hidpp->send_receive_buf; in hidpp_raw_hidpp_event()
2592 struct hidpp_report *answer = hidpp->send_receive_buf; in hidpp_raw_hidpp_event()
2593 struct hidpp_report *report = (struct hidpp_report *)data; in hidpp_raw_hidpp_event()