Lines Matching refs:response
183 struct hidpp_report *response) in hidpp_send_message_sync() argument
189 hidpp->send_receive_buf = response; in hidpp_send_message_sync()
196 *response = *message; in hidpp_send_message_sync()
202 memset(response, 0, sizeof(struct hidpp_report)); in hidpp_send_message_sync()
209 memset(response, 0, sizeof(struct hidpp_report)); in hidpp_send_message_sync()
213 if (response->report_id == REPORT_ID_HIDPP_SHORT && in hidpp_send_message_sync()
214 response->rap.sub_id == HIDPP_ERROR) { in hidpp_send_message_sync()
215 ret = response->rap.params[1]; in hidpp_send_message_sync()
220 if (response->report_id == REPORT_ID_HIDPP_LONG && in hidpp_send_message_sync()
221 response->fap.feature_index == HIDPP20_ERROR) { in hidpp_send_message_sync()
222 ret = response->fap.params[1]; in hidpp_send_message_sync()
235 struct hidpp_report *response) in hidpp_send_fap_command_sync() argument
251 ret = hidpp_send_message_sync(hidpp, message, response); in hidpp_send_fap_command_sync()
258 struct hidpp_report *response) in hidpp_send_rap_command_sync() argument
278 ret = hidpp_send_message_sync(hidpp_dev, message, response); in hidpp_send_rap_command_sync()
353 struct hidpp_report response; in hidpp_get_unifying_name() local
364 params, 1, &response); in hidpp_get_unifying_name()
368 len = response.rap.params[1]; in hidpp_get_unifying_name()
370 if (2 + len > sizeof(response.rap.params)) in hidpp_get_unifying_name()
377 memcpy(name, &response.rap.params[2], len); in hidpp_get_unifying_name()
398 struct hidpp_report response; in hidpp_root_get_feature() local
405 params, 2, &response); in hidpp_root_get_feature()
409 *feature_index = response.fap.params[0]; in hidpp_root_get_feature()
410 *feature_type = response.fap.params[1]; in hidpp_root_get_feature()
417 struct hidpp_report response; in hidpp_root_get_protocol_version() local
423 NULL, 0, &response); in hidpp_root_get_protocol_version()
443 hidpp->protocol_major = response.fap.params[0]; in hidpp_root_get_protocol_version()
444 hidpp->protocol_minor = response.fap.params[1]; in hidpp_root_get_protocol_version()
473 struct hidpp_report response; in hidpp_devicenametype_get_count() local
477 CMD_GET_DEVICE_NAME_TYPE_GET_COUNT, NULL, 0, &response); in hidpp_devicenametype_get_count()
487 *nameLength = response.fap.params[0]; in hidpp_devicenametype_get_count()
495 struct hidpp_report response; in hidpp_devicenametype_get_device_name() local
501 &response); in hidpp_devicenametype_get_device_name()
511 if (response.report_id == REPORT_ID_HIDPP_LONG) in hidpp_devicenametype_get_device_name()
520 device_name[i] = response.fap.params[i]; in hidpp_devicenametype_get_device_name()
588 struct hidpp_report response; in hidpp_touchpad_fw_items_set() local
590 u8 *params = (u8 *)response.fap.params; in hidpp_touchpad_fw_items_set()
593 CMD_TOUCHPAD_FW_ITEMS_SET, &items->state, 1, &response); in hidpp_touchpad_fw_items_set()
658 struct hidpp_report response; in hidpp_touchpad_get_raw_info() local
660 u8 *params = (u8 *)response.fap.params; in hidpp_touchpad_get_raw_info()
663 CMD_TOUCHPAD_GET_RAW_INFO, NULL, 0, &response); in hidpp_touchpad_get_raw_info()
689 struct hidpp_report response; in hidpp_touchpad_set_raw_report_state() local
703 CMD_TOUCHPAD_SET_RAW_REPORT_STATE, ¶ms, 1, &response); in hidpp_touchpad_set_raw_report_state()
1040 struct hidpp_report response; in m560_send_config_command() local
1055 &response in m560_send_config_command()